logo       

Re: SWI Installation: msg#01573

Subject: Re: SWI Installation
cc --version:
cc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

gcc --version:
the same output

--------------------------------------------
Here ist the config.log from the src directory:

This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.57. Invocation command line was $ ./configure ## --------- ## ## Platform. ## ## --------- ## hostname = kubuntu uname -m = i686 uname -r = 2.6.12-10-386 uname -s = Linux uname -v = #1 Fri Nov 18 11:51:02 UTC 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:1319: checking builddir configure:1325: result: src configure:1380: checking for gcc configure:1396: found /usr/bin/gcc configure:1406: result: gcc configure:1650: checking for C compiler version configure:1653: gcc --version </dev/null >&5 gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) 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:1656: $? = 0 configure:1658: 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 --with-gxx-include-dir=/usr/include/c++/4.0.2 --enable-shared --with-system-zlib --libexecdir=/usr/lib --enable-nls --without-included-gettext --enable-threads=posix --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 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9) configure:1661: $? = 0 configure:1663: gcc -V </dev/null >&5 gcc: '-V' option must have argument configure:1666: $? = 1 configure:1690: checking for C compiler default output configure:1693: gcc conftest.c >&5 /usr/bin/ld: crt1.o: No such file: No such file or directory collect2: ld returned 1 exit status configure:1696: $? = 1 configure: failed program was: | #line 1669 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:1735: 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_prog_ac_ct_CC=gcc ## ----------------- ## ## Output variables. ## ## ----------------- ## ALLOCA='' AR='' ARCH='' AWK='' BOOTFILE='' BUILDDIR='src' CC='gcc' CFLAGS='' CIFLAGS='' CMFLAGS='' CNFG='' COFLAGS='' COUTOPT='' CPP='' CPPFLAGS='' CWFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' ETAGS='' EXEEXT='' EXTRAHDR='' EXTRAOBJ='' INSTALLTARGET='dv-install' INSTALL_DATA='' INSTALL_PROGRAM='' INSTALL_SCRIPT='' LDEXE='' LDFLAGS='' LIBOBJS='' LIBS='' LNLIBS='' LTLIBOBJS='' MAKE='' MKDIR='' MKLIBS='staticlib' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PL='pl' PLBASE='NONE/lib/pl-5.4.7' PLLIB='libpl.a' PLSHARED='' PLSO='' PLVERSION='5.4.7' RANLIB='' RT='' SHELL='/bin/sh' SO='' USEPLLIB='' VPATH='' ac_ct_CC='gcc' ac_ct_RANLIB='' 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_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 77


Sry, for the long mail. Thanks.

analyzer

Matt Lilley schrieb:

I noticed this as well - I was going to respond to the first question but I couldn't find any logs.
What output do you get if you run the command:
cc --version
at a prompt? How about
gcc --version
?

Regards,
Matt

There is no config.log. Which copiler do you recommend?

Thanks.

analyzer

------------
For further info, please visit http://www.swi-prolog.org/

To unsubscribe, send a plaintext mail with "unsubscribe prolog <e-mail>"
in its body to majordomo@xxxxxxxxxxxxxx







<Prev in Thread] Current Thread [Next in Thread>