Re: [gtk+osx] Compiling Dia with gtk-osx
Status: Beta
Brought to you by:
jralls
From: Andy P. <en...@li...> - 2005-04-29 19:09:46
|
You might try copying config.guess from /usr/local/share/libtool into your Dia project directory (overwriting the one currently there). What seem to be happening is that the linker is looking for libdl.lib, but should instead be looking for libdl.dylib. -Andy Lars Clausen wrote: > Hi! > > I just ran across gtk-osx today. Having wanted to compile Dia for OS X > for quite a while, I jumped at the chance. First I tried a simple hello > world from the Gtk 1.2 tutorial, and it worked. Trying with Dia 0.90 (our > last pre-GTK2 version), I found I had to install gdk-pixbuf first. > Getting that (version 0.8.0, I tried ./configure --build=powerpc-apple-bsd > --ost=powerpc-apple-bsd --target=powerpc-apple-bsd (which I'd found > somewhere else and helps with poor detection), but had the glib-config > test program fail because it tried to use -ldl in its compile (see > attached bit of log below). Does anyone have a pointer to what to do > about that? > > Thanks, > -Lars > > configure:2133: checking for GLIB - version >= 1.2.0 > configure:2232: gcc -o conftest -g -O2 > -I/Library/Frameworks/GLib.framework/Head > ers conftest.c -F/Library/Frameworks -framework glib -framework glib > -ldl 1>&5 > ld: can't locate file for: -ldl > configure: failed program was: |