13. januar 2006 - 14:25Der er
6 kommentarer og 1 løsning
postgresql-8.1.2 på debian 3.1
Hej
Jeg skal installere PostgreSQL 8.1 på min Debian server, men der kommer denne fejl?
------------------------------------------ 38236:~/download/postgresql-8.1.2# ./configure checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking which template to use... linux checking whether to build with 64-bit integer date/time support... no checking whether NLS is wanted... no checking for default port number... 5432 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. 38236:~/download/postgresql-8.1.2# ------------------------------------------
Jeg kan ikke lige se hvad jeg skal gør, jeg har set i `config.log' men ved ikke lige havd jeg skal gøre?
configure:2075: checking for C compiler version configure:2078: gcc --version </dev/null >&5 gcc (GCC) 3.3.5 (Debian 1:3.3.5-13) Copyright (C) 2003 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:2081: $? = 0 configure:2083: gcc -v </dev/null >&5 Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.5/specs Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --enable-__cxa_atexit --with-system-zlib --enable-nls --without-included-gettext --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux Thread model: posix gcc version 3.3.5 (Debian 1:3.3.5-13) configure:2086: $? = 0 configure:2088: gcc -V </dev/null >&5 gcc: `-V' option must have argument configure:2091: $? = 1 configure:2114: checking for C compiler default output file name configure:2117: gcc 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.2" | #define PACKAGE_STRING "PostgreSQL 8.1.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PG_VERSION "8.1.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | /* end confdefs.h. */ | | #define PACKAGE_NAME "PostgreSQL" | #define PACKAGE_TARNAME "postgresql" | #define PACKAGE_VERSION "8.1.2" | #define PACKAGE_STRING "PostgreSQL 8.1.2" | #define PACKAGE_BUGREPORT "pgsql-bugs@postgresql.org" | #define PG_VERSION "8.1.2" | #define DEF_PGPORT 5432 | #define DEF_PGPORT_STR "5432" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2159: error: C compiler cannot create executables See `config.log' for more details. --------------------------------
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.