[Gtk-osx-devs] Latest stable libxml2 fails build on OS X 10.4



Hi there,

Just a heads-up that libxml2 in the latest stable gtk-osx fails to  
build on OS X 10.4 - apparently because it relies on a recently  
publicised symbol in -lz. Details below.

regards,
Richard.

On 10.4:

[buildshell] orchid:~ rix$ nm /usr/lib/libz.dylib | grep gzdirect
9111a5cc t _gzdirect

On 10.5:

[buildshell] ~/gtk richard$ nm /usr/lib/libz.dylib | grep gzdirect
00008b6b T _gzdirect


Using this entry from jhbuild/modulesets/gtk-osx-bootstrap.modules:

<autotools id="libxml2" autogen-sh="configure">
     <branch version="2.7.7" module="libxml2-2.7.7.tar.gz"
             repo="xmlsoft.org"/>
</autotools>

Build error is:

libtool: link: gcc -Os -arch ppc -mmacosx-version-min=10.4 -pedantic - 
W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment - 
Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses - 
Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate- 
return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs - 
Winline -Wredundant-decls -arch ppc -mmacosx-version-min=10.4 -Wl,- 
headerpad_max_install_names -o .libs/xmllint xmllint.o  -L/Users/rix/ 
gtk/inst/lib ./.libs/libxml2.dylib -lpthread -lz /usr/lib/ 
libiconv.dylib -lm
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
_gzdirect
collect2: ld returned 1 exit status
make[2]: *** [xmllint] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2





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