Re: [gtk+osx] Compiling Dia with gtk-osx
Status: Beta
Brought to you by:
jralls
From: Lars C. <la...@ra...> - 2005-04-30 06:43:42
|
Lars Clausen sagde: > On Fri, 2005-04-29 at 22:38 +0100, David Burnett wrote:> (cd . && ln -s polygon.lo polygon.o) > (cd . && ln -s beziergon.lo beziergon.o) > gcc -bundle -flat_namespace -undefined suppress > -o .libs/libstandard_objects.so arc.lo box.lo ellipse.lo textobj.lo > line.lo zigzagline.lo polyline.lo bezier.lo standard.lo image.lo > polygon.lo beziergon.lo -L/sw/lib -lpng -lz -lc > -install_name /usr/local/lib/dia/libstandard_objects.so > gcc: -install_name only allowed with -dynamiclib > make[3]: *** [libstandard_objects.la] Error 1 > > The install_name option is not one we set explicitly, but seems to be a > libtool thing. I have /usr/bin/libtool as the first in my path. Googled for and found a fix, namely running ./configure with --disable-shared and --enable-maintainer-mode (don't know yet if the latter is strictly required). It now compiles (after fixing a couple bad include statements in Dia) but fails at linking. Some of it is apparentl= y that gdk-pixbuf doesn't find its libraries, but there's two gdk_ic_attr_* calls that would appear to be missing from gtk-osx: ld: warning multiple definitions of symbol _locale_charset /sw/lib/libintl.dylib(localcharset.lo) definition of _locale_charset /sw/lib/libiconv.dylib(localcharset.o) definition of _locale_charset ld: Undefined symbols: _gdk_ic_attr_destroy _gdk_ic_attr_new _jpeg_CreateDecompress _jpeg_destroy_decompress _jpeg_finish_decompress _jpeg_read_header _jpeg_read_scanlines _jpeg_resync_to_restart _jpeg_start_decompress _jpeg_std_error _jpeg_stdio_src _TIFFClose _TIFFFdOpen _TIFFGetField _TIFFReadRGBAImage __TIFFfree __TIFFmalloc make[2]: *** [dia] Error 1 Not sure what do do about the locale_charset thing either. I'll see if I can poke gdk-pixbuf into not dying on me, but the gdk_ic things would be up to you. Thanks, -Lars |