On Jan 20, 2005, at 8:06 PM, Koen van der Drift wrote:


On Jan 19, 2005, at 7:38 PM, Alexander K.Hansen wrote:

The freetype/freetype.h header that throws the error because ft2build.h was not included before actually has

#include <ft2build.h>



Not sure how/if it is related, but I just got another ft2build.h error when compiling the package sdl-ttf-2.0.6-16:


/bin/sh ./libtool --mode=compile gcc -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/sw/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -c SDL_ttf.c
mkdir .libs
gcc -DPACKAGE=\"SDL_ttf\" -DVERSION=\"2.0.6\" -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -I. -I. -g -O2 -I/usr/X11R6/include/freetype2 -I/usr/X11R6/include -I/sw/include/SDL -D_THREAD_SAFE -DHAVE_OPENGL -c SDL_ttf.c -fno-common -DPIC -o .libs/SDL_ttf.lo
In file included from SDL_ttf.c:42:
/usr/X11R6/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!"
/usr/X11R6/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files."
/usr/X11R6/include/freetype2/freetype/freetype.h:22:2: #error "Example:"
/usr/X11R6/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>"
/usr/X11R6/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H"
make: *** [SDL_ttf.lo] Error 1
### execution of make failed, exit code 2
Failed: compiling sdl-ttf-2.0.6-16 failed



I checked my packages, and freetype(-hinting) is not installed. After installing freetype2 (-dev, -shlibs) or freetype2-hinting (-dev, -shlibs), I still get the same errors.




Package manager version: 0.23.5
Distribution version: 0.7.1.cvs
unstable tree
Mac OS X 10.3.7
xorg installed through fink.


- Koen.




Indeed, this does look to be the same error that occurred with the xpdf build.


--
Alexander K. Hansen
Fink Documentarian
Day Job:  Levitated Dipole Experiment
http://www.psfc.mit.edu/LDX



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to