Claus Atzenbeck wrote:
> Hello:
> 
> I have a problem compiling alpine 1.00. Any hint?
> 
> The error message:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> gcc -std=gnu99 -g -D_THREAD_SAFE -Dbsd -g -O2 -o alpined alpined.o busy.o 
> color.o imap.o ldap.o remote.o signal.o debug.o status.o stubs.o local.o 
> -framework Carbon -framework ApplicationServices -framework Security  
> -L/usr/lib -lgssapi_krb5 -lkrb5 -lcom_err -lpam -ldl -lcrypto -L/sw/lib 
> ../../../pith/libpith.a ../../../pith/osdep/libpithosd.a 
> ../../../pith/charconv/libpithcc.a ../../../c-client/c-client.a -ltcl8.4 
> -lldap -lncurses -llber -lssl
> /usr/bin/ld: Undefined symbols:
> _libintl_gettext
> collect2: ld returned 1 exit status
> make[2]: *** [alpined] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> ### execution of make failed, exit code 2
> [...]
> Failed: phase compiling: alpine-1.00-1001 failed

The symbol in question is in libintl.dylib if you have libgettext3 
installed, but I don't see why and where it should be pulled in.

It may ba a missing dependency on gettext-tools. Do you have 
gettext-tools installed? The build process uses /sw/bin/xgettext from 
that package when it is available, and probably compiles additional 
things when not.

OTOH, the package has a few dependencies that are not really used: In 
the command line you are showing, the libraries referenced after 
-L/sw/lib, namely -ltcl8.4 -lldap -lncurses -llber -lssl, are all found 
not in /sw/lib but in /usr/lib, so they are not used from Fink, but from 
the system.

-- 
Martin



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to