Opened 15 years ago
Closed 15 years ago
#24452 closed defect (worksforme)
port install py26-matplotlib hangs on OS X
Reported by: | paul.dunham@… | Owned by: | skymoo (Adam Mercer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | ||
Port: | py26-matplotlib |
Description (last modified by skymoo (Adam Mercer))
I am running Snow Leopard OS X 10.6.3. When I try to install matplot lib, the install hangs at: ---> Building py26-matplotlib
No CPU is being consumed, it just sits there. Any ideas?
Here is the output from the command
sudo port install py26-matplotlib ---> Deactivating py26-pyobjc2 @2.0_2 ---> Computing dependencies for py26-pyobjc ---> Activating py26-pyobjc2 @2.0_2 ---> Cleaning py26-pyobjc2 ---> Cleaning py26-pyobjc ---> Deactivating py26-pyobjc2-cocoa @2.0_2 ---> Computing dependencies for py26-pyobjc-cocoa ---> Activating py26-pyobjc2-cocoa @2.0_2 ---> Cleaning py26-pyobjc2-cocoa ---> Cleaning py26-pyobjc-cocoa ---> Computing dependencies for py26-matplotlib ---> Fetching py26-matplotlib ---> Attempting to fetch matplotlib-0.99.1.2.tar.gz from http://distfiles.macports.org/python ---> Verifying checksum(s) for py26-matplotlib ---> Extracting py26-matplotlib ---> Applying patches to py26-matplotlib ---> Configuring py26-matplotlib ---> Building py26-matplotlib
When I run with -d I see this:
---> Building py26-matplotlib DEBUG: Executing org.macports.build (py26-matplotlib) DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.6' MPLIB_BASE='/opt/local' PKG_CONFIG_PATH='/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/pkgconfig/' DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py26-matplotlib/work/matplotlib-0.99.1.1" && /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6 setup.py --no-user-cfg build'
Attachments (1)
Change History (12)
comment:1 Changed 15 years ago by skymoo (Adam Mercer)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to ram@… |
Port: | py26-matplotlib added |
Status: | new → assigned |
comment:2 Changed 15 years ago by paul.dunham@…
I attached the log for the following cmd: sudo port -d install py26-matplotlib
comment:3 Changed 15 years ago by skymoo (Adam Mercer)
you didn't clean the tree beforehand, I need
$ sudo port clean py26-matplotlib $ sudo port -d install py26-matplotlib
Changed 15 years ago by paul.dunham@…
Attachment: | matplotlib.log added |
---|
log of install (did clean 1st this time.)
comment:4 Changed 15 years ago by skymoo (Adam Mercer)
I cannot reproduce this on my 64bit Snow Leopard system:
$ sudo port install py26-matplotlib +cairo +ghostscript +gtk2 +latex +qt4 +tkinter ---> Deactivating py26-pyobjc2 @2.0_2 ---> Computing dependencies for py26-pyobjc ---> Activating py26-pyobjc2 @2.0_2 ---> Cleaning py26-pyobjc2 ---> Cleaning py26-pyobjc ---> Deactivating py26-pyobjc2-cocoa @2.0_2 ---> Computing dependencies for py26-pyobjc-cocoa ---> Activating py26-pyobjc2-cocoa @2.0_2 ---> Cleaning py26-pyobjc2-cocoa ---> Cleaning py26-pyobjc-cocoa ---> Computing dependencies for py26-matplotlib ---> Fetching py26-matplotlib ---> Verifying checksum(s) for py26-matplotlib ---> Extracting py26-matplotlib ---> Applying patches to py26-matplotlib ---> Configuring py26-matplotlib ---> Building py26-matplotlib ---> Staging py26-matplotlib into destroot ---> Installing py26-matplotlib @0.99.1.2_0+cairo+ghostscript+gtk2+latex+qt4+tkinter ---> Activating py26-matplotlib @0.99.1.2_0+cairo+ghostscript+gtk2+latex+qt4+tkinter The default backend is now the non-interactive Agg backend, different backends can be specified using the ~/.matplotlib/matplotlibrc file. More details, regarding backends, can be found in the matplotlib FAQ: http://matplotlib.sourceforge.net/faq/installing_faq.html#what-is-a-backend ---> Cleaning py26-matplotlib $
is your ports tree up-to-date?
comment:5 Changed 15 years ago by skymoo (Adam Mercer)
There is nothing in the log that tells me why its hanging... do you get the same behaviour with other python ports?
comment:8 Changed 15 years ago by masato.onodera@…
I had exactly the same problem on my Mac OS X 10.5.8. I tried to re-install MacPorts after removing /opt, but still failed to build. Then I found that X11 was not installed or removed for some reason, which caused the problem. After I've installed XQuartz 2.5.0, I was able to build and install py26-matplotlib correctly.
comment:9 follow-up: 10 Changed 15 years ago by skymoo (Adam Mercer)
Having X11 installed is a requirement of MacPorts, either the OS version or from the xorg-server port. However I would have expected an error message instead of the installation hanging...
Paul, does installing X fix your problem as well?
comment:10 Changed 15 years ago by paul.dunham@…
Replying to ram@…:
Having X11 installed is a requirement of MacPorts, either the OS version or from the xorg-server port. However I would have expected an error message instead of the installation hanging...
Paul, does installing X fix your problem as well?
Thank you all for the suggestions. It turns out the problem was in my PATH specification. I have overridden it to allow me to debug QT sessions. Once I edited my .bash_profile to not modify my PATH, the install worked fine. I am up and running w/ matplotlib.
comment:11 Changed 15 years ago by skymoo (Adam Mercer)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
can you attach the full debug log