Skip to contentSkip to conversation

iptables 1,4,1 install error

DISCUSSION Applied michael 3 participants 3 messages Jun 12, 2008 netfilter

lore
Share & tools
lore

michael

author
#0 lore raw

Hello,

Can anyone shed some light on installing iptables1.4.1 on a linux kernel 2.4.34. make install fails with the following:
Making install in extensions
make[1]: Entering directory `/home/src/iptables-1.4.1/extensions' install -pm0755 "usr/local/libexec/xtables/";
install: too few arguments
Try `install --help' for more information
make[1]: *** [install] error 1
make[1]: Leaving directory `home/src/iptables-1.4.1/extensions' make; *** [install-reecursive] Error 1

Thanks,

Michael...

#1 lore raw
Quoted 13 lines · michael

Hello,

Can anyone shed some light on installing iptables1.4.1 on a linux kernel 2.4.34. make install fails with the following:
Making install in extensions
make[1]: Entering directory `/home/src/iptables-1.4.1/extensions' install -pm0755 "usr/local/libexec/xtables/";
install: too few arguments
Try `install --help' for more information
make[1]: *** [install] error 1
make[1]: Leaving directory `home/src/iptables-1.4.1/extensions' make; *** [install-reecursive] Error 1

Quoted 8 lines

Thanks,

Michael...
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

commit f22764c8b9c08abcea002f3c52a8493d3c4ee75f

Author: Jan Engelhardt <[email protected]>
Date:   Thu Jun 12 08:43:06 2008 +0200

build: fix make install when --disable-shared is used

When --disable-shared is used, there are no .so files to install, and the argument order for install would get messed up.

extensions/GNUmakefile.in +1 -1
index 8d44e4e..4a3bf4e 100644
@@ -67,7 +67,7 @@ all: ${targets}
 
 install: ${targets_install}
 	@mkdir -p "${DESTDIR}${xtlibdir}";
-	install -pm0755 $^ "${DESTDIR}${xtlibdir}/";
+	if test -n "${targets_install}"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi;
 
 clean:
 	rm -f *.o *.oo *.so *.a {matches,targets}[46].man initext4.c initext6.c;