[MacPorts] #47428: port install lalapps
#47428: port install lalapps -------------------------+-------------------------------- Reporter: f.jimenez@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: -------------------------+-------------------------------- Hi all, I'm getting this error when I try to install the lalapps app. via port. I've already installed python version 2.7, but something is wrong with python2.7 binary file that is saved in this path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (my /opt/local/bin/python2.7 points to this file) I'm pretty sure that I somehow broke the python2.7 installation but I do not know now how to recover it. This is the error that appears in main.log. I have also attached this file. :info:configure checking whether /opt/local/bin/python2.7 version is >= 2.6... no :info:configure configure: error: Python interpreter is too old. Thanks a lot Xisco -- Ticket URL: <https://trac.macports.org/ticket/47428> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+------------------- Changes (by mf2k@…): * owner: macports-tickets@… => ram@… * port: => lal Old description:
Hi all,
I'm getting this error when I try to install the lalapps app. via port. I've already installed python version 2.7, but something is wrong with python2.7 binary file that is saved in this path: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (my /opt/local/bin/python2.7 points to this file)
I'm pretty sure that I somehow broke the python2.7 installation but I do not know now how to recover it. This is the error that appears in main.log. I have also attached this file.
:info:configure checking whether /opt/local/bin/python2.7 version is >= 2.6... no :info:configure configure: error: Python interpreter is too old.
Thanks a lot Xisco
New description: Hi all, I'm getting this error when I try to install the lalapps app. via port. I've already installed python version 2.7, but something is wrong with python2.7 binary file that is saved in this path: {{{ /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 (my /opt/local/bin/python2.7 points to this file) }}} I'm pretty sure that I somehow broke the python2.7 installation but I do not know now how to recover it. This is the error that appears in main.log. I have also attached this file. {{{ :info:configure checking whether /opt/local/bin/python2.7 version is >= 2.6... no :info:configure configure: error: Python interpreter is too old. }}} Thanks a lot Xisco -- -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+------------------- Comment (by mf2k@…): In the future, please use WikiFormatting, fill in the Port field with the port that fails to build and Cc the port maintainers ({{{port info --maintainers lal}}}), if any. This is not a clean build log. Please {{{clean}}} the port and try again. Then attach the new main.log file. -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+------------------- Comment (by ram@…): The `config.log` would also be useful to see why it thinks `python2.7` is too old. -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Changes (by ram@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Comment (by f.jimenez@…): Hi, sorry for not posting correctly the error! I've already uploaded main.log and config.log files Now that I've checked the config file I see that the library ac_nonexistent.h is missing. On the other hand and in the case this helps you, this is what my output shows when executing the python binary: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 python2.7: posix_spawn: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.72.7: No such file or directory Notice that, strangely, when I call python2.7, my bash is trying to find some weird and non-existent binary called python2.72.7 being python2.7 not linked to any other file. Feel free to ask me more questions! Thanks in advance Xisco -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Comment (by ram@…): Replying to [comment:5 f.jimenez@…]:
Now that I've checked the config file I see that the library ac_nonexistent.h is missing.
That is expected, and the correct behaviour.
On the other hand and in the case this helps you, this is what my output shows when executing the python binary:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
python2.7: posix_spawn: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.72.7: No such file or directory
Notice that, strangely, when I call python2.7, my bash is trying to find some weird and non-existent binary called python2.72.7 being python2.7 not linked to any other file.
That is very weird. Not sure why it's referring to `python2.72.7`. On my system `/opt/local/bin/python2.7` is a symlink to the python interpreter in the `Python.framework`, is yours the same? {{{ [ram@hastur ~]$ ls -l /opt/local/bin/python2.7 lrwxr-xr-x 1 root admin 73 Dec 11 16:03 /opt/local/bin/python2.7 -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 [ram@hastur ~]$ }}} -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Comment (by f.jimenez@…): Hi, Yes, it shows me exactly the same: ls -l /opt/local/bin/python2.7 lrwxr-xr-x 1 root admin 73 Dec 14 00:15 /opt/local/bin/python2.7 -> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 What I remember I did (I think after breaking the link) was to copy the binary file /opt/local/bin/python2.7 to /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 I do not know the reason but seems that this file is corrupted. Do you have a clue how to reinstall it? -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Comment (by ram@…): Replying to [comment:7 f.jimenez@…]:
What I remember I did (I think after breaking the link) was to copy the binary file /opt/local/bin/python2.7 to
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 That would have probably broken things as on my system `/opt/local/bin/python2.7` is a symlink. If you deactivate the port and then reactivate it then that will hopefully get things working again. Try: {{{ $ sudo port -f deactivate python27 $ sudo port activate python27 }}} and if that doesn't do the trick, try: {{{ $ sudo port -f uninstall python27 $ sudo port install python27 }}} -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+---------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: lal | --------------------------+---------------------- Comment (by f.jimenez@…): Hi, sorry for the delay in the answer Finally uninstalling and instralling python27 solved the problem! $ sudo port -f uninstall python27 $ sudo port install python27 Thanks!!! Xisco Replying to [comment:8 ram@…]:
Replying to [comment:7 f.jimenez@…]:
What I remember I did (I think after breaking the link) was to copy the binary file /opt/local/bin/python2.7 to
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
That would have probably broken things as on my system `/opt/local/bin/python2.7` is a symlink. If you deactivate the port and then reactivate it then that will hopefully get things working again. Try:
{{{ $ sudo port -f deactivate python27 $ sudo port activate python27 }}}
and if that doesn't do the trick, try:
{{{ $ sudo port -f uninstall python27 $ sudo port install python27 }}}
-- Ticket URL: <https://trac.macports.org/ticket/47428#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#47428: Configure error installing lal --------------------------+-------------------- Reporter: f.jimenez@… | Owner: ram@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: lal | --------------------------+-------------------- Changes (by ram@…): * status: assigned => closed * resolution: => fixed Comment: Great! -- Ticket URL: <https://trac.macports.org/ticket/47428#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts