Skip to content

Commit 281c181

Browse files
committed
Describe the proper build command for HP-UX
1 parent 5fda4b6 commit 281c181

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

0readme_ethernet.txt

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,15 @@ Building on Linux, {Free|Net|Open}BSD, OS/X, Solaris, other *nix:
304304
typing 'make USE_NETWORK=1'. You must build with gcc to do this. There
305305
is no observable benefit to statically linking against libpcap and as
306306
such support for this ia deprecated.
307-
308-
4. Build it!
307+
308+
4. Some platforms (HP-UX in particular) may not have vendor supplied libpcap
309+
components available and installed with the operating system. The packages
310+
which are available for this platform install include and library files in
311+
user specified locations. When building on these platforms the library
312+
path must be specified on the make command line. This can be done with:
313+
'make LPATH=/usr/lib:/usr/local/lib'
314+
315+
5. Build it!
309316

310317
-------------------------------------------------------------------------------
311318

makefile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@
2222
# libpcap can be enabled if GNU make is invoked with USE_NETWORK=1 on the
2323
# command line.
2424
#
25+
# Some platforms may not have vendor supplied libpcap available. HP-UX is
26+
# one such example. The packages which are available for this platform
27+
# install include files and libraries in user specified directories. In
28+
# order for this makefile to locate where these components may have been
29+
# installed, gmake should be invoked with LPATH=/usr/lib:/usr/local/lib
30+
# defined (adjusted as needed depending on where they may be installed).
31+
#
2532
# The default build will build compiler optimized binaries.
2633
# If debugging is desired, then GNU make can be invoked with
2734
# DEBUG=1 on the command line.

0 commit comments

Comments
 (0)