Menu

#9 can't build pcap.c from swig

open
nobody
None
5
2005-07-21
2005-07-21
dterry
No

When building pcap.c from swig, swig fails with
the following error:

[david@localhost pylibpcap-0.5]$ python ./setup.py build
/usr/lib/python2.3/distutils/dist.py:213: UserWarning:
'licence' distribution option is deprecated; use 'license'
warnings.warn(msg)
running build
running build_ext
building '_pcapmodule' extension
swig -python -shadow -ISWIG -o pcap.c pcap.i
pcap.i:23: Error: Unable to find 'doc.i'
error: command 'swig' failed with exit status 1

Discussion

  • Nobody/Anonymous

    Logged In: NO

    There are some files missing in latest (0.5) release. Quick
    workaround:
    1. download doc.i from CVS
    2. download two files from CVS from build-tools directory
    (there are only 2), create this folder, put files there

    compile now

     
  • nexor

    nexor - 2005-09-05

    Logged In: YES
    user_id=1247547

    There are some files missing in latest (0.5) release. Quick
    workaround:
    1. download doc.i from CVS
    2. download two files from CVS from build-tools directory
    (there are only 2), create this folder, put files there

    compile now