Re: Problem configuring Postgres under Cygwin
От | Jason Tishler |
---|---|
Тема | Re: Problem configuring Postgres under Cygwin |
Дата | |
Msg-id | 20021031160630.GA1588@tishler.net обсуждение исходный текст |
Ответ на | Problem configuring Postgres under Cygwin (Kjell-Olav Bjerknes <kob@norkart.no>) |
Ответы |
Re: Problem configuring Postgres under Cygwin
|
Список | pgsql-cygwin |
Kjell-Olav, On Thu, Oct 31, 2002 at 04:11:47PM +0100, Kjell-Olav Bjerknes wrote: > And get this output on screen: > [snip] > configure: error: installation or configuration problem: C compiler cannot create executables. > [snip] > > The config.log shows this: > > [snip] > configure:1361: checking whether the C compiler (gcc -O2 ) works > configure:1377: gcc -o conftest -O2 conftest.c -lcygipc 1>&5 > /usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld: cannot find -lcygipc > collect2: ld returned 1 exit status > configure: failed program was: The above implies that either libcygipc.a is not installed (in the normal place) on your system or that the default library search path has changed in the gcc 3.x package. Please perform the following and report back to the list: $ ls -l /usr/local/lib/libcygipc.a -rwxrwxrwx 1 Administ Domain U 26912 Nov 26 2001 /usr/local/lib/libcygipc.a $ echo 'main(){return(0);}' >conftest.c $ gcc -v -o conftest conftest.c -lcygipc Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/specs gcc version 2.95.3-5 (cygwin special) [snip] /usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5/collect2.exe -Bdynamic --dll-search-prefix=cyg -o conftest.exe /usr/lib/crt0.o-L/usr/local/lib -L/usr/lib -L/usr/lib/w32api -L/usr/lib/gcc-lib/i686-pc-cygwin/2.95.3-5 /mnt/c/DOCUME~1/jatis/LOCALS~1/Temp/cchqAaau.o-lcygipc -lgcc -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 -lgcc Note that I'm still using the gcc 2.95.3-5 package and with this package "-L/usr/local/lib" is automatically passed during linking. Maybe this is not the case in the gcc 3.x package? Jason
В списке pgsql-cygwin по дате отправления: