PDA

View Full Version : [SOLVED] compiling awn source tells me there's no python main lib?



artheus
October 4th, 2009, 12:37 PM
I've been trying to compile the source-code of the avant-window-navigator that is being developed now.. But when I try to use the ./configure that prepare the files for "make" it stops, when it's checking the python main library.

Output:

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 -lpython2.6
checking python extra libraries... -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: in `/home/artheus/Desktop/avn-src':
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.
================================================== ==========================


I am newb at compiling and developing in Linux, so if there is a really simple solution to this, please take it easy on me ^^

Cheers,
Artheus

unutbu
October 4th, 2009, 12:47 PM
================================================== ==========================
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.
================================================== ==========================



Try installing the python2.6-dev package.

artheus
October 4th, 2009, 01:27 PM
ah... Thank's a lot!

*awkward*

spiralciric
May 11th, 2010, 03:03 PM
I installed python2.6-dev, but that did not help. I also get this error message.

artheus
August 15th, 2012, 09:25 AM
Just to clarify. Installing python-dev solved this for me.