[MacPorts] #32660: boost at 1.48.0_3+python24 build fails

MacPorts noreply at macports.org
Sun Dec 25 20:41:09 PST 2011


#32660: boost at 1.48.0_3+python24 build fails
---------------------------------------+------------------------------------
 Reporter:  larry.velazquez@…          |       Owner:  adfernandes@…           
     Type:  defect                     |      Status:  new                     
 Priority:  Normal                     |   Milestone:                          
Component:  ports                      |     Version:  2.0.3                   
 Keywords:                             |        Port:  boost                   
---------------------------------------+------------------------------------
Changes (by ryandesign@…):

 * cc: adfernandes@… (removed)
  * owner:  macports-tickets@… => adfernandes@…


Comment:

 So the problems are:

 {{{
 :info:build notice: [python-cfg] Configuring python...
 :info:build notice: [python-cfg]   user-specified version: "2.4"
 :info:build notice: [python-cfg]   user-specified cmd-or-prefix:
 "/opt/local"
 :info:build notice: [python-cfg] Checking interpreter command
 "/opt/local/bin/python"...
 :info:build notice: [python-cfg] running command '"/opt/local/bin/python"
 -c "from sys import *;
 print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'
 %
 (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))"
 2>&1'
 :info:build notice: [python-cfg] ...version mismatch (looking for 2.4 but
 found 2.7)
 :info:build notice: [python-cfg] Checking interpreter command "python"...
 :info:build notice: [python-cfg] running command '"python" -c "from sys
 import *;
 print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'
 %
 (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))"
 2>&1'
 :info:build notice: [python-cfg] ...version mismatch (looking for 2.4 but
 found 2.7)
 :info:build notice: [python-cfg] Checking interpreter command
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python"...
 :info:build notice: [python-cfg] running command
 '"/opt/local/Library/Frameworks/Python.framework/Versions/2.4/bin/python"
 -c "from sys import *;
 print('version=%d.%d\nplatform=%s\nprefix=%s\nexec_prefix=%s\nexecutable=%s'
 %
 (version_info[0],version_info[1],platform,prefix,exec_prefix,executable))"
 2>&1'
 :info:build notice: [python-cfg] ...does not invoke a working interpreter
 :info:build notice: [python-cfg] No working Python interpreter found.
 :info:build notice: [python-cfg] falling back to "/opt/local/bin/python"
 :info:build notice: [python-cfg] Details of this Python configuration:
 :info:build notice: [python-cfg]   interpreter command:
 "/opt/local/bin/python"
 :info:build notice: [python-cfg]   include path: "/opt/local/Headers"
 :info:build notice: [python-cfg]   library path:
 "/opt/local/lib/python2.4/config" "/opt/local/lib"
 }}}
 {{{
 :info:build ./boost/python/detail/wrap_python.hpp:50:23: error:
 pyconfig.h: No such file or directory
 :info:build ./boost/python/detail/wrap_python.hpp:75:24: error:
 patchlevel.h: No such file or directory
 }}}

 The Portfile specifies that we want python to be /opt/local/bin/python2.4,
 but the configure script appears to ignore this and use the command
 /opt/local/bin/python, or just python, which it then discovers happens to
 be version 2.7 (probably because that's what you've selected with "`sudo
 port select python`"). Then it can't make this work ("`No working Python
 interpreter found`"), falls back to nonsensical defaults ("`include path:
 "/opt/local/Headers"`"), and then can't find the files it needs
 ("`pyconfig.h: No such file or directory`").

-- 
Ticket URL: <https://trac.macports.org/ticket/32660#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list