Re: [gtk+osx] Compiling Dia with gtk-osx
Status: Beta
Brought to you by:
jralls
From: Lars C. <la...@ra...> - 2005-04-29 22:21:23
|
On Fri, 2005-04-29 at 22:38 +0100, David Burnett wrote: > Lars Clausen wrote: > > > This does not seem to be cured, however. Making libdl.lib a symlink to > > libdl.dylib (for testing) doesn't change a thing, either. I notice, > > though, that libdl only exists in my /sw (fink) directory. Should it be > > part of the normal compilation system? > > Which version of OSX are you using? libdl became part of the standard > development environment with Panther, before that it was third party. > > > If libdl.dylib is in /sw/lib you'll need to... > > export LDFLAGS=-L/sw/lib > export CPPFLAGS=-I/sw/include > > before running configure. Thanks, that helped. After a bit of cutting out tests I got gdk-pixbuf installed, and can now compile Dia up to the point where it tries to make a dynamic library: (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. This is much closer than I've gotten before. -Lars -- Lars Clausen <la...@ra...> |