hello everyone and thanks for the great work ! Yesterday I've dl and build sage5.0 on my Ubuntu 12.04 64bits (intel i5-2450M) and couldn't get the matplotlib built.
In fact I tried to build sage inside the dl directory which is named "Téléchargements" in french instead of Downloads... While most of the packages could built whithout any trouble, matplotlib doesn't support non ASCII chars in the path... (not sure it's the only one by the way...) Following are the relevant parts of the matplotlib-1.1.0 log file. As you can see the "basedirlist" env variable doesn't handle non ASCII chars, which leads to compilation failure. It's might not be consider as a bug, Anyway, I think this part of the online doc (http://www.sagemath.org/doc/installation/source.html) should be updated : <quote>Make sure there are no spaces in the path name for the directory in which you build"</quote> to <proposition>Make sure there are no spaces nor non ASCII chars in the path name for the directory in which you build</proposition> By the way, trying a "file -i $SAGE_DIR/spkg/logs/*" highlights the fact that matplotlib-1.1.0.log is the only log file (with the exception of prereq-1.0.log in ASCII) which is in iso-8859-1 whereas all other files are in utf-8... Hope this might help other users ! ==================================================== Extracting package /home/etienne/Téléchargements/sage-5.0/spkg/standard/matplotlib-1.1.0.spkg -rw-r--r-- 1 etienne etienne 8607268 mai 14 14:36 /home/etienne/Téléchargements/sage-5.0/spkg/standard/matplotlib-1.1.0.spkg Finished extraction **************************************************** Host system: Linux Anost 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux **************************************************** C compiler: gcc C compiler version: Utilisation des specs internes. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configuré avec: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable$ Modèle de thread: posix gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) **************************************************** [...] basedirlist is: ['/home/etienne/T\xc3\xa9l\xc3\xa9chargements/sage-5.0/local'] [...] building 'matplotlib.ft2font' extension gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 -I/home/etienne/Tél$ In file included from src/ft2font.h:16:0, from src/ft2font.cpp:3: /home/etienne/Téléchargements/sage-5.0/local/include/ft2build.h:56:38: erreur fatale: freetype/config/ftheader.h : Aucun fichier ou dossier de ce type compilation terminée. error: command 'gcc' failed with exit status 1 Error building matplotlib package. real 0m0.930s user 0m0.632s sys 0m0.140s ************************************************************************ Error installing package matplotlib-1.1.0 ************************************************************************ -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
