>       I have finished the install of tcpdump in RH Linux.
> But when I install the libpcap in AIX4.3(RS/6000) ,something
> maybe wrong .
> The information is folllowing:
> 
> make install
>         [ -d /usr/local/lib ] ||  (mkdir -p /usr/local/lib; chmod 755 /usr/local
> /lib)
>         /usr/bin/install -c -m 644 libpcap.a /usr/local/lib/libpcap.a
> install: 0653-233 File 644 was not found.
> make: 1254-004 The error code from the last command is 2.
> 
> Stop.
> 
>     What can I do?

Are you doing the build and install on RH Linux and on AIX from the same
source directory?

If so, did you do "make distclean" followed by "configure" in the
"libpcap" directory before doing "make" and "make install", and did you
do that in the "tcpdump" directory as well?

(You probably did, as RH Linux and AIX use different low-level packet
capture mechanisms, so libpcap shouldn't even have *compiled* on AIX
unless you did that.)

If you did, then manually edit the Makefile and change all occurrences
of

        /usr/bin/install -c -m

to

        /usr/bin/install -c -M

as the AIX 4.3 "install" man page on IBM's RS/6000 Web site seems to
indicate that AIX uses "-M", rather than "-m", to specify the mode to
give to the file when it's installed.  (Probably some System V
compatibility thing, although Solaris 2.6, which I'd expect to be
SV-compatible, uses "-m", so maybe it's pre-SVR4 System V that used "-m"
for something else.)

The configure script *should* have checked whether AIX's install is "BSD
compatible" - which it isn't, because it doesn't use "-m" to set the
permissions on the file being installed, it uses "-M" - and detected
that it wasn't, and used the "install-sh" script that comes with
libpcap; perhaps it didn't do the check correctly, and mistakenly
thought AIX's "install" was BSD-compatible.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to