On Aug 10, 2006, at 9:49 PM, Daniel Macks wrote:
WorksForMe(tm), but I have a single-processor machine so I have fewer problems like that. Some packages have trouble with multithreading, resulting in trying to link against a compiled object before that object gets compiled.
Mine is single-proc, too. PowerBook G4.
One standard solution (thanks RangerRick!) seems to be adding: NoSetMAKEFLAGS: true SetMAKEFLAGS: -j1 to the .info. Okay, actually it doesn't *really* work for me, I had to add SetLDFLAGS: -lintl otherwise linking fails:
Unfortunately none of that worked for me.
gcc -DLOCALEDIR=\"/usr/local/share/locale\" -g -O2 -L/sw/lib -o uni2ascii Get_UTF32_From_UTF8.o uni2ascii.o enttbl.o endian.old: warning prebinding disabled because of undefined symbols ld: Undefined symbols: _libintl_bindtextdomain _libintl_gettext _libintl_textdomain
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 _textdomainI get the same result even when adding -lintl to LDFLAGS as you suggested.
Notice that if you compile the package yourself (outside of Fink), the list of object files in the above call to gcc is different. At least it is for me.
(and you can also see a non-finkified pathname there) because the author is hacking instead of using the standard gettext item in configure.in:)
What's the correct patch for this? Simply replace all occurrences of / usr/local/share/locale with %p/share/locale?
And also need to 'make install DESTDIR=%d', or *something* other than the default 'make install prefix=%i', in order to prevent the manpages being installed directly into %p.
I'm adding --mandir="%p/share/man" to the configure call. Doesn't that fix the problem?
Trevor
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
