Xiaofan Chen wrote:
> On 5/3/07, Charles Lepple <[EMAIL PROTECTED]> wrote:
>> >
>> > I tried to build libhid-0.2.16 and the SVN version under CentOS 5
>> > and both
>> > failed when swig is enabled.
>>
>> Again, I would need to see the output of config.log - there is not
>> enough information in that error message to diagnose the problem.
>>
>
> Attached is the config.log file for the SVN version (after running
> autogen).
>
> The problem is in the line
> configure:21431: result: /usr/lib/python2.4/config/libpython2.4.so. it is
> actually inside /usr/lib and was wrongly detected as
> /usr/lib/python2.4/config
>
> configure:21393: checking for Python include path
> configure:21403: result: -I/usr/include/python2.4
> configure:21410: checking for Python library path
> configure:21431: result: /usr/lib/python2.4/config/libpython2.4.so
> <Wrong!!!!>

That comes from this macro:
http://boxster.ghz.cc/projects/libhid/browser/trunk/m4/ac_python_devel.m4

What do you get when you run the following:

python -c 'from distutils.sysconfig import *
import os
print repr(get_config_vars())'

thanks,

-- 
Charles Lepple
[EMAIL PROTECTED]


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

Reply via email to