Discussion:
[libhid-discuss] Configuration issue on SuSE 11.3
Robert Warner
2012-05-09 21:39:17 UTC
Permalink
Hi,

How do I solve this issue?

Thanks in advance

checking for Python library path... /usr/lib64/python2.7/config/libpython2.7.so
checking for Python site-packages path... /usr/lib/python2.7/site-packages
checking python extra libraries...? -lpthread -ldl? -lutil
checking python extra linking flags... -Xlinker -export-dynamic
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.
? ============================================================================
??????????
linux-q5yw:/usr/src/libhid-0.2.16/libhid-svn #
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20120509/9562eb74/attachment.html>
Peter Stuge
2012-05-10 12:10:24 UTC
Permalink
Post by Robert Warner
How do I solve this issue?
Unclear. Possibly you can disable python support in libhid as a
workaround. Look for suitable options in output from configure --help


//Peter
Charles Lepple
2012-05-10 12:20:42 UTC
Permalink
Post by Robert Warner
You probably have to install the development version of the Python package
for your distribution. The exact name of this package varies among them.
If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure.
Robert Warner
2012-05-10 14:41:25 UTC
Permalink
Tried -disable-python, -disable-Python and -disable-PYTHON.? None worked.? Not sure why python is being used in this libhid, must be some sort of setup issue with the compile processing, no idea.? Looks like python is necessary for the build process to function correctly.?


Seems there has never been a definitive answer to the problem in the past either, looking through previous archives on the web.? Unless i missed the solution somewhere, which is possible.




________________________________
From: Charles Lepple <clepple at ghz.cc>
To: Robert Warner <rwarner1 at yahoo.com>
Cc: "libhid-discuss at lists.alioth.debian.org" <libhid-discuss at lists.alioth.debian.org>
Sent: Thursday, May 10, 2012 5:20 AM
Subject: Re: [libhid-discuss] Configuration issue on SuSE 11.3
Post by Robert Warner
You probably have to install the development version of the Python package
? ? for your distribution.? The exact name of this package varies among them.
If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20120510/f4e7b2f1/attachment.html>
Robert Warner
2012-05-10 15:00:51 UTC
Permalink
Hi All,

I am wrong, python was not needed and the method of 'disabling' python is non-obvious. It needs to be disabled by disabling 'swig', which is also non-obvious as --help does not list --disable-swig as an option.

./configure --disable-swig &&
su
make install

appears to works just fine.




________________________________
From: Charles Lepple <clepple at ghz.cc>
To: Robert Warner <rwarner1 at yahoo.com>
Cc: "libhid-discuss at lists.alioth.debian.org" <libhid-discuss at lists.alioth.debian.org>
Sent: Thursday, May 10, 2012 5:20 AM
Subject: Re: [libhid-discuss] Configuration issue on SuSE 11.3
Post by Robert Warner
You probably have to install the development version of the Python package
? ? for your distribution.? The exact name of this package varies among them.
If you installed Python via RPM, is python-devel installed?

Or, as Peter suggested, you should be able to disable Python support by passing the appropriate flags to ./configure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/libhid-discuss/attachments/20120510/cc305710/attachment.html>
Loading...