From: Marinescu Bogdan-b. <bog...@fr...> - 2004-07-22 10:22:56
|
Have you installed the freetype2 library (freetype.sourceforge.net)? I had the same problem last night while trying to build the wxagg backend, I had to download the library, install it and then play quite a bit with the settings in order to make it compile. It's not in the CVS layout. HTH. Bogdan -----Original Message----- From: mat...@li... [mailto:mat...@li...]On Behalf Of Nils Wagner Sent: Thursday, July 22, 2004 10:17 AM To: mat...@li... Subject: [Matplotlib-users] build the matplotlib users guide failed 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 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Matplotlib-users mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matplotlib-users |