[Cocoa-sharp] HELP! glib build problem

Urs Muff umuff@QUARK.com
Sat, 10 Jul 2004 11:58:03 -0600


As far as I know a .a file is static library and needs to be referred to
with LDFLAGS, DY_LIBRARY_PATH, is for dylib's.

Try the following: 
export LDFLAGS=-L/Library/Frameworks/GetText.framework/Versions/0.14.1/lib

you may also try
export
LD_LIBRARY_PATH=/Library/Frameworks/GetText.framework/Versions/0.14.1/lib

- Urs

> -----Original Message-----
> From: cocoa-sharp-admin@lists.ximian.com [mailto:cocoa-sharp-
> admin@lists.ximian.com] On Behalf Of Adhamh Findlay
> Sent: Friday, July 09, 2004 6:09 PM
> To: Cocoa#
> Subject: [Cocoa-sharp] HELP! glib build problem
> 
> Hi,
> 
> So I'm working on a getting all the bits into their own framework.  I'm
> running into problems with glib when it configures.  Here's the error:
> 
> checking for locale.h... yes
> checking for LC_MESSAGES... yes
> checking libintl.h usability... yes
> checking libintl.h presence... yes
> checking for libintl.h... yes
> checking for dgettext in libc... no
> checking for bindtextdomain in -lintl... no
> checking if -liconv is needed to use gettext...
> checking for dcgettext in -lintl... no
> configure: error:
> *** You must have either have gettext support in your C library, or use
> the
> *** GNU gettext library.
> (http://www.gnu.org/software/gettext/gettext.html
> 
> So it can't find libintl.a right?  Okay, here's my $DYLD_LIBRARY_PATH
> 
> DYLD_LIBRARY_PATH=/Library/Frameworks/GetText.framework/Versions/
> 0.14.1/lib
> 
> ls -al /Library/Frameworks/GetText.framework/Versions/0.14.1/lib | grep
> libintl
> -rw-r--r--   1 root  wheel  112896  9 Jul 14:57 libintl.3.4.0.dylib
> lrwxrwxr-x   1 root  wheel      19  9 Jul 14:57 libintl.3.dylib ->
> libintl.3.4.0.dylib
> -rw-r--r--   1 root  wheel  136232  9 Jul 14:57 libintl.a
> lrwxrwxr-x   1 root  wheel      19  9 Jul 14:57 libintl.dylib ->
> libintl.3.4.0.dylib
> -rw-r--r--   1 root  wheel     870  9 Jul 14:57 libintl.la
> 
> So libintl is in the DYLD_LIBRARY_PATH!
> 
> What about $C_INCLUDE_PATH?  Is set to
> C_INCLUDE_PATH=/Library/Frameworks/GetText.framework/Versions/0.14.1/
> include
> 
> ls -al /Library/Frameworks/GetText.framework/Versions/0.14.1/include |
> grep libintl
> -rw-r--r--  1 root  wheel  12843  9 Jul 14:57 libintl.h
> 
> So libintl.h is in the C_INCLUDE_PATH!
> 
> Why is this not compiling?
> 
> Thanks,
> 
> Adhamh
> 
> _______________________________________________
> Cocoa-sharp mailing list
> Cocoa-sharp@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/cocoa-sharp