On 5/3/07, Charles Lepple <[EMAIL PROTECTED]> wrote:
It is most likely called something like python-dev, and should be
available from the same YUM repository where you downloaded Python.

It is called python-devel for CentOS 5, maybe it is the same for
FC5 and FC6.

> Is Python Development Package essential? Can we not ignore it while
> installing libhid through some configuration parameters.

Yes, but before you reconfigure it, please gzip the copy of
config.log and email it to me off-list so that I can see how to turn
that error into a warning.

Afterwards, you can reconfigure with "--disable-swig".


I tried to build libhid-0.2.16 and the SVN version under CentOS 5 and both
failed when swig is enabled.

[EMAIL PROTECTED] libhid-0.2.16]$ ./configure LDFLAGS="-L/usr/lib/python-2.4/"
...
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.4/site-packages
checking for python2.4... (cached) /usr/bin/python
checking for a version of Python >= '2.1.0'... yes
checking for the distutils Python package... yes
checking for Python include path... -I/usr/include/python2.4
checking for Python library path... /usr/lib/python2.4/config/libpython2.4.so
checking for Python site-packages path... /usr/lib/python2.4/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.
 ============================================================================

Regards,
Xiaofan

_______________________________________________
libhid-discuss mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/libhid-discuss

Reply via email to