Menu

#12 Need swig 1.3.27

closed-out-of-date
nobody
None
5
2012-01-14
2006-04-03
Anonymous
No

I tried building with swig 1.3.29... no luck. Maybe
it's me? I had success with 1.3.27. I hate swig.

Discussion

  • Noah Spurrier

    Noah Spurrier - 2007-02-13

    Logged In: YES
    user_id=59261
    Originator: NO

    It doesn't work with swig 1.3.28 either.
    This was from teh Ubuntu 6.10 apt package.
    I get this error:
    # python ./setup.py build
    running build
    running build_ext
    building '_pcapmodule' extension
    swig -python -shadow -ISWIG -o pcap.c pcap.i
    pcap.i:72: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
    pcap.i:77: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
    pcap.i:82: Warning(124): Specifying the language name in %typemap is deprecated - use #ifdef SWIG<LANG> instead.
    /usr/bin/python ./build-tools/docify.py pcap.c
    /usr/bin/python ./build-tools/docify-shadow.py pcap.py
    Traceback (most recent call last):
    File "./build-tools/docify-shadow.py", line 30, in ?
    raise 'source file doesn\'t look like swigged shadow class code'
    source file doesn't look like swigged shadow class code
    error: command '/usr/bin/python' failed with exit status 1
    I downloaded swig-1.3.27 and installed it.
    This worked. With swig 1.3.27 I was able to build python-libpcap.

    It's too bad python-libpcap isn't maintained.
    This could be a pretty nice tool!

     
  • Wim Lewis

    Wim Lewis - 2012-01-14
    • status: open --> closed-out-of-date