Hello !

As it's recommanded, I give here the error I get when I try to compile sage 
5.10 on my MacBook pro :

---

gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall 
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Applications/sage-5.10/local/include -I/Applications/sage-5.10/local/include 
-I. 
-I/Applications/sage-5.10/local/lib/python2.7/site-packages/numpy/core/include 
-I. -I/Applications/sage-5.10/local/include/python2.7 -c CXX/cxxextensions.c -o 
build/temp.macosx-10.8-x86_64-2.7/CXX/cxxextensions.o
g++ -bundle -undefined dynamic_lookup -L/Applications/sage-5.10/local/lib 
build/temp.macosx-10.8-x86_64-2.7/src/_png.o 
build/temp.macosx-10.8-x86_64-2.7/src/mplutils.o 
build/temp.macosx-10.8-x86_64-2.7/CXX/cxx_extensions.o 
build/temp.macosx-10.8-x86_64-2.7/CXX/cxxsupport.o 
build/temp.macosx-10.8-x86_64-2.7/CXX/IndirectPythonInterface.o 
build/temp.macosx-10.8-x86_64-2.7/CXX/cxxextensions.o 
-L/Applications/sage-5.10/local/lib -lpng -lz -lstdc++ -lm -o 
build/lib.macosx-10.8-x86_64-2.7/matplotlib/_png.so
ld: library not found for -lpng
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
Error building matplotlib package.

real    1m25.949s
user    1m2.714s
sys     0m3.414s
************************************************************************
Error installing package matplotlib-1.2.1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
  /Applications/sage-5.10/logs/pkgs/matplotlib-1.2.1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/sage-5.10/spkg/build/matplotlib-1.2.1 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 '/Applications/sage-5.10/spkg/build/matplotlib-1.2.1' && 
'/Applications/sage-5.10/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.
************************************************************************
make[2]: *** [/Applications/sage-5.10/spkg/installed/matplotlib-1.2.1] Error 1
make[1]: *** [all] Error 2

real    204m19.622s
user    163m9.197s
sys     17m16.147s
***************************************************************
Error building Sage.

The following package(s) may have failed to build:

package: matplotlib-1.2.1
log file: /Applications/sage-5.10/logs/pkgs/matplotlib-1.2.1.log
build directory: /Applications/sage-5.10/spkg/build/matplotlib-1.2.1

The build directory may contain configuration files and other potentially
helpful information. WARNING: if you now run 'make' again, the build
directory will, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.

make: *** [build] Error 1
MacBook-Pro-de-Paul:sage-5.10 mercat$

---

I would like very much to fix this problem, because I would like to participate 
to the developpement of sage (for example to add finite state automatons).
Thank you !

Paul

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to