On Wednesday, December 4, 2002, at 12:37 PM, Bjoern Hoffmann wrote:
Hello,
I am trying to port the font smoothing package gdkxft 1.5 (search with
this on google to get the package) for GTK+ 1.2.x (which I got through
fink) to OSX/XDarwin/Fink with the long term goal of creating a fink
package. ./configure completes but make fails with Error 1.
Use "./configure --prefix=/sw" instead. Then you won't need any patches for the dlfcn/iconv headers.
This is the step I am currently at when trying to get this to work.
First two Error 1 messages I got rid of by editing gdkxft.c and
realfuncs.c and
pointing them to the correct locations of iconv.h and dlfcn.h.
This is where make now terminates with Error 1. Anyone got an idea?
It looks like this isn't supposed to be linking against gdk, or maybe you need multiply_defined suppress as well.
Also this uses LD_PRELOAD to load itself into apps. Look at src/gdkxft_sysinstall. If you don't understand what that script is doing you might want to find something simpler to port.. This is a rather complicated piece of software that won't work out of the box (for one thing we don't use LD_PRELOAD on darwin, we have DYLD_INSERT_LIBRARIES.
-Ben
