|
发表于 2005-10-19 13:08:33
|
显示全部楼层
刚才下载了,可是 ./configure时出了个问题,我对这些不怎么懂,将过程贴出来吧:
- # ./configure
- checking for a BSD-compatible install... /usr/bin/install -c
- checking whether build environment is sane... yes
- checking whether make sets $(MAKE)... yes
- checking for working aclocal-1.4... missing
- checking for working autoconf... missing
- checking for working automake-1.4... missing
- checking for working autoheader... missing
- checking for working makeinfo... missing
- checking for gcc... gcc
- checking for C compiler default output file name... configure: error: C compiler cannot create executables
- See `config.log' for more details.
复制代码
下面是config.log文件内容:
- This file contains any messages produced by compilers while
- running configure, to aid debugging if configure makes a mistake.
- It was created by src/phc.c configure 1.1, which was
- generated by GNU Autoconf 2.59. Invocation command line was
- $ ./configure
- ## --------- ##
- ## Platform. ##
- ## --------- ##
- hostname = YQ.SCU
- uname -m = i686
- uname -r = 2.6.8-2-k7
- uname -s = Linux
- uname -v = #1 Thu May 19 18:03:29 JST 2005
- /usr/bin/uname -p = unknown
- /bin/uname -X = unknown
- /bin/arch = i686
- /usr/bin/arch -k = unknown
- /usr/convex/getsysinfo = unknown
- hostinfo = unknown
- /bin/machine = unknown
- /usr/bin/oslevel = unknown
- /bin/universe = unknown
- PATH: /usr/local/sbin
- PATH: /usr/local/bin
- PATH: /usr/sbin
- PATH: /usr/bin
- PATH: /sbin
- PATH: /bin
- PATH: /usr/bin/X11
- ## ----------- ##
- ## Core tests. ##
- ## ----------- ##
- configure:1347: checking for a BSD-compatible install
- configure:1402: result: /usr/bin/install -c
- configure:1413: checking whether build environment is sane
- configure:1456: result: yes
- configure:1471: checking whether make sets $(MAKE)
- configure:1491: result: yes
- configure:1523: checking for working aclocal-1.4
- configure:1534: result: missing
- configure:1538: checking for working autoconf
- configure:1549: result: missing
- configure:1553: checking for working automake-1.4
- configure:1564: result: missing
- configure:1568: checking for working autoheader
- configure:1579: result: missing
- configure:1583: checking for working makeinfo
- configure:1594: result: missing
- configure:1647: checking for gcc
- configure:1663: found /usr/bin/gcc
- configure:1673: result: gcc
- configure:1917: checking for C compiler version
- configure:1920: gcc --version </dev/null >&5
- gcc (GCC) 4.0.2 (Debian 4.0.2-2)
- Copyright (C) 2005 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- configure:1923: $? = 0
- configure:1925: gcc -v </dev/null >&5
- Using built-in specs.
- Target: i486-linux-gnu
- Configured with: ../src/configure -v --enable-languages=c,c++,java,f95,objc,ada,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.0 --enable-__cxa_atexit --enable-libstdcxx-allocator=mt --enable-clocale=gnu --enable-libstdcxx-debug --enable-java-gc=boehm --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-4.0-1.4.2.0/jre --enable-mpfr --disable-werror --enable-checking=release i486-linux-gnu
- Thread model: posix
- gcc version 4.0.2 (Debian 4.0.2-2)
- configure:1928: $? = 0
- configure:1930: gcc -V </dev/null >&5
- gcc: '-V' option must have argument
- configure:1933: $? = 1
- configure:1956: checking for C compiler default output file name
- configure:1959: gcc conftest.c >&5
- /usr/bin/ld: crt1.o: No such file: No such file or directory
- collect2: ld returned 1 exit status
- configure:1962: $? = 1
- configure: failed program was:
- | /* confdefs.h. */
- |
- | #define PACKAGE_NAME "src/phc.c"
- | #define PACKAGE_TARNAME "src-phc-c"
- | #define PACKAGE_VERSION "1.1"
- | #define PACKAGE_STRING "src/phc.c 1.1"
- | #define PACKAGE_BUGREPORT ""
- | #define PACKAGE "phc"
- | #define VERSION "1.1"
- | /* end confdefs.h. */
- |
- | int
- | main ()
- | {
- |
- | ;
- | return 0;
- | }
- configure:2001: error: C compiler cannot create executables
- See `config.log' for more details.
- ## ---------------- ##
- ## Cache variables. ##
- ## ---------------- ##
- ac_cv_env_CC_set=
- ac_cv_env_CC_value=
- ac_cv_env_CFLAGS_set=
- ac_cv_env_CFLAGS_value=
- ac_cv_env_CPPFLAGS_set=
- ac_cv_env_CPPFLAGS_value=
- ac_cv_env_CPP_set=
- ac_cv_env_CPP_value=
- ac_cv_env_LDFLAGS_set=
- ac_cv_env_LDFLAGS_value=
- ac_cv_env_build_alias_set=
- ac_cv_env_build_alias_value=
- ac_cv_env_host_alias_set=
- ac_cv_env_host_alias_value=
- ac_cv_env_target_alias_set=
- ac_cv_env_target_alias_value=
- ac_cv_path_install='/usr/bin/install -c'
- ac_cv_prog_ac_ct_CC=gcc
- ac_cv_prog_make_make_set=yes
- ## ----------------- ##
- ## Output variables. ##
- ## ----------------- ##
- ACLOCAL='/mnt/data/ftp/software/phc-1.1/missing aclocal-1.4'
- AUTOCONF='/mnt/data/ftp/software/phc-1.1/missing autoconf'
- AUTOHEADER='/mnt/data/ftp/software/phc-1.1/missing autoheader'
- AUTOMAKE='/mnt/data/ftp/software/phc-1.1/missing automake-1.4'
- CC='gcc'
- CFLAGS=''
- CPP=''
- CPPFLAGS=''
- DEFS=''
- ECHO_C=''
- ECHO_N='-n'
- ECHO_T=''
- EGREP=''
- EXEEXT=''
- INSTALL_DATA='${INSTALL} -m 644'
- INSTALL_PROGRAM='${INSTALL}'
- INSTALL_SCRIPT='${INSTALL}'
- LDFLAGS=''
- LIBOBJS=''
- LIBS=''
- LTLIBOBJS=''
- MAKEINFO='/mnt/data/ftp/software/phc-1.1/missing makeinfo'
- OBJEXT=''
- PACKAGE='phc'
- PACKAGE_BUGREPORT=''
- PACKAGE_NAME='src/phc.c'
- PACKAGE_STRING='src/phc.c 1.1'
- PACKAGE_TARNAME='src-phc-c'
- PACKAGE_VERSION='1.1'
- PATH_SEPARATOR=':'
- PTHREAD_CC=''
- PTHREAD_CFLAGS=''
- PTHREAD_LIBS=''
- SET_MAKE=''
- SHELL='/bin/sh'
- VERSION='1.1'
- ac_ct_CC='gcc'
- acx_pthread_config=''
- bindir='${exec_prefix}/bin'
- build=''
- build_alias=''
- build_cpu=''
- build_os=''
- build_vendor=''
- datadir='${prefix}/share'
- exec_prefix='NONE'
- host=''
- host_alias=''
- host_cpu=''
- host_os=''
- host_vendor=''
- includedir='${prefix}/include'
- infodir='${prefix}/info'
- libdir='${exec_prefix}/lib'
- libexecdir='${exec_prefix}/libexec'
- localstatedir='${prefix}/var'
- mandir='${prefix}/man'
- oldincludedir='/usr/include'
- prefix='NONE'
- program_transform_name='s,x,x,'
- sbindir='${exec_prefix}/sbin'
- sharedstatedir='${prefix}/com'
- sysconfdir='${prefix}/etc'
- target_alias=''
- ## ----------- ##
- ## confdefs.h. ##
- ## ----------- ##
- #define PACKAGE "phc"
- #define PACKAGE_BUGREPORT ""
- #define PACKAGE_NAME "src/phc.c"
- #define PACKAGE_STRING "src/phc.c 1.1"
- #define PACKAGE_TARNAME "src-phc-c"
- #define PACKAGE_VERSION "1.1"
- #define VERSION "1.1"
- configure: exit 77
复制代码 |
|