Re: Anyone has nls activated on Mac OS X? - Mailing list pgsql-general

From Francois Suter
Subject Re: Anyone has nls activated on Mac OS X?
Date
Msg-id 7566C564-5717-11D8-B488-000393427520@paragraf.ch
Whole thread Raw
In response to Anyone has nls activated on Mac OS X?  (Francois Suter <dba@paragraf.ch>)
Responses Re: Anyone has nls activated on Mac OS X?
Re: Anyone has nls activated on Mac OS X?
List pgsql-general
 >> I installed gettext using Fink and then gave it a go. The configure
 >> part went ok, but make complained that it couldn't find msgfmt.
 >
 > Either the package is split up into a run-time and a devel package, or
 > it's just plain broken, because msgfmt certainly belongs into any
 > "gettext" package.  I would ask the packagers.

Ah, that was it. I installed only part of the thing. Also forgot to
include the Fink bin directory in my path...

I still get an error though. Here is how I am trying to compile:

./configure --with-java --with-includes=/sw/include/
--with-libraries=/sw/lib --enable-nls --bindir=/usr/local/bin
--mandir=/usr/local/share/man/

And here is the error I get some way down the making process:

ranlib libecpg.a
gcc -no-cpp-precomp -O2 -fno-strict-aliasing -Wall -Wmissing-prototypes
-Wmissing-declarations  -bundle execute.o typename.o descriptor.o
data.o error.o prepare.o memory.o connect.o misc.o
-L../../../../src/port -L/sw/lib -L../pgtypeslib -lpgtypes
-L../../../../src/interfaces/libpq -lpq -lm   -o libecpg.so.4.1
ld: Undefined symbols:
_bindtextdomain
_dgettext
gnumake[4]: *** [libecpg.so.4.1] Error 1
gnumake[3]: *** [all] Error 2
gnumake[2]: *** [all] Error 2
gnumake[1]: *** [all] Error 2
gnumake: *** [all] Error 2

It seems to be connected to gettext. Any ideas?

Thanks in advance.

---------------
Francois

Home page: http://www.monpetitcoin.com/

"Would Descartes have programmed in Pascal?" - Umberto Eco


pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Transaction end on error
Next
From: "John Sidney-Woollett"
Date:
Subject: Resize varchar column