Hi all,

I have a problem compiling the last week's CVS (owfs-2.5p7) with owtcl 
support. I always get an error if SWIG is enabled, and disabling it disables 
owtcl, too. Here's what I tried:

$ aclocal && autoheader && autoconf && libtoolize -f -c && automake -a -c
$ ./configure --disable-perl --disable-python
$ make
.
.
.
Making all in swig
make[2]: Entering directory `/vault/1/Software/sources/owfs/module/swig'
Making all in perl5
make[3]: Entering directory `/vault/1/Software/sources/owfs/module/swig/perl5'
perl Makefile.PL MAKEFILE=Makefile.perl
Warning: -L../../owlib/src/c/.libs changed to 
-L/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs
Writing Makefile.perl for OW
/usr/bin/swig -perl5 -o ow_wrap.c ../ow.i
make -fMakefile.perl
make[4]: Entering directory `/vault/1/Software/sources/owfs/module/swig/perl5'
Skip blib/lib/OW.pm (unchanged)
gcc -c  -I../../../src/include -I../../owlib/src/include  -D_REENTRANT 
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe 
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -march=i586 -mcpu=i686 
-fmessage-length=0 -Wall -g -Wall -pipe   -DVERSION=\"2.5p7\" 
-DXS_VERSION=\"2.5p7\" -fPIC 
"-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE"  -DSKIP_SEARCH_H 
-DHAVE_CONFIG_H ow_wrap.c
ow_wrap.c: In function `boot_OW':
ow_wrap.c:1163: warning: unused variable `items'
ow_wrap.c: At top level:
ow_wrap.c:183: warning: `SWIG_Perl_TypeDynamicCast' defined but not used
ow_wrap.c:195: warning: `SWIG_Perl_TypeName' defined but not used
ow_wrap.c:201: warning: `SWIG_Perl_TypeQuery' defined but not used
ow_wrap.c:487: warning: `SWIG_Perl_ConvertPtr' defined but not used
ow_wrap.c:577: warning: `SWIG_Perl_NewPointerObj' defined but not used
ow_wrap.c:596: warning: `SWIG_Perl_ConvertPacked' defined but not used
ow_wrap.c:619: warning: `SWIG_Perl_SetErrorSV' defined but not used
ow_wrap.c:624: warning: `SWIG_Perl_SetErrorf' defined but not used
ow_wrap.c:988: warning: `swig_magic_readonly' defined but not used
Running Mkbootstrap for OW ()
chmod 644 OW.bs
rm -f blib/arch/auto/OW/OW.so
LD_RUN_PATH="/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs:/usr/lib"
 
cc  -shared -Wl,-L../../owlib/src/c/.libs -Wl,-rpath=/opt/owfs/lib ow_wrap.o  
-o blib/arch/auto/OW/OW.so   
-L/vault/1/Software/sources/owfs/module/swig/perl5/../../owlib/src/c/.libs 
-low -lpthread -ldl -lusb
chmod 755 blib/arch/auto/OW/OW.so
cp OW.bs blib/arch/auto/OW/OW.bs
chmod 644 blib/arch/auto/OW/OW.bs
make[4]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/perl5'
make[3]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/perl5'
Making all in python
make[3]: Entering directory 
`/vault/1/Software/sources/owfs/module/swig/python'
Making all in ow
make[4]: Entering directory 
`/vault/1/Software/sources/owfs/module/swig/python/ow'
make[4]: Für das Ziel »all« ist nichts zu tun.
make[4]: Leaving directory 
`/vault/1/Software/sources/owfs/module/swig/python/ow'
make[4]: Entering directory 
`/vault/1/Software/sources/owfs/module/swig/python'
/usr/bin/swig -python -o ow_wrap.c ../ow.i
python setup.py build
Traceback (most recent call last):
  File "setup.py", line 28, in ?
    from distutils.core import setup, Extension
ImportError: No module named distutils.core
make[4]: *** [OW.py] Fehler 1
make[4]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/python'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/vault/1/Software/sources/owfs/module/swig/python'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/vault/1/Software/sources/owfs/module/swig'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/vault/1/Software/sources/owfs/module'
make: *** [all-recursive] Fehler 1
$


What's wrong?

Kind regards

        Jan

-- 
Even more amazing was the realization that God has internet access.
I wonder if He has a full newsfeed?
                -- Matt Welsh

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

Reply via email to