#39263 closed defect (fixed)
xraylib: configure fails
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | Tom.Schoonjans@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | haspatch | Cc: | |
Port: | xraylib |
Description
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
Attachments (6)
Change History (12)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | config.log added |
---|
comment:1 Changed 11 years ago by Tom.Schoonjans@…
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
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.
comment:3 Changed 11 years ago 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.
Changed 11 years ago by Tom.Schoonjans@…
Attachment: | configure.ac.diff added |
---|
Delete all existing patchfiles please
Changed 11 years ago by Tom.Schoonjans@…
Attachment: | Portfile.diff added |
---|
Changed 11 years ago by Tom.Schoonjans@…
Attachment: | python_xrlsetup.py.in.diff added |
---|
Changed 11 years ago by Tom.Schoonjans@…
Attachment: | xraylib.i.diff added |
---|
comment:4 Changed 11 years ago 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
comment:5 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Thanks. Committed in r106665 with the minor change of fixing the python33 variant to depend on python33 instead of python32.
Thanks for reporting this: this is related to #39223 xraylib will build again nicely when they fix this bug...
Tom