LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   "/usr/local/man/man8 does not exist" (https://www.linuxquestions.org/questions/linux-newbie-8/usr-local-man-man8-does-not-exist-71408/)

maarten 07-09-2003 07:11 PM

"/usr/local/man/man8 does not exist"
 
Hi,

I was trying to install a small tool called hping to learn about TCP/IP. I followed the instructions in the INSTALL file, did the ./configure, did the make, became su -all without problems- but when i did make install, i got this:

[root@redhatpc hping2-rc2]# make install
cp -f hping2 /usr/sbin/
chmod 755 /usr/sbin/hping2
ln -sf /usr/sbin/hping2 /usr/sbin/hping
@@@@@@ WARNING @@@@@@
Can't install the man page: /usr/local/man/man8 does not exist
[root@redhatpc hping2-rc2]#

Being almost a total newbie, i don't know what it means, and i don't have a clue what to do about it.
I'm running Redhat9, it says i have "kernel 2.4.20-8 on a i586", whatever that means,

any help greatly appreciated...

maarten

Tinkster 07-09-2003 07:23 PM

Run configure again, and specify prefix and mandir...

./configure --prefix=/usr --mandir=man
Then make & make install again

Cheers,
Tink

Capt_Caveman 07-09-2003 07:26 PM

I actually had a similar problem installing hping from source. All that error message is telling you is that the man (manual) pages for hping weren't installed. hping should be installed on your system and working. If you don't really mind not having a man page for hping, you can just ignore it and look at the hping documentation in the directory where you unpacked it for instructions.

If you really, really want a hping man page, you can open up the source code and change the path where it is trying to install the man page to the proper path and then re-compile it.

--------
edit: Or you can listen to Tinkster who beat me to it and do it the easy way :)


All times are GMT -5. The time now is 02:39 PM.