2 | | |
3 | | {{{ |
4 | | :notice:build ---> Building py27-matplotlib |
5 | | :debug:build Executing proc-pre-org.macports.build-build-0 |
6 | | :debug:build Executing org.macports.build (py27-matplotlib) |
7 | | :debug:build Environment: CPATH='/opt/local/include' CFLAGS='-arch x86_64' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' PKG_CONFIG_PATH='/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/pkgconfig/' CXX='/usr/bin/clang++' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/.CC_PRINT_OPTIONS' F90FLAGS='-m64' LDFLAGS='-arch x86_64' FCFLAGS='-m64' OBJC='/usr/bin/clang' OBJCFLAGS='-arch x86_64' FFLAGS='-m64' CC_PRINT_OPTIONS='YES' MPLIB_BASE='/opt/local' CC='/usr/bin/clang' |
8 | | :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.2.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build' |
9 | | :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.2.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build |
10 | | :info:build basedirlist is: ['/opt/local'] |
11 | | :info:build ============================================================================ |
12 | | :info:build BUILDING MATPLOTLIB |
13 | | :info:build matplotlib: 1.2.0 |
14 | | :info:build python: 2.7.3 (default, Dec 27 2012, 09:11:40) [GCC 4.2.1 |
15 | | :info:build Compatible Apple Clang 4.1 |
16 | | :info:build ((tags/Apple/clang-421.11.66))] |
17 | | :info:build platform: darwin |
18 | | :info:build |
19 | | :info:build REQUIRED DEPENDENCIES |
20 | | :info:build numpy: no |
21 | | :info:build * You must install numpy 1.4 or later to build |
22 | | :info:build * matplotlib. |
23 | | :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.2.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build |
24 | | :info:build Exit code: 1 |
25 | | :error:build org.macports.build for port py27-matplotlib returned: command execution failed |
26 | | }}} |
27 | | |
28 | | But numpy is installed: |
29 | | |
| 6 | |
| 7 | $ which python |
| 8 | /opt/local/bin/python |
| 9 | |
| 10 | $ python |
| 11 | Python 2.7.3 (default, Dec 27 2012, 09:11:40) |
| 12 | [GCC 4.2.1 Compatible Apple Clang 4.1 ((tags/Apple/clang-421.11.66))] on darwin |
| 13 | Type "help", "copyright", "credits" or "license" for more information. |
| 14 | >>> import numpy |
| 15 | Traceback (most recent call last): |
| 16 | File "<stdin>", line 1, in <module> |
| 17 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/__init__.py", line 137, in <module> |
| 18 | import add_newdocs |
| 19 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/add_newdocs.py", line 9, in <module> |
| 20 | from numpy.lib import add_newdoc |
| 21 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/__init__.py", line 13, in <module> |
| 22 | from polynomial import * |
| 23 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/polynomial.py", line 17, in <module> |
| 24 | from numpy.linalg import eigvals, lstsq |
| 25 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/__init__.py", line 48, in <module> |
| 26 | from linalg import * |
| 27 | File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/linalg.py", line 23, in <module> |
| 28 | from numpy.linalg import lapack_lite |
| 29 | ImportError: dlopen(/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so, 2): |
| 30 | Symbol not found: _omp_get_num_threads |
| 31 | Referenced from: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so |
| 32 | Expected in: flat namespace |
| 33 | in /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so |
| 34 | >>> |
| 35 | |