Cannot find the main Python library during installing some app.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Cannot find the main Python library during installing some app.

Van Gao
This post has NOT been accepted by the mailing list yet.
hi,

I got the error below during installing the libmobiledevice:
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.
  ============================================================================

I have installed the python2.7,  but I cannot find the lib under the /usr/local/lib/python2.7, so where can I get the development version for python?  I downloaded the Python-2.7.3.tgz from python.org, is there any different between the development version with the tgz file? Thanks.