On Aug 11, 2006, at 12:59 AM, Martin Costabel wrote:
Trevor Harmon wrote: []Yes, that's what I'm seeing, too! (Mostly.) I get:gcc -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -L/sw/lib -o uni2ascii Get_UTF32_From_UTF8.o uni2ascii.o enttbl.o endian.o/usr/bin/ld: Undefined symbols: _bindtextdomain _gettext _textdomainThis is a gettext/libgettext3 difference. You probably have gettext- dev installed, Daniel libgettext3-dev. Both should work, I guess, but libgettext3 is preferred nowadays.
Yes, I did have gettext-dev installed. When I switched to libgettext3- dev, I saw the same errors as Daniel.
I get the same result even when adding -lintl to LDFLAGS as you suggested.Strange. Doesn't your /sw/lib/libintl.dylib have these symbols?
Darn it! I was editing the wrong file. Daniel's LDFLAGS suggestion is now working for me.
I'm adding --mandir="%p/share/man" to the configure call. Doesn't that fix the problem?And also need to 'make install DESTDIR=%d', or*something* other than the default 'make install prefix=%i', in orderto prevent the manpages being installed directly into %p.No. As Daniel said, it installs into %p instead of %i. Try fink --build-as-nobody build uni2ascii and you will see.
Oh, you mean I was using %p when I should have been using %i? So all I need to do is change this:
--mandir="%p/share/man" to this: --mandir="%i/share/man" I've attached a new .info with all of the changes. Trevor
uni2ascii.info
Description: Binary data
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Fink-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-devel
