It should have been installed by the X11SDK package (part of XCode). You might try reinstalling that.
-- Dave On Jul 9, 2007, at 5:09 PM, Matthew S. Moore wrote: > I thought that might be a problem. Any idea how to install it? > Perhaps there is something I missed from the Xcode install? > > Thanks, > > Matthew > > David R. Morrison wrote: >> I have /usr/X11R6/include/ft2build.h . Apparently you don't. Are >> you using Apple's X11.app, or one of fink's X11 installations? >> -- Dave >> On Jul 9, 2007, at 2:45 PM, Matthew S. Moore wrote: >>> Thank you for the quick response! Attached is a snippet of the >>> config.log, but here is a grep for ft2build.h: >>> >>> $ grep ft2build.h /sw/src/fink.build/gd2-2.0.35-1/gd-2.0.35/ >>> config.log >>> configure:23715: checking ft2build.h usability >>> conftest.c:69:22: error: ft2build.h: No such file or directory >>> | #include <ft2build.h> >>> configure:23773: checking ft2build.h presence >>> conftest.c:36:22: error: ft2build.h: No such file or directory >>> | #include <ft2build.h> >>> configure:23848: checking for ft2build.h >>> ac_cv_header_ft2build_h=no >>> >>> However, ft2build.h is installed under /sw: >>> >>> $ find /sw -name ft2build.h >>> /sw/lib/freetype2/include/ft2build.h >>> /sw/lib/freetype219/include/ft2build.h >>> >>> $ find /usr -name ft2build.h >>> >>> $ find /Developer -name ft2build.h >>> /Developer/SDKs/MacOSX10.3.9.sdk/usr/X11R6/include/freetype2/ >>> ft2build.h >>> /Developer/SDKs/MacOSX10.4u.sdk/usr/X11R6/include/ft2build.h >>> >>> Thanks, >>> >>> Matthew >>> >>> David R. Morrison wrote: >>>> On Jul 9, 2007, at 12:43 PM, Matthew S. Moore wrote: >>>>> Hello Dave, >>>>> >>>>> I am have trouble updating my installation of gd2 using fink to >>>>> v2.0.35-1. It is using freetype2 from /usr/X11R6 rather than >>>>> the fink version and then it can't find the header files: >>>>> >>>>> $ fink install gd2 >>>>> ... >>>>> ./configure --prefix=/sw --with-freetype=/usr/X11R6 >>>>> ... >>>>> checking for freetype-config... /usr/X11R6/bin/freetype-config >>>>> checking for FT_Init_FreeType in -lfreetype... yes >>>>> checking ft2build.h usability... no >>>>> checking ft2build.h presence... no >>>>> checking for ft2build.h... no >>>>> >>>>> >>>>> Below is what I have installed at the moment for freetype and gd2: >>>>> freetype 1.3.1-11 >>>>> freetype-bin 1.3.1-11 >>>>> freetype-hinting 1.3.1-11 >>>>> freetype-hinting-bin 1.3.1-11 >>>>> freetype-hinting-shlibs 1.3.1-11 >>>>> freetype-shlibs 1.3.1-11 >>>>> i freetype2 2.1.4-12 >>>>> p freetype2-dev >>>>> freetype2-hinting 2.1.4-12 >>>>> i freetype2-hinting-dev 2.1.4-12 >>>>> i freetype2-hinting-shlibs 2.1.4-12 >>>>> p freetype2-shlibs >>>>> i freetype219 2.2.1-4 >>>>> i freetype219-shlibs 2.2.1-4 >>>>> (i) gd2 2.0.35-1 >>>>> gd2-bin 2.0.35-1 >>>>> gd2-nox 2.0.35-1 >>>>> gd2-nox-bin 2.0.35-1 >>>>> (i) gd2-shlibs 2.0.35-1 >>>>> >>>>> Any suggestions on how to make this work would be much >>>>> appreciated. Thanks, >>>>> >>>>> Matthew >>>> I can't reproduce your problem. >>>> Could you please search in /sw/src/fink.build/gd2-2.0.35-1/ >>>> gd-2.0.35/config.log for the string ft2build.h and send me that >>>> section of the file? >>>> Thanks, >>>> Dave >>> configure:23715: checking ft2build.h usability >>> configure:23732: gcc -c -g -O2 -I/usr/X11R6/include -I/usr/X11R6/ >>> include/freetype2 -I/usr/X11R6/include -I/sw/include conftest.c >&5 >>> conftest.c:69:22: error: ft2build.h: No such file or directory >>> configure:23738: $? = 1 >>> configure: failed program was: >>> | /* confdefs.h. */ >>> | #define PACKAGE_NAME "GD" >>> | #define PACKAGE_TARNAME "gd" >>> | #define PACKAGE_VERSION "2.0.35" >>> | #define PACKAGE_STRING "GD 2.0.35" >>> | #define PACKAGE_BUGREPORT "http://bugs.libgd.org" >>> | #define PACKAGE "gd" >>> | #define VERSION "2.0.35" >>> | #define STDC_HEADERS 1 >>> | #define HAVE_SYS_TYPES_H 1 >>> | #define HAVE_SYS_STAT_H 1 >>> | #define HAVE_STDLIB_H 1 >>> | #define HAVE_STRING_H 1 >>> | #define HAVE_MEMORY_H 1 >>> | #define HAVE_STRINGS_H 1 >>> | #define HAVE_INTTYPES_H 1 >>> | #define HAVE_STDINT_H 1 >>> | #define HAVE_UNISTD_H 1 >>> | #define HAVE_DLFCN_H 1 >>> | #define STDC_HEADERS 1 >>> | #define HAVE_ERRNO_H 1 >>> | #define HAVE_LIMITS_H 1 >>> | #define HAVE_STDDEF_H 1 >>> | #define HAVE_STDLIB_H 1 >>> | #define HAVE_STRING_H 1 >>> | #define HAVE_UNISTD_H 1 >>> | #define HAVE_ICONV 1 >>> | #define ICONV_CONST const >>> | #define HAVE_ICONV_H 1 >>> | #define HAVE_ICONV_T_DEF 1 >>> | #define HAVE_LIBZ 1 >>> | #define HAVE_PNG_H 1 >>> | #define HAVE_LIBPNG 1 >>> | #define HAVE_LIBFREETYPE 1 >>> | /* end confdefs.h. */ >>> | #include <stdio.h> >>> | #if HAVE_SYS_TYPES_H >>> | # include <sys/types.h> >>> | #endif >>> | #if HAVE_SYS_STAT_H >>> | # include <sys/stat.h> >>> | #endif >>> | #if STDC_HEADERS >>> | # include <stdlib.h> >>> | # include <stddef.h> >>> | #else >>> | # if HAVE_STDLIB_H >>> | # include <stdlib.h> >>> | # endif >>> | #endif >>> | #if HAVE_STRING_H >>> | # if !STDC_HEADERS && HAVE_MEMORY_H >>> | # include <memory.h> >>> | # endif >>> | # include <string.h> >>> | #endif >>> | #if HAVE_STRINGS_H >>> | # include <strings.h> >>> | #endif >>> | #if HAVE_INTTYPES_H >>> | # include <inttypes.h> >>> | #endif >>> | #if HAVE_STDINT_H >>> | # include <stdint.h> >>> | #endif >>> | #if HAVE_UNISTD_H >>> | # include <unistd.h> >>> | #endif >>> | #include <ft2build.h> >>> configure:23769: result: no >>> configure:23773: checking ft2build.h presence >>> configure:23788: gcc -E -I/usr/X11R6/include -I/usr/X11R6/include/ >>> freetype2 -I/usr/X11R6/include -I/sw/include conftest.c >>> conftest.c:36:22: error: ft2build.h: No such file or directory >>> configure:23794: $? = 1 >>> configure: failed program was: >>> | /* confdefs.h. */ >>> | #define PACKAGE_NAME "GD" >>> | #define PACKAGE_TARNAME "gd" >>> | #define PACKAGE_VERSION "2.0.35" >>> | #define PACKAGE_STRING "GD 2.0.35" >>> | #define PACKAGE_BUGREPORT "http://bugs.libgd.org" >>> | #define PACKAGE "gd" >>> | #define VERSION "2.0.35" >>> | #define STDC_HEADERS 1 >>> | #define HAVE_SYS_TYPES_H 1 >>> | #define HAVE_SYS_STAT_H 1 >>> | #define HAVE_STDLIB_H 1 >>> | #define HAVE_STRING_H 1 >>> | #define HAVE_MEMORY_H 1 >>> | #define HAVE_STRINGS_H 1 >>> | #define HAVE_INTTYPES_H 1 >>> | #define HAVE_STDINT_H 1 >>> | #define HAVE_UNISTD_H 1 >>> | #define HAVE_DLFCN_H 1 >>> | #define STDC_HEADERS 1 >>> | #define HAVE_ERRNO_H 1 >>> | #define HAVE_LIMITS_H 1 >>> | #define HAVE_STDDEF_H 1 >>> | #define HAVE_STDLIB_H 1 >>> | #define HAVE_STRING_H 1 >>> | #define HAVE_UNISTD_H 1 >>> | #define HAVE_ICONV 1 >>> | #define ICONV_CONST const >>> | #define HAVE_ICONV_H 1 >>> | #define HAVE_ICONV_T_DEF 1 >>> | #define HAVE_LIBZ 1 >>> | #define HAVE_PNG_H 1 >>> | #define HAVE_LIBPNG 1 >>> | #define HAVE_LIBFREETYPE 1 >>> | /* end confdefs.h. */ >>> | #include <ft2build.h> >>> configure:23815: result: no >>> configure:23848: checking for ft2build.h >>> configure:23856: result: no >>> configure:23866: result: no ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users