Hello everyone,

I have built sage 5.0 from source and want to use matplotlib interactively.

I have followed the instructions in http://wiki.sagemath.org/sage_matlab

This process worked for me in sage 4.8. Now, however, at step 9
(Now rebuild matplotlib again with "sage -f matplotlib". It should build 
cleanly now.)

It doesn't build cleanly. Here is the error report:

ld: warning: directory '/Users/jim/sage/sage-5.0/local/lib' following -L not 
found
building 'matplotlib.backends._macosx' extension
gcc -DNDEBUG -g -fwrapv -O3 -Wall -O2 -g -m64 
-DPY_ARRAY_UNIQUE_SYMBOL=MPL_ARRAY_API -DPYCXX_ISO_CPP_LIB=1 
-I/Applications/sage-5.0/local/lib/python2.7/site-packages/numpy/core/include 
-I/Applications/sage-5.0/local/include -I. 
-I/Applications/sage-5.0/local/lib/python2.7/site-packages/numpy/core/include 
-Isrc -Iagg24/include -I. -I/Applications/sage-5.0/local/include/python2.7 -c 
src/_macosx.m -o build/temp.macosx-10.6-x86_64-2.7/src/_macosx.o
gcc: error: src/_macosx.m: Objective-C compiler not installed on this system
error: command 'gcc' failed with exit status 1
Error building matplotlib package.

real    1m10.565s
user    0m58.168s
sys     0m4.852s
************************************************************************
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
  /Applications/sage-5.0/spkg/logs/matplotlib-1.1.0.log
Describe your computer, operating system, etc.

I'm running Mac OS X 10.6.8

(Background: I started the thread yesterday "[sage-support] Sage 5.0 crashing, 
is unusable"
which resulted in the trac ticket 
http://trac.sagemath.org/sage_trac/ticket/12954
I am not the only person reporting this problem.)
So I have built sage 5.0 from source, and it now works, except for the 
matplotlib interactive calls.

Thanks in advance for any help provided.

Jim Clark

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to