Installing py25-matplotlib fails

Suresh Pillai stochashtic at yahoo.ca
Thu Mar 6 05:45:55 PST 2008


Bizzarely it does work if you make a second attempt to install any of the 
various py25 libs that all fail with this same error.

However, you may be disappointed like me to to then get a segmentation 
fault for matplotlib when calling pylab.show()

Python from macports on leopard just seems to be nothing but trouble.  I 
ended up installing matplotlib manually from their site against the system 
installation of python and everything works painlessly.

Cheers,
Suresh

On Wed, 5 Mar 2008, Adam Mercer wrote:

> On Wed, Mar 5, 2008 at 11:35 PM,  <skip at pobox.com> wrote:
>>
>>  I'm unable to install the py25-matplotlib port on my Leopard box.  It chunks
>>  along for awhile installing various things then barfs on py25-hashlib:
>>
>>     --->  Fetching py25-hashlib
>>     --->  Verifying checksum(s) for py25-hashlib
>>     --->  Extracting py25-hashlib
>>     --->  Configuring py25-hashlib
>>     --->  Building py25-hashlib with target build
>>     Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py25-hashlib/work/Python-2.5.2/Modules" && /opt/local/bin/python2.5 setup.py build " returned error 1
>>     Command output: running build
>>     running build_ext
>>     building '_hashlib' extension
>>     creating build
>>     creating build/temp.macosx-10.3-i386-2.5
>>     -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/opt/local/include -I/opt/local/include/python2.5 -c _hashopenssl.c -o build/temp.macosx-10.3-i386-2.5/_hashopenssl.o
>>     unable to execute -DNDEBUG: No such file or directory
>>     error: command '-DNDEBUG' failed with exit status 1
>>
>>     Error: The following dependencies failed to build: py25-numpy py25-hashlib py25-tkinter tcl tk
>>     Error: Status 1 encountered during processing.
>
> I've seen this before, although no idea what causes it. Chances are if
> you try installing again, it'll work.
>
> Cheers
>
> Adam
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>

-----
Suresh Pillai | Entrepreneurial Risks <- D-MTEC <- ETH Zürich
               | http://www.er.ethz.ch/


More information about the macports-users mailing list