Opened 13 years ago
Closed 12 years ago
#34372 closed defect (fixed)
alps @2.0.1 configure failure: shell command failed
Reported by: | martin.haeufel@… | Owned by: | gamperl@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | ||
Port: | alps |
Description (last modified by mf2k (Frank Schima))
Mac OS X Lion 10.7.3 (11D50)
Xcode 4.3.2 (4E2002)
The port alps @2.0.1 failed to configure. Output (last few lines):
---> Configuring alps Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for alps is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_alps/alps/main.log Error: Status 1 encountered during processing.
Attachments (2)
Change History (12)
Changed 13 years ago by martin.haeufel@…
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Cc: | gamperl@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to gamperl@… |
Port: | @2.0.1 removed |
comment:2 Changed 13 years ago by gamperl@…
CMake cannot find your numpy installation:
[...] 578 :info:configure ImportError: No module named numpy 579 :info:configure CMake Error at config/FindPython.cmake:73 (MESSAGE): 580 :info:configure The script : import numpy [...]
can our try if numpy is properly installed? Type in your shell:
python
import numpy as np np.array([1, 2, 3])
comment:3 Changed 13 years ago by martin.haeufel@…
Output is:
>>> import numpy as np Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: No module named numpy
Thanks for the immediate reply! Martin
comment:4 Changed 13 years ago by gamperl@…
this means numpy is not installed. can you check our python version by python --version
and see if numpy is installed by port installed py26-numpy
(if you are using python 2.7 call port installed py27-numpy
)
comment:5 Changed 13 years ago by martin.haeufel@…
I am using Python 2.7:
$ python Python 2.7.3 (default, Apr 19 2012, 00:55:09) [GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)] on darwin
$ port installed py26-numpy The following ports are currently installed: py26-numpy @1.6.1_1 (active) $ port installed py27-numpy None of the specified ports are installed.
Do I have to select a different python version? Actually I do not even know if I am using the Mac OS one or the one from MacPorts.
Best, Martin
comment:6 follow-up: 8 Changed 13 years ago by gamperl@…
can you run sudo port select --set python python26
and install alps again?
comment:7 Changed 13 years ago by mf2k (Frank Schima)
Note that alps should ideally be modified to add python variants (python26, python27, python31 and python32) so the user can use their desired python version. Also, it should not actually rely on what the user has "select"ed for their python. It should use, and be patched to do so if necessary, the absolute path to the selected pythonXY variant.
comment:8 Changed 13 years ago by martin.haeufel@…
Replying to gamperl@…:
can you run
sudo port select --set python python26
and install alps again?
I tried that:
$ sudo port select --set python python26 Selecting 'python26' for 'python' succeeded. 'python26' is now active.
Unfortunately I am still getting an error message:
---> Building alps Error: Target org.macports.build returned: shell command failed (see log for details) Log for alps is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_alps/alps/main.log Error: Status 1 encountered during processing.
Log file uploaded.
comment:9 Changed 12 years ago by gamperl@…
The alps port has been updated to 2.1.1 . These issues should be solved by now
comment:10 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Closing as per comment:9.
log file