Bug#586351: openturns: FTBFS with Python 2.6: Could not link test program to Python.
Jakub Wilk
jwilk at debian.org
Fri Jun 18 17:21:43 UTC 2010
Source: openturns
Version: 0.13.2-4
Severity: serious
User: debian-python at lists.debian.org
Usertags: python2.6
Tags: patch
Justification: FTBFS
Hello,
openturns fails to build from source. The relevant bits of the build log:
[…]
| checking for python... /usr/bin/python
| checking for python version... 2.6
| checking for python platform... linux2
| checking for python script directory... ${prefix}/lib/python2.6/dist-packages
| checking for python extension module directory... ${exec_prefix}/lib/python2.6/dist-packages
| checking whether Python has package PyQt4... no
| checking whether Python has package rpy2... yes
| checking for python2.6... (cached) /usr/bin/python
| checking for a version of Python >= '2.1.0'... yes
| checking for the distutils Python package... yes
| checking for Python include path... -I/usr/include/python2.6
| checking for Python library path... -L/usr/lib/python2.6 -lpython2.6
| checking for Python site-packages path... /usr/lib/python2.6/dist-packages
| checking python extra libraries... -lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz -lpthread -ldl -lutil
| checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions
| checking consistency of all components of python development environment... no
| configure: error:
| Could not link test program to Python. Maybe the main Python library has been
| installed in some non-standard library path. If so, pass it to configure,
| via the LDFLAGS environment variable.
| Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib"
| ============================================================================
| 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.
| ============================================================================
LOCALMODLIBS, which is expanded here to "-lssl -lcrypto -lssl -lcrypto
-L/usr/lib -lz", is not supposed to be used for linking Python
extensions; see the attached patch.
--
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openturns-python26.diff
Type: text/x-diff
Size: 967 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100618/3dad388d/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20100618/3dad388d/attachment.pgp>
More information about the debian-science-maintainers
mailing list