Hi,
     This is a pointer to the error message popping up even when the
environment variable WIRESHARK is set right to "/usr/include/wireshark"
[export WIRESHARK=/usr/include/wireshark], as in my case -

PAX-SDN-vm 
<https://mailman.stanford.edu/mailman/listinfo/openflow-discuss>:~/of-dissector/src$
sudo scons install
scons: Reading SConscript files ...
### ERROR: You need to set the WIRESHARK environment variable to the
location of your wireshark include directory.
### ERROR: (such that epan/packet.h is a valid include path)

The solution to this is to modify the Sconstruct file under the path
/ofdissector/src with the following changes -

1)   remove the " sys.exit() " call,
2)   modify the CPPPATH value so that it reads -
CPPPATH=[os.getcwd(),'/usr/include/wireshark']  ( verify your path for
wireshark containing epan/packet.h )

Hope that helps.

Lots of regards,
Gopan Govindan
Paxterra Solutions Inc.
_______________________________________________
openflow-discuss mailing list
openflow-discuss@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss

Reply via email to