无法创建安装 IT++、ACML 的可执行文件

发布于 2024-11-12 23:19:04 字数 1004 浏览 9 评论 0原文

我想使用 ACML 安装 IT++

我首先安装了 ACML,然后执行了以下操作: 导出 LDFLAGS=$LDFLAGS:"-L/opt/acml4.4.0/ifort32/lib" export CPPFLAGS=$CPPFLAGS:"-I/opt/acml4.4.0/ifort32/include"

以便 IT++ 在配置自身时能够找到它。

NExt 我转到 IT++ 目录并输入“./configure”,

然后出现以下错误:

    checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

我转到 config.log,下面给出了有趣的行:

    lib conftest.cpp  >&5
g++: :-I/opt/acml4.4.0/ifort32_mp/include: No such file or directory
g++: :-L/opt/acml4.4.0/ifort32_mp/lib: No such file or directory
configure:2836: $? = 1

为什么要这样做?

I want to install IT++ with ACML

I first installed ACML and then did:
export LDFLAGS=$LDFLAGS:"-L/opt/acml4.4.0/ifort32/lib"
export CPPFLAGS=$CPPFLAGS:"-I/opt/acml4.4.0/ifort32/include"

So that IT++ can find it when it configures itself.

NExt I went to the IT++ directory and typed "./configure"

then I get the following error:

    checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for g++... g++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.

I went to the config.log and the interesting lines are given below:

    lib conftest.cpp  >&5
g++: :-I/opt/acml4.4.0/ifort32_mp/include: No such file or directory
g++: :-L/opt/acml4.4.0/ifort32_mp/lib: No such file or directory
configure:2836: $? = 1

Why is it doing this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文