LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   netcat install? (https://www.linuxquestions.org/questions/linux-software-2/netcat-install-82684/)

Di0de 08-16-2003 08:26 PM

netcat install?
 
i keep having this problem wheve i try to install netcat on my slack 9.0 box:
so i just completely got rid of res_init by just by deleting it because for some reason even when i commented it out it was still giving the same error. and i got this output instead:

#make linux
make -e nc XFLAGS='-DLINUX' STATIC=-static
make[1]: Entering directory `/usr/local/src/security/netcat'
cc -O -s -DLINUX -static -o nc netcat.c
make[1]: Leaving directory `/usr/local/src/security/netcat

now the funny thing is i don't know where netcat installed itself to. i run the "nc" command and this is what i get:

#nc
bash: nc: command not found

so did this program installed or not? and if it did then where?
thanks in advance.

Di0de 08-16-2003 11:59 PM

ok nevermind i got it working now

Laptop2250 11-04-2003 10:12 AM

damn u, whatd u do to fix it? other ppl get the same errors 2

hw-tph 11-04-2003 10:38 AM

Copy the binary to /usr/local/bin and you should be all set. If there is an "install" target in the Makefile you could do a make install (as root) to install it.

Håkan

Laptop2250 11-04-2003 10:52 AM

THANK YOU!!! :p wasn't that hard


All times are GMT -5. The time now is 03:29 AM.