Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer

You should be able to find it in the following locations

/usr/lib/
/usr/local/lib/

share|improve this answer
    
I have the same output with both locations. It could be a problem originated by another thing. I don't know really –  Lucio Mar 14 '13 at 3:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.