hi all,
I downloaded postgresql-base-8.1.3 and tried to compile that on Ubuntu 5.10. When I run "./configure" I get the
followingerror:
configure:2081: $? = 0
configure:2083: /usr/bin/g++ -v &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:2086: $? = 0
configure:2088: /usr/bin/g++ -V &5
g++: '-V' option must have argument
configure:2091: $? = 1
configure:2114: checking for C compiler default output file name
configure:2117: /usr/bin/g++ conftest.c >&5
/usr/bin/ld: crt1.o: No such file: No such file or directory
collect2: ld returned 1 exit status
configure:2120: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "PostgreSQL"
| #define PACKAGE_TARNAME "postgresql"
| #define PACKAGE_VERSION "8.1.3"
| #define PACKAGE_STRING "PostgreSQL 8.1.3"
| #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org"
| #define PG_VERSION "8.1.3"
| #define DEF_PGPORT 5432
| #define DEF_PGPORT_STR "5432"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2159: error: C compiler cannot create executables
I tried that with ./configure CC=/usr/bin/gcc (v4.0.2) as shown above and ./configure CC=/usr/bin/gpp (v2.24). glibc is
v2.3.5for Ubuntu ("/lib/libc-2.3.5.so").
the file "crt1.o" doesn't exist anywhere else on my machine either. Any guesses?
thanx, Nils
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193