Robert Warner | 9 May 2012 23:39
Picon
Favicon

Configuration issue on SuSE 11.3

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 #
_______________________________________________
libhid-discuss mailing list
libhid-discuss <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/
Peter Stuge | 10 May 2012 14:10
Picon

Re: Configuration issue on SuSE 11.3

Robert Warner wrote:
> 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

_______________________________________________
libhid-discuss mailing list
libhid-discuss <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Charles Lepple | 10 May 2012 14:20

Re: Configuration issue on SuSE 11.3

On May 9, 2012, at 5:39 PM, Robert Warner wrote:

> 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.
_______________________________________________
libhid-discuss mailing list
libhid-discuss <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Robert Warner | 10 May 2012 16:41
Picon
Favicon

Re: Configuration issue on SuSE 11.3

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

On May 9, 2012, at 5:39 PM, Robert Warner wrote:

> 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.

_______________________________________________
libhid-discuss mailing list
libhid-discuss <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/
Robert Warner | 10 May 2012 17:00
Picon
Favicon

Re: Configuration issue on SuSE 11.4 - SOLUTION

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

On May 9, 2012, at 5:39 PM, Robert Warner wrote:

> 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.

_______________________________________________
libhid-discuss mailing list
libhid-discuss <at> lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/libhid-discuss
http://libhid.alioth.debian.org/

Gmane