Where Is the Python Library Installed?
When I Try to Do. /Configure over Awn V0.4 I Get This Error: Configure: Error: in `/Home/Desktop/Software/Avant-Window-Navigator-0.4.0': Configure: Error...
When I try to do ./configure over AWN v0.4 I get this error:
configure: error: in `/home/desktop/Software/avant-window-navigator-0.4.0':
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.
So maybe I can solve this adding the path of the python library to the command. But I don't know where is it.
See the full output here
3 Answers
This message is not asking for the python libraries themselves, it's asking for the headers to link against them. You can install then with:
sudo apt-get install python-dev
You are probably lacking some other dependencies.
You should be able to find it in the following locations
/usr/lib/
/usr/local/lib/
I found myself in the same situation with VAMOS Automotive Simulator. The Python version was hardcoded in the configure file, so I had to install that version instead, in my case:
apt-get install python3.4-dev