I just did a csv co, bootstrap, and now I run configure with ./configure --disable-owphp --disable-owperl --with-python=/usr/local/bin/python2.4
But python doesn't get enabled. I know I've mentioned this problem on the list a while back, and finally resorted to hacking configure. But, has anyone looked at why this doesn't work yet? Current configuration: Deployment location: /opt/owfs Compile-time options: Caching is enabled USB is enabled I2C is enabled HA7Net is enabled Multithreading is enabled Parallel port DS1410E is enabled TAI8570 barometer is enabled Thermocouple is enabled Zeroconf/Bonjour is enabled Debug-output is enabled Profiling is DISABLED Module configuration: owfs is DISABLED owhttpd is enabled owftpd is enabled owserver is enabled owcapi is enabled swig is enabled owperl is DISABLED owphp is DISABLED owpython is DISABLED owtcl is enabled I have an x86-64 machine. Python is compiled as a 64 bit executable. from config.log configure:22161: checking if owpython is enabled configure:22194: result: yes (default) configure:22222: result: Looking for location of Python executable configure:22298: checking for Python prefix configure:22301: result: /usr/local configure:22303: checking for Python exec-prefix configure:22306: result: /usr/local configure:22313: checking for Python version configure:22319: result: python2.4 configure:22324: checking for Python lib dir configure:22331: result: lib64 configure:22336: checking for Python header files configure:22346: result: -I/usr/local/include/python2.4 -I/usr/local/lib64/python2.4/config configure:22350: checking for Python library configure:22360: result: Not found configure:22398: WARNING: Cannot find python library. Install python-devel package. configure:22400: WARNING: OWPYTHON is disabled because python library is not found The actual location for PYLIB is /usr/local/lib/python2.4/config/libpython2.4.a On my system /usr/local/lib64 is empty and Python 2.4.3 (#1, Aug 22 2006, 17:41:07) [GCC 3.4.5 20051201 (Red Hat 3.4.5-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> sys.lib Traceback (most recent call last): File "<stdin>", line 1, in ? AttributeError: 'module' object has no attribute 'lib' I try setting PYLIB directly on the command line, but that doesn't work UNLESS I comment out this line in configure line 22230. PYLIB= It seems to me (other than upgrading to python 2.5) that there should be a way to set the PYLIB path explicitly on the configure command line, and then only do all the lib checking if the user hasn't specified it. however my configure-foo is low.. so I resort to commenting out the above line. -- Brad Clements, [EMAIL PROTECTED] (315)268-1000 http://www.murkworks.com AOL-IM or SKYPE: BKClements ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers