AIX 52 和 AIX 53 操作系统上的 apr-util 配置问题
我正在尝试在 AIX 上构建 apr-util subversion 依赖库。配置错误显示“配置:错误:C 编译器无法创建可执行文件。有关更多详细信息,请参阅“config.log”。” 我不确定 config.log 最终说的配置标志中缺少什么
configure:3064: checking for C compiler default output file name
configure:3086: /usr/bin/xlc -L/u/developers/devsys/Subversion/build/AIX35/lib: conftest.c /u/developers/devsys/Subversion/build/AIX35/lib: >&5
/usr/bin/xlc: 1501-228 input file /u/developers/devsys/Subversion/build/AIX35/lib: not found
配置语句是这样的:
./configure --build=powerpc-ibm-aix5.3.0.0 --host=powerpc-ibm-aix5.3.0.0
--target=powerpc-ibm-aix5.3.0.0 --prefix=/u/developers/devsys/Subversion/build/AIX35
--exec-prefix=/u/developers/devsys/Subversion/build/AIX35
--with-apr=/u/developers/devsys/Subversion/build/AIX35 --with-berkeley-db
--with-sqlite3=/u/developers/devsys/Subversion/build/AIX35
--with-expat=/u/developers/devsys/Subversion/build/AIX35
在 config.log 中观察到的另一件事是在此错误之前还有另一个错误,该错误表示
configure:3015: /usr/bin/xlc --version >&5
/usr/bin/xlc: 1501-216 command option --version is not recognized - passed to ld
任何帮助将不胜感激。
I am trying to build apr-util subversion dependency library on AIX. Configure errors out saying "configure: error: C compiler cannot create executables. See `config.log' for more details."
I am not sure what am i missing in configuration flags that the config.log ends up saying
configure:3064: checking for C compiler default output file name
configure:3086: /usr/bin/xlc -L/u/developers/devsys/Subversion/build/AIX35/lib: conftest.c /u/developers/devsys/Subversion/build/AIX35/lib: >&5
/usr/bin/xlc: 1501-228 input file /u/developers/devsys/Subversion/build/AIX35/lib: not found
The configure statement is like this:
./configure --build=powerpc-ibm-aix5.3.0.0 --host=powerpc-ibm-aix5.3.0.0
--target=powerpc-ibm-aix5.3.0.0 --prefix=/u/developers/devsys/Subversion/build/AIX35
--exec-prefix=/u/developers/devsys/Subversion/build/AIX35
--with-apr=/u/developers/devsys/Subversion/build/AIX35 --with-berkeley-db
--with-sqlite3=/u/developers/devsys/Subversion/build/AIX35
--with-expat=/u/developers/devsys/Subversion/build/AIX35
One more thing observed in config.log is before this error there is another error which says
configure:3015: /usr/bin/xlc --version >&5
/usr/bin/xlc: 1501-216 command option --version is not recognized - passed to ld
Any help would be really appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
configure
脚本预计会遇到很多错误(因为它正在测试系统工具),因此致命错误之前的错误可能不是问题。The
configure
script is expected to encounter a lot of errors (because it's testing the system tools), so errors previous to the fatal one are probably not a problem.