compiling problems :(



Hi, I am trying to install the latest version of glib,
i am running into some problems though and i can't
figure it out.
I cd into the directory, i run ./configure, it runs
fine (except it says "configure : WARNING: Could not
determine POSIX flag. (-posix didn't work.)" half way,
but it keeps on going.
Then i do "make" and i get this :

make  all-recursive
Making all in .
Making all in m4macros
make[2]: Nothing to be done for `all'.
Making all in glib
Making all in libcharset
make[3]: Nothing to be done for `all'.
Making all in trio
make[3]: Nothing to be done for `all'.
/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

I am running as root, i am running os x, 10.2, with
dev tools installed
Can you help? thanks a lot.
    -Da_Kuh

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/



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