On Dec 8, 2003, at 11:28 PM, Martin Costabel wrote:

Terje Tjervaag wrote:

On Dec 8, 2003, at 11:02 PM, Martin Costabel wrote:
Didn't work, it seems. What did you say was the version of X11 you have installed? What do you get from

ls -la /usr/X11R6/*i*/*freetype*
-rwxr-xr-x 1 root wheel 1576 21 Nov 19:08 /usr/X11R6/bin/freetype-config
-rw-r--r-- 1 root wheel 308648 24 Nov 08:23 /usr/X11R6/lib/libfreetype.6.3.dylib
lrwxr-xr-x 1 root wheel 21 19 Oct 15:03 /usr/X11R6/lib/libfreetype.6.dylib -> libfreetype.6.3.dylib
-rw-r--r-- 1 root wheel 398036 15 Sep 03:34 /usr/X11R6/lib/libfreetype.a
lrwxr-xr-x 1 root wheel 21 19 Oct 15:03 /usr/X11R6/lib/libfreetype.dylib -> libfreetype.6.3.dylib
/usr/X11R6/include/freetype:

Really "freetype", not "freetype2"? This is weird. What X11 is this?

:) X11 says v1.0. It is the version that is installed with Panther. That's all I know. Any other way I can check version info further?

total 8
drwxr-xr-x   4 root  wheel   136 19 Oct 23:11 .
drwxr-xr-x   8 root  wheel   272  8 Dec 23:13 ..
drwxr-xr-x  34 root  wheel  1156 19 Oct 23:11 freetype
-r--r--r--   1 root  wheel  2185 15 Sep 03:20 ft2build.h

Everything else is OK. If you run "/usr/X11R6/bin/freetype-config --cflags", do you get

-I/usr/X11R6/include -I/usr/X11R6/include/freetype2

YES

If yes, and you really have /usr/X11R6/include/freetype and /usr/X11R6/include/freetype2, then maybe renaming this directory (to freetype2) might help.

Ah, this gets me past the configure process at least! It now fails part way through the make, like this:

.....mtypes.o -all_load x11/.libs/libgdk-x11.a /sw/lib/libexpat.dylib libfreetype.6.dylib -L/sw/lib /sw/lib//libintl.dylib ../gdk-pixbuf/.libs/libgdk_pixbuf-2.0.dylib -lXrandr -lXinerama -lXext -L/usr/X11R6/lib -lXft -lXrender /usr/local/lib/libfontconfig.dylib -lX11 /sw/lib/libfreetype.6.dylib /sw/lib/libpangoxft-1.0.dylib /sw/lib/libpangox-1.0.dylib /sw/lib/libpango-1.0.dylib /sw/lib/libgobject-2.0.dylib /sw/lib/libgmodule-2.0.dylib /sw/lib/libglib-2.0.dylib /sw/lib/libiconv.dylib -lm /sw/lib/libintl.dylib -install_name /sw/lib/libgdk-x11-2.0.0.dylib -compatibility_version 201 -current_version 201.4
gcc: libfreetype.6.dylib: No such file or directory
gcc: /sw/lib/libfreetype.6.dylib: No such file or directory
make[3]: *** [libgdk-x11-2.0.la] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive-am] Error 2
### execution of export failed, exit code 2
Failed: compiling gtk+2-2.2.4-2 failed

That doesn't seem so bad, all I got to do now is make it look for the right .dylib, from X11 instead of Fink. I don't really understand why it's looking in /sw/lib because which freetype-config confirms that the one from /usr/X11R6/bin/ should be used, and this returns the correct output like you said above.

--
Terje

"A programming language is low level when its programs require attention to the irrelevant."

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Reply via email to