jparise / php-python

Embedded Python Extension for PHP
http://pecl.php.net/package/python
MIT License
68 stars 16 forks source link

Can not build #13

Open vonj opened 11 years ago

vonj commented 11 years ago

checking for embedded Python support... yes, shared checking for python-config... /usr/bin/python-config checking for Python includes... -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 checking for Python libraries... -L/usr/lib/python2.7/config-x86_64-linux-gnu -L/usr/lib -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions checking for pthread_create in -lpthread... yes checking for dlopen in -ldl... yes checking consistency of Python build 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.

nickl- commented 11 years ago

@vonj more info please

It is not finding python lib did you try

./configure LDFLAGS="-L/usr/non-standard-path/python/lib"

I can but only guess...

vonj commented 11 years ago

It is in the std /usr/lib location. (Vanilla Ubuntu 13.04 with python dev package.)

nickl- commented 11 years ago

Installing 13.4 next week will investigate

zevaverbach commented 9 years ago

@nickl- how'd it work out? :)