pkgsrc install incorrect?

wazigster at gmail.com wazigster at gmail.com
Sun Jun 15 12:50:30 PDT 2008


Hi all,

I just installed hping, after a "cvs up" of pkgsrc.

/usr/pkgsrc/net/hping ->bmake install clean > makelog

----------[makelog]----------
=> Bootstrap dependency digest>=20010302: found digest-20070803
===> Skipping vulnerability checks.
===> Installing for hping-2.0.0.3
=> Creating installation directories
/usr/bin/install -c -s -o root -g wheel -m 555
/usr/pkgsrc/net/hping/work/hping2-rc3/hping2 /usr/pkg/sbin
/bin/ln -s ../sbin/hping2 /usr/pkg/sbin/hping
/usr/bin/install -c -o root -g wheel -m 444
/usr/pkgsrc/net/hping/work/hping2-rc3/docs/hping2.8 /usr/pkg/man/man8
/bin/ln -s ../../man/man8/hping2.8 /usr/pkg/man/man8/hping.8
=> Automatic manual page handling
=> Registering installation for hping-2.0.0.3
===> Cleaning for hping-2.0.0.3
----------[makelog]----------

Normally the pkgsrc build/install scripts make the installed
application available from any directory, but in this case it
doesn't...see copy/past from prompt.


 /usr/pkg/sbin ->hping
hping: Command not found.
 /usr/pkg/sbin ->hping2
hping: Command not found.

/ ->/usr/pkg/sbin/hping
hping2: missing host argument
Try `hping2 --help' for more information.
/ ->/usr/pkg/sbin/hping2
hping2: missing host argument
Try `hping2 --help' for more information.

/usr/pkg/sbin ->ls -Fla | grep hping
lrwxr-xr-x   1 root  wheel      14 Jun 15 23:15 hping@ -> ../sbin/hping2
-r-xr-xr-x   1 root  wheel   63464 Jun 15 23:15 hping2*

Why does hping only execute if it's started with full path? And how
could I fix this?

Thanks in advance,





More information about the Users mailing list