Am 02.06.2013 19:56, schrieb Andrey Rahmatullin:
> On Fri, May 31, 2013 at 11:28:10PM +0200, David Suárez wrote:
>>> checking for python2.6... no checking for python2.7... yes configure:
>>> error: Python C development headers/libraries not found checking for
>>> Python libraries... not found
> The check executes this Python code:
> 
> from distutils import sysconfig import os cfg=sysconfig.get_config_vars() 
> lib = os.path.join(cfg['LIBDIR'], cfg['LDLIBRARY']) if
> os.path.exists(lib): print \"-L\" + cfg['LIBDIR'] + \" -l\" + 
> cfg['LDLIBRARY'].lstrip(\"lib\").rstrip(\".so\")
> 
> lib == '/usr/lib/libpython2.7.so' but the file actually resides in the 
> multiarch directory. I'm not sure whether it's the distutils problem or the
> check problem. Cc:ing doko.

please use the output of python-config --cflags or --ldflags to determine the
flags for linking.  knowing the location of the shared library isn't really
needed.

  Matthias


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to