INSTALL 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. $Id: INSTALL 1389 2005-07-03 19:34:12Z aturner $
  2. You'll need:
  3. - libnet 1.1.x (1.1.1 or greater is recommended)
  4. http://www.packetfactory.net/Projects/libnet/
  5. Note: Version 1.1.3-RC has a bug in one of the header files. If you get
  6. an error during compilation:
  7. /usr/local/include/./libnet/libnet-types.h:36:23: error: ../config.h: No
  8. such file or directory
  9. Then you should edit /usr/local/include/libnet/libnet-types.h (or wherever
  10. it is installed) and comment out or delete the three lines (should be lines
  11. 35-38):
  12. #ifdef HAVE_CONFIG_H
  13. #include "../config.h"
  14. #endif
  15. Feel free to bitch to libnet@securityfocus.com since they seem to be
  16. ignoring me.
  17. - libpcap >= 0.5 (0.8 or greater is recommended)
  18. http://www.tcpdump.org/
  19. - tcpdump (Optional. If you want packet decoding of sent packets)
  20. http://www.tcpdump.org/
  21. - autogen >= 5.7.0 (Only necessary if you are building tcpreplay from
  22. subversion)
  23. http://autogen.sourceforge.net/
  24. If building from subversion:
  25. ./autogen.sh
  26. Run:
  27. ./configure ; make
  28. Run as root:
  29. make test -i (optional)
  30. make install
  31. For more detailed information, see the FAQ.