[MacPorts] #39263: xraylib: configure fails
#39263: xraylib: configure fails --------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: xraylib --------------------------+------------------------------ xraylib fails to configure: {{{ checking python extra linking flags... -u _PyMac_Error Python.framework/Versions/2.7/Python checking consistency of all components of python development environment... no configure: WARNING: Could not link test program to Python. Maybe the main Python library has been installed in some non-standard library path. ============================================================================ ERROR! You probably have to install the development version of the Python package for your distribution. The exact name of this package varies among them. ============================================================================ configure: error: Incomplete python development package }}} The config.log says: {{{ configure:17815: checking python extra linking flags configure:17822: result: -u _PyMac_Error Python.framework/Versions/2.7/Python configure:17829: checking consistency of all components of python development environment configure:17855: /usr/bin/clang -o conftest -pipe -Os -arch x86_64 -arch i386 -I/opt/local/include -I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -arch i386 conftest.c -lm -lm -lm -lm -L/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib -lpython2.7 -u _PyMac_Error Python.framework/Versions/2.7/Python -arch x86_64 -arch i386 -isysroot / -L/opt/local/lib -Wl,-headerpad_max_install_names -L/opt/local/lib/db46 -arch x86_64 -arch i386 -ldl -framework CoreFoundation >&5 clang: error: no such file or directory: 'Python.framework/Versions/2.7/Python' configure:17855: $? = 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/39263> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: xraylib | ---------------------------+------------------------------ Comment (by Tom.Schoonjans@…): Thanks for reporting this: this is related to http://trac.macports.org/ticket/39223 xraylib will build again nicely when they fix this bug... Tom -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: xraylib | ---------------------------+------------------------------ Comment (by ryandesign@…): My reading of #39223 says that it's not a Python bug; it's a bug in the software that's trying to use Python. -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: xraylib | ---------------------------+------------------------------ Comment (by Tom.Schoonjans@…): Ok then... looks like that autoconf macro I've been using all those years isn't working anymore... I've updated the portfile and have created new patch files. I also noticed that xraylib wasn't compatible with lua 5.2, that's also fixed now. Variants for python33 and gcc48 were added as well, while g95 was removed. -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: xraylib | ---------------------------+------------------------------ Comment (by Tom.Schoonjans@…): Hey, Can you check if these patches work? I'd really like this to be fixed since currently the port won't even build with the default variant... These new patches will replace all the existing ones. Thanks, Tom -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: haspatch Port: xraylib | ---------------------------+------------------------------ Changes (by ryandesign@…): * keywords: => haspatch * status: new => closed * resolution: => fixed Comment: Thanks. Committed in r106665 with the minor change of fixing the python33 variant to depend on python33 instead of python32. -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39263: xraylib: configure fails ---------------------------+------------------------------ Reporter: ryandesign@… | Owner: Tom.Schoonjans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: haspatch Port: xraylib | ---------------------------+------------------------------ Comment (by Tom.Schoonjans@…): Thanks! Could you also have a look at my port submissions #38755 and #39255? Thanks in advance, Tom -- Ticket URL: <https://trac.macports.org/ticket/39263#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts