[MacPorts] #34372: alps @2.0.1 configure failure: shell command failed
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps @2.0.1 --------------------------------------+------------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/34372> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Changes (by macsforever2000@…): * cc: gamperl@… (removed) * owner: macports-tickets@… => gamperl@… * port: alps @2.0.1 => alps Old description:
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.
New description: 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. }}} -- -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(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])
-- Ticket URL: <https://trac.macports.org/ticket/34372#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(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
-- Ticket URL: <https://trac.macports.org/ticket/34372#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(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}}}) -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(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 -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(by gamperl@…): can you run {{{sudo port select --set python python26}}} and install alps again? -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(by macsforever2000@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(by martin.haeufel@…): Replying to [comment:6 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. -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed --------------------------------------+------------------------------------- Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: alps --------------------------------------+------------------------------------- Comment(by gamperl@…): The alps port has been updated to 2.1.1 . These issues should be solved by now -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34372: alps @2.0.1 configure failure: shell command failed ---------------------------------------+------------------------------------ Reporter: martin.haeufel@… | Owner: gamperl@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: alps | ---------------------------------------+------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: Closing as per comment:9. -- Ticket URL: <https://trac.macports.org/ticket/34372#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts