linux编译开源软件xapian遇到问题

农村的我 2017-09-22 06:47:24
开源网址:https://xapian.org/download

编译时遇到如下问题:



config.log信息为:
...全文
275 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
幽饮烛 2017-09-25
  • 打赏
  • 举报
回复
gcc: installation problem, cannot exec 'as': No such file or directory 只装了 gcc 没装 binutils ? 建议文件夹名字不要有中文。
Hello Worm 2017-09-23
  • 打赏
  • 举报
回复
你好歹在main()随便加个语句进去吧
农村的我 2017-09-22
  • 打赏
  • 举报
回复
configure:4016: $? = 0 configure:4005: gcc -v >&5 Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --infodir=/share/info --mandir=/share/man --libexecdir=/lib --enable-languages=c,c++ --disable-nls --enable-threads=posix --enable-sjlj-exceptions --enable-hash-synchronization --enable-libstdcxx-debug --with-newlib Thread model: posix gcc version 3.4.4 (msys special) configure:4016: $? = 0 configure:4005: gcc -V >&5 gcc: `-V' option must have argument configure:4016: $? = 1 configure:4005: gcc -qversion >&5 gcc: unrecognized option `-qversion' gcc: no input files configure:4016: $? = 1 configure:4036: checking whether the C compiler works configure:4058: gcc conftest.c >&5 gcc: installation problem, cannot exec 'as': No such file or directory configure:4062: $? = 1 configure:4100: result: no configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "xapian-core" | #define PACKAGE_TARNAME "xapian-core" | #define PACKAGE_VERSION "1.2.24" | #define PACKAGE_STRING "xapian-core 1.2.24" | #define PACKAGE_BUGREPORT "https://xapian.org/bugs" | #define PACKAGE_URL "" | #define PACKAGE "xapian-core" | #define VERSION "1.2.24" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:4105: error: in `/cygdrive/e/学习文档/code/xapian-core-1.2.24/xapian-core-1.2.24/BUILD': configure:4107: error: C compiler cannot create executables See `config.log' for more details

23,120

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 应用程序开发区
社区管理员
  • 应用程序开发区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧