From 281c18142f657930bd85f4f161c607efb0b42b9d Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Thu, 9 May 2013 17:33:47 -0700 Subject: [PATCH] Describe the proper build command for HP-UX --- 0readme_ethernet.txt | 9 ++++++++- makefile | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/0readme_ethernet.txt b/0readme_ethernet.txt index 9a74e0f1..bfe3abe2 100644 --- a/0readme_ethernet.txt +++ b/0readme_ethernet.txt @@ -304,8 +304,15 @@ Building on Linux, {Free|Net|Open}BSD, OS/X, Solaris, other *nix: typing 'make USE_NETWORK=1'. You must build with gcc to do this. There is no observable benefit to statically linking against libpcap and as such support for this ia deprecated. + + 4. Some platforms (HP-UX in particular) may not have vendor supplied libpcap + components available and installed with the operating system. The packages + which are available for this platform install include and library files in + user specified locations. When building on these platforms the library + path must be specified on the make command line. This can be done with: + 'make LPATH=/usr/lib:/usr/local/lib' - 4. Build it! + 5. Build it! ------------------------------------------------------------------------------- diff --git a/makefile b/makefile index 869ab5a9..2a3ec370 100644 --- a/makefile +++ b/makefile @@ -22,6 +22,13 @@ # libpcap can be enabled if GNU make is invoked with USE_NETWORK=1 on the # command line. # +# Some platforms may not have vendor supplied libpcap available. HP-UX is +# one such example. The packages which are available for this platform +# install include files and libraries in user specified directories. In +# order for this makefile to locate where these components may have been +# installed, gmake should be invoked with LPATH=/usr/lib:/usr/local/lib +# defined (adjusted as needed depending on where they may be installed). +# # The default build will build compiler optimized binaries. # If debugging is desired, then GNU make can be invoked with # DEBUG=1 on the command line.