Re: [Gtk-osx-users] Can't compile gtk-osx - autoconf version



On May 25, 2010, at 1:18 AM, Alexander Ivanenko wrote:

> Now I've run into another problem on  "~/.local/bin/jhbuild build meta-gtk-osx-core" phase:
> 
> /bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -I..  -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/Users/aleksej/gtk/inst/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT  -arch x86_64 -mmacosx-version-min=10.6 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c -o gconvert.lo gconvert.c
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -I/Users/aleksej/gtk/inst/include -DG_DISABLE_SINGLE_INCLUDES -D_REENTRANT -arch x86_64 -mmacosx-version-min=10.6 -Wall -MT gconvert.lo -MD -MP -MF .deps/gconvert.Tpo -c gconvert.c  -fno-common -DPIC -o .libs/gconvert.o
> gconvert.c:55:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
> make[4]: *** [gconvert.lo] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *** Error during phase build of glib: ########## Error running make   *** [2/10]
> 
> Any help will be appreciated....
> 

Boy, you're not very good at reading instructions, are you?

Yes, Gtk-OSX is incompatible with MacPorts (or Fink) and it says so on the build page in a box with really big letters. Pretty hard to miss.

Your current problem is from building 64-bit. Follow the link on the Build page to the Snow Leopard page and read that.

I don't know what versions MacPorts is building these days, and I haven't bumped the stable moduleset lately, so it's not the most current release. But you can build the current svn trunk by using the unstable moduleset. Obviously I think that building via Gtk-OSX is superior to MacPorts, but you might find otherwise. 

Regards,
John Ralls





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