Re: [Gtk-osx-users] glib version error while building gimp



upon further investigation, I realized that the error actually happened while building glib

=============================

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
*** Error during phase configure of glib: ########## Error running ./configure --prefix /Users/timchen/gtk/inst --libdir '/Users/timchen/gtk/inst/lib'  --disable-static ac_cv_c_bigendian=no --build=i486-apple-darwin  *** [2/12] 

==============================

the corresponding error in config.log is

==============================

configure:7345: checking for iconv_open
configure:7345: gcc -o conftest -arch i386 -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -I/Users/timchen/gtk/inst/include -I/Developer/SDKs/MacOSX10.6.sdk/usr/include -L/Users/timchen/gtk/inst/lib -L/Users/timchen/gtk/inst/lib -arch i386 -L/Developer/SDKs/MacOSX10.6.sdk/usr/lib -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -Wl,-headerpad_max_install_names -framework Carbon conftest.c  >&5
Undefined symbols for architecture i386:
  "_iconv_open", referenced from:
      _main in ccP63cQa.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status

==============================

I think this error is similar to http://sourceforge.net/mailarchive/message.php?msg_id=24905828 and probably means that it linked wrong version of libiconv 

Nevertheless, as posted in my last mail, I have already put

setup_sdk(target="10.6", sdk_version="10.6", architectures=["i386"])

in my .jhbuildrc-custom. I suppose doing so should have already fix the problem? 

thanks for your reply in advance.
-Tim

-------------------------
http://ht-timchen.org

On Apr 19, 2011, at 4:26 AM, John Ralls wrote:

> 
> On Apr 18, 2011, at 11:16 AM, Tim Chen wrote:
> 
>> Hi, 
>> 
>> I am trying to build gimp on my 2011 MacBook Pro (64 bit) via jhbuild.
>> 
>> I basically follow the instruction on http://sourceforge.net/apps/trac/gtk-osx/wiki/Build
>> 
>> and I update the .jhbuildrc-custom file with 
>> 
>> setup_sdk(target="10.6", sdk_version="10.6", architectures=["i386"])
>> build_policy="updated-deps"
>> os.environ["ARCHFLAGS"] = "-arch x86_64 -arch i386"
>> moduleset = "http://github.com/jralls/gtk-osx-build/raw/master/modulesets-stable/gtk-osx.modules";
>> 
>> everything goes well with 
>> 
>> $ jhbuild bootstrap
>> $ jhbuild build meta-gtk-osx-bootstrap
>> $ jhbuild build meta-gtk-osx-core
>> 
>> However, when I am trying to build gimp with $ jhbuild build gimp
>> 
>> it complains about glib while configuring GEGL :
>> 
>> checking for GLIB - version >= 2.22.0... no
>> *** Could not run GLIB test program, checking why...
>> *** The test program failed to compile or link. See the file config.log for the
>> *** exact error that occured. This usually means GLIB is incorrectly installed.
>> 
>> Is there anything I missed?
> 
> Please post the error from config.log.
> 
> The current Glib in stable is 2.27, and I just built gegl in my tree, so something's messed up in yours.
> 
> Regards,
> John Ralls
> 
> 
> ------------------------------------------------------------------------------
> Benefiting from Server Virtualization: Beyond Initial Workload 
> Consolidation -- Increasing the use of server virtualization is a top
> priority.Virtualization can reduce costs, simplify management, and improve 
> application availability and disaster protection. Learn more about boosting 
> the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
> _______________________________________________
> Gtk-osx-users mailing list
> Gtk-osx-users lists sourceforge net
> https://lists.sourceforge.net/lists/listinfo/gtk-osx-users





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