Обсуждение: Assistance needed (locale)
Hi postgresql-cygwin users, I installed cygwin and postgresql on w2k and xp and everything works as inspected. But the executable postgresql does not support locale (for the german language), so I tried to make it from source. Here starts the trouble: with ./configure I get: using CFLAGS=-O2 checking whether the C compiler (gcc -O2 ) works... no if I comment the test out (in config) the next errors are: 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: #line 1372 "configure" #include "confdefs.h" so if anybody has a working postgresql-binary-tar with locale-enabled it will be of great help for me. thanks in advance Kasimir Müller mailto:Kasimir.Mueller@gmx.de
Kasimir, On Sat, Nov 23, 2002 at 11:48:50AM +0100, Kasimir Müller wrote: > with ./configure I get: > using CFLAGS=-O2 > checking whether the C compiler (gcc -O2 ) works... no Check config.log to see why the above fails -- you won't get too far if gcc does not work. > if I comment the test out (in config) the > next errors are: > 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: See the following on how to solve the above: http://cygwin.com/ml/cygwin/2002-11/msg01239.html > so if anybody has a working postgresql-binary-tar with locale-enabled > it will be of great help for me. Note that Cygwin does not fully support locale -- patches gratefully accepted. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Hi Jason, I applied the patch for gcc3.2, as you proposed, it run without errors. configure runs now without errors. $ CC=gcc-2 LDFLAGS=-L/usr/local/lib configure make still produces the known errors with ipc: ipc.c: In function 'InternalIpcSemaphoreCreate': ipc.c:271: warning: implicit declaration of function `semget' ipc.c:271: `IPC_CREAT' undeclared (first use in this function) ipc.c:271: (Each undeclared identifier is reported only once ipc.c:271: for each function it appears in.) thanks for your help, By the way I need the locale to run a copy of laboratory-database on my laptop, which is created with locale. -- Mit freundlichen Grüssen Kasimir Müller mailto:Kasimir.Mueller@gmx.de
Kasimir, On Sat, Nov 23, 2002 at 08:33:39PM +0100, Kasimir Müller wrote: > $ CC=gcc-2 LDFLAGS=-L/usr/local/lib configure > > make still produces the known errors with ipc: > ipc.c: In function 'InternalIpcSemaphoreCreate': > ipc.c:271: warning: implicit declaration of function `semget' > ipc.c:271: `IPC_CREAT' undeclared (first use in this function) > ipc.c:271: (Each undeclared identifier is reported only once > ipc.c:271: for each function it appears in.) Sorry, but I don't get the above error. If it is important to you, then you will have to debug further yourself. Otherwise, just use your gcc3.2 build. > thanks for your help, You are welcome. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
Hi Jason, I started everything vom scratch and it worked, but only then I came to know that cygwin does not support locale. So everything was in vain. -- Mit freundlichen Grüssen Kasimir Müller mailto:Kasimir.Mueller@gmx.de
Kasimir, On Sat, Nov 30, 2002 at 05:09:14PM +0100, Kasimir Müller wrote: > I started everything vom scratch and it worked, but only then I came > to know that cygwin does not support locale. So everything was in > vain. Sorry, but I *did* try to warn you: On Sat, Nov 23, 2002 at 09:54:47AM -0500, Jason Tishler wrote: > Note that Cygwin does not fully support locale -- patches gratefully > accepted. Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6