Hello,
I tried to compile sage 5.1 on Mageia 2. It did not work. Below is the log file 
and the result of ../sage. Since it is the first time I compile a program, I do 
not know what to do and I do not want to make a mistake. Could anyone help me 
(or tell me if I send this email to a wrong google group) ?
Bests,
Matthieu Deneufchâtel

[matthieu@localhost sage-5.1]$ ./sage
----------------------------------------------------------------------
| Sage Version 5.1, Release Date: 2012-07-09                         |
| Type "notebook()" for the browser-based notebook interface.        |
| Type "help()" for help.                                            |
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/bin/sage-ipython", 
line 18, in <module>
    import IPython
ImportError: No module named IPython
[matthieu@localhost sage-5.1]$




[matthieu@localhost sage-5.1]$ kwrite 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/logs/matplotlib-1.1.0.log
matplotlib-1.1.0
====================================================
Extracting package 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/standard/matplotlib-1.1.0.spkg
-rw-r--r-- 1 matthieu matthieu 8607268 mai   14 14:36 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/standard/matplotlib-1.1.0.spkg
Finished extraction
****************************************************
Host system:
Linux localhost.localdomain 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:25:59 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=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/libexec/gcc/x86_64-unknown-linux-gnu/4.6.3/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configuré avec: ../src/configure 
--prefix=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-local-prefix=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-gmp=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-mpfr=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-mpc=/home/matthieu/Documents/Thèse/Sage/sage-5.1/local 
--with-system-zlib --disable-multilib  
Modèle de thread: posix
gcc version 4.6.3 (GCC) 
****************************************************
NOTE: Set SAGE_MATPLOTLIB_GUI to anything but 'no' to try to build the 
Matplotlib GUI.
Not building any matplotlib graphical backends.
patching file lib/matplotlib/__init__.py
patching file lib/matplotlib/finance.py
patching file lib/matplotlib/texmanager.py
patching file setupext.py
basedirlist is: ['/home/matthieu/Documents/Th\xc3\xa8se/Sage/sage-5.1/local']
============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.1.0
                python: 2.7.3 (default, Jul 27 2012, 14:33:32)  [GCC 4.6.3]
              platform: linux2

REQUIRED DEPENDENCIES
Traceback (most recent call last):
  File "setup.py", line 116, in <module>
    if not check_for_numpy():
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0/src/setupext.py",
 line 534, in check_for_numpy
    import numpy
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__init__.py",
 line 122, in <module>
    from numpy.__config__ import show as show_config
  File 
"/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__config__.py",
 line 1
SyntaxError: Non-ASCII character '\xc3' in file 
/home/matthieu/Documents/Thèse/Sage/sage-5.1/local/lib/python2.7/site-packages/numpy/__config__.py
 on line 1, but no encoding declared; see 
http://www.python.org/peps/pep-0263.html for details
Error building matplotlib package.

real    0m0.228s
user    0m0.173s
sys    0m0.050s
************************************************************************
Error installing package matplotlib-1.1.0
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/logs/matplotlib-1.1.0.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0 and 
type 'make' or whatever is appropriate.
Instead, the following commands setup all environment variables
correctly and load a subshell for you to debug the error:
  (cd 
'/home/matthieu/Documents/Thèse/Sage/sage-5.1/spkg/build/matplotlib-1.1.0' && 
'/home/matthieu/Documents/Thèse/Sage/sage-5.1/sage' -sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
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-combinat-devel?hl=en.

Reply via email to