Re: os x and glib



I got past the configure portion by setting the environment var:
LDFLAGS=-L/sw/lib which is the location of gnu libiconv.

The compile still fails with iconv errors:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED
-DGLIB_COMPILATION   -pthreads  -g -O2 -Wall -c gconvert.c
 gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\"
-DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -pthreads
-g -O2 -Wall -c gconvert.c  -fno-common -DPIC -o .libs/gconvert.o
gcc: unrecognized option `-pthreads'
gconvert.c:25: header file 'iconv.h' not found
gconvert.c:43: #error GNU libiconv in use but included iconv.h not from
libiconv
gconvert.c:62: undefined type, found `iconv_t'
gconvert.c:75: undefined type, found `iconv_t'
gconvert.c:113: undefined type, found `iconv_t'
gconvert.c:167: undefined type, found `iconv_t'
gconvert.c:167: syntax error, missing `;' after `)'
gconvert.c:190: undefined type, found `iconv_t'
gconvert.c:190: syntax error, missing `;' after `)'
cpp-precomp: warning: errors during smart preprocessing, retrying in basic
mode
make[3]: *** [gconvert.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2




On 9/26/03 9:53, "JS" <oghistorian yahoo com> wrote:

> Hi Jeff,
> 
> Hmm, you seem to be having the same issues that I have
> with GTK but with glib.  However, I was able to get
> glib to find libiconv.  This is the version of
> libiconv I installed:
> http://www.gnu.org/software/libiconv/#downloading .
> 
> I would try downloading that version and compile and
> install it and see what happens.  It just might work.
> 
> If not, then hopefully someone else on the list should
> be able to help.  They have been very helpful with my
> GTK problems.
> 
> HTH,
> J Silverman
> --- Jeffrey Auerbach <jeff auerbach org> wrote:
>> Hello
>> 
>> I am trying to configure glib-2.2.3 on mac os x but
>> I am running into a
>> problem:
>> 
>> checking for iconv_open... no
>> checking for libiconv_open in -liconv... no
>> checking for iconv_open in -liconv... no
>> configure: error: *** No iconv() implementation
>> found in C library or
>> libiconv
>> 
>> I know that libiconv is installed on this system but
>> configure can't find
>> it.  I've specified the prefix where the libs are
>> installed but no luck.
>> 
>> Can someone point in the direction of an answer?
>> Does anyone know the last
>> known version >2.x  to work successfully on os x?
>> 
>> Thanks
>> Jeff
>> 
>> _______________________________________________
>> gtk-list mailing list
>> gtk-list gnome org
>> http://mail.gnome.org/mailman/listinfo/gtk-list
> 
> __________________________________
> Do you Yahoo!?
> The New Yahoo! Shopping - with improved product search
> http://shopping.yahoo.com
> 
> 

*****************************
Jeff Auerbach
Director, Network Operations
Workspeed, Inc.
(917)369-9025 x203
http://www.workspeed.com
*****************************





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]