itxx00 / pypcap

Automatically exported from code.google.com/p/pypcap
Other
0 stars 0 forks source link

can't install pypcap on CentOS 5 with python 2.5 #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. python setup.py config

What is the expected output? What do you see instead?

 python setup.py config
running config
setup.py:63: DeprecationWarning: raising a string exception is deprecated
  raise "couldn't find pcap build or installation directory"
Traceback (most recent call last):
  File "setup.py", line 101, in <module>
    ext_modules = [ pcap ])
  File "/home/williams/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/home/williams/lib/python2.5/distutils/dist.py", line 974, in
run_commands
    self.run_command(cmd)
  File "/home/williams/lib/python2.5/distutils/dist.py", line 994, in
run_command
    cmd_obj.run()
  File "setup.py", line 67, in run
    cPickle.dump(self._pcap_config([ self.with_pcap ]),
  File "setup.py", line 63, in _pcap_config
    raise "couldn't find pcap build or installation directory"
couldn't find pcap build or installation directory

What version of the product are you using? On what operating system?

pypcap-1.1
Python 2.5.1

% uname -r
2.6.18-92.1.10.el5

% cat /etc/redhat-release 
CentOS release 5.2 (Final)

Please provide any additional information below.

Original issue reported on code.google.com by tjand...@gmail.com on 9 Sep 2008 at 3:27

GoogleCodeExporter commented 9 years ago
duplicate to issue 10

Original comment by dugsong on 9 Sep 2008 at 4:21