From: Nils W. <nw...@me...> - 2004-07-22 08:17:21
|
Hi all, I am going to build the matplotlib users guide. However python setup.py install failed with the follwoing message gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -IlibImaging -I/usr/include/python2.3 -c Tk/tkImaging.c -o build/temp.linux-i686-2.3/Tk/tkImaging.o Tk/tkImaging.c: In function `TkImaging_Init': Tk/tkImaging.c:198: warning: passing arg 3 of `Tcl_CreateCommand' from incompatible pointer type gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -IlibImaging -I/usr/include/python2.3 -c _imagingtk.c -o build/temp.linux-i686-2.3/_imagingtk.o gcc -pthread -shared build/temp.linux-i686-2.3/_imagingtk.o build/temp.linux-i686-2.3/Tk/tkImaging.o -LlibImaging -lImaging -ltk8.4 -ltcl8.4 -o build/lib.linux-i686-2.3/_imagingtk.so building '_imagingft' extension gcc -pthread -fno-strict-aliasing -DNDEBUG -D_FILE_OFFSET_BITS=64 -DHAVE_LARGEFILE_SUPPORT -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -IlibImaging -I/usr/include/freetype2 -I/usr/include/python2.3 -c _imagingft.c -o build/temp.linux-i686-2.3/_imagingft.o In file included from _imagingft.c:18: /usr/include/freetype2/freetype/freetype.h:20:2: #error "`ft2build.h' hasn't been included yet!" /usr/include/freetype2/freetype/freetype.h:21:2: #error "Please always use macros to include FreeType header files." /usr/include/freetype2/freetype/freetype.h:22:2: #error "Example:" /usr/include/freetype2/freetype/freetype.h:23:2: #error " #include <ft2build.h>" /usr/include/freetype2/freetype/freetype.h:24:2: #error " #include FT_FREETYPE_H" error: command 'gcc' failed with exit status 1 Any pointer would be appreciated. Nils |