I also have a problem with libnet installing, not exactly like yours but it really makes me crazy for a whole day.
I tried to install libnet 1.0.2a in Centos 5. When i ran
It's Ok, but in the install step ( when i run
there is an error report
chmod: missing operand after `755'
Try `chmod --help' for more information.
./ensure-dir.sh /usr/bin/ 755
./install-sh lib/libnet.a /usr/lib/
rm -f /usr/lib/libpwrite.a
cd /usr/lib/; ln -f -s libnet.a libpwrite.a
./install-sh include/libnet.h /usr/include/
./install-sh include/libnet/libnet-headers.h /usr/include/libnet
./install-sh include/libnet/libnet-functions.h /usr/include/libnet
./install-sh include/libnet/libnet-structures.h /usr/include/libnet
./install-sh include/libnet/libnet-macros.h /usr/include/libnet
./install-sh include/libnet/libnet-asn1.h /usr/include/libnet
./install-sh include/libnet/libnet-ospf.h /usr/include/libnet
install: no destination specified
make: *** [install] Error 1
I have google-ed for whole day but i can't find any useful thing to fix this problem. Is there anyone can help me to resolve it?