From: Ben H. <tr...@gr...> - 2003-09-01 18:05:34
|
On Mon, Sept. 1 at 09:42, Lutz wrote: > On Mon, 2003-09-01 at 07:57, Ben Hartshorne wrote: > > ben@ibook-laptop ~$ PKG_CONFIG_PATH=3D/usr/local/lib > =20 > You're new to linux, ain't you? Try=20 > =20 > 'export PKG_CONFIG_PATH=3D/usr/local/lib/pkgconfig' no, just suffering from a case of the stupids. ;) i tried to think of a rationalle why I wouldn't have to export my variable for pkg-config to see it, but I couldn't... ::sigh:: It's still not compiling, but this time with what seems to be a more macosx porting issue than a shell variable scope issue. First I had to add /sw/include/ to the -I lines so it would find popt.h Then just about every file compiled complains that: =2E./intl/libintl.h:129: illegal function definition, found `__asm__' =2E./intl/libintl.h:146: illegal function definition, found `__asm__' =2E./intl/libintl.h:166: illegal function definition, found `__asm__' but they aren't fatal errors Finally it dies at: gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -o exif actions.o main.o utils.o ../libjpeg/.libs/libjpeg.al -L/usr/local/lib -lexif -lm =2E./intl/libintl.a ld: Undefined symbols: __USER_LABEL_PREFIX__libintl_dgettext __USER_LABEL_PREFIX__libintl_bindtextdomain __USER_LABEL_PREFIX__libintl_textdomain _poptFreeContext _poptGetArgs _poptGetContext _poptGetNextOpt _poptHelpOptions _poptPrintHelp _poptSetOtherOptionHelp make[2]: *** [exif] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 This looked like it was still having trouble finding popt. Perhaps it found the popt header but not the library? I did a 'make dist-clean' and reading through configure, found --with-popt-prefix. I ran './configure --with-popt-prefix=3D/sw/' and it got a little further. =20 It now fails at: gcc -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -o exif actions.o main.o utils.o ../libjpeg/.libs/libjpeg.al -L/usr/local/lib -lexif -lm -L/sw//lib -L/sw/lib -lpopt -lintl -liconv ../intl/libintl.a ld: warning multiple definitions of symbol __nl_find_msg =2E./intl/libintl.a(dcigettext.o) definition of __nl_find_msg in section (__TEXT,__text) /sw//lib/libintl.dylib(dcigettext.lo) definition of __nl_find_msg ld: warning multiple definitions of symbol _locale_charset /sw//lib/libintl.dylib(localcharset.lo) definition of _locale_charset /sw//lib/libiconv.dylib(localcharset.lo) definition of _locale_charset ld: Undefined symbols: __USER_LABEL_PREFIX__libintl_dgettext __USER_LABEL_PREFIX__libintl_bindtextdomain __USER_LABEL_PREFIX__libintl_textdomain make[2]: *** [exif] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 and I've about hit the edge of knowing what to do next. =20 Suggestions? Thanks much, -ben --=20 Ben Hartshorne email: be...@ha... http://ben.hartshorne.net |