|
- makepkg -si
- ==> 正在创建软件包:package-query 0.8.1-1 (2011年 09月 02日 星期五 22:29:32 HKT)
- ==> 正在检查运行时依赖关系...
- ==> 正在检查编译时依赖关系
- ==> 获取源代码...
- -> 找到 package-query-0.8.1.tar.gz
- ==> 正在验证源代码文件 md5sums...
- package-query-0.8.1.tar.gz ... 通过
- ==> 解压缩源码...
- -> 正在解压缩 package-query-0.8.1.tar.gz,使用 bsdtar
- ==> 正在删除现有的 pkg/ 目录...
- ==> 正在开始 build()...
- checking for a BSD-compatible install... /bin/install -c
- checking whether build environment is sane... yes
- checking for a thread-safe mkdir -p... /bin/mkdir -p
- checking for gawk... gawk
- checking whether make sets $(MAKE)... yes
- checking for gcc... gcc
- checking whether the C compiler works... no
- configure: error: in `/home/chenss/Downloads/package-query/src/package-query-0.8.1':
- configure: error: C compiler cannot create executables
- See `config.log' for more details
- ==> 错误: 在 build() 中发生一个错误。
- 正在放弃...
复制代码
不知什么问题,GCC已经装了
- gcc -v
- 使用内建 specs。
- COLLECT_GCC=gcc
- COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-unknown-linux-gnu/4.6.1/lto-wrapper
- 目标:x86_64-unknown-linux-gnu
- 配置为:/build/src/gcc-4.6-20110819/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --disable-libstdcxx-pch --enable-checking=release
- 线程模型:posix
- gcc 版本 4.6.1 20110819 (prerelease) (GCC)
复制代码- uname -a
- Linux arch64 3.0-ARCH #1 SMP PREEMPT Wed Aug 17 21:55:57 CEST 2011 x86_64 Intel(R) Core(TM) i5-2300 CPU @ 2.80GHz GenuineIntel GNU/Linux
复制代码 |
|