All of lore.kernel.org
 help / color / mirror / Atom feed
* iptables 1,4,1 install error
@ 2008-06-12  5:12 michael
  2008-06-12  6:43 ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: michael @ 2008-06-12  5:12 UTC (permalink / raw)
  To: netfilter-devel@vger.kernel.org

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...

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: iptables 1,4,1 install error
  2008-06-12  5:12 iptables 1,4,1 install error michael
@ 2008-06-12  6:43 ` Jan Engelhardt
  2008-06-12 10:11   ` Patrick McHardy
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Engelhardt @ 2008-06-12  6:43 UTC (permalink / raw)
  To: michael; +Cc: netfilter-devel@vger.kernel.org

On Thursday 2008-06-12 07:12, michael wrote:

>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...
>--
>To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

commit f22764c8b9c08abcea002f3c52a8493d3c4ee75f
Author: Jan Engelhardt <jengelh@medozas.de>
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.

Reported-by: Michael Teicher <mteicher@gmail.com>
Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

diff --git a/extensions/GNUmakefile.in b/extensions/GNUmakefile.in
index 8d44e4e..4a3bf4e 100644
--- a/extensions/GNUmakefile.in
+++ b/extensions/GNUmakefile.in
@@ -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;

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: iptables 1,4,1 install error
  2008-06-12  6:43 ` Jan Engelhardt
@ 2008-06-12 10:11   ` Patrick McHardy
  0 siblings, 0 replies; 3+ messages in thread
From: Patrick McHardy @ 2008-06-12 10:11 UTC (permalink / raw)
  To: Jan Engelhardt; +Cc: michael, netfilter-devel@vger.kernel.org

Jan Engelhardt wrote:
> 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.
> 
> Reported-by: Michael Teicher <mteicher@gmail.com>
> Signed-off-by: Jan Engelhardt <jengelh@medozas.de>

Applied, thanks.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-12 10:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-12  5:12 iptables 1,4,1 install error michael
2008-06-12  6:43 ` Jan Engelhardt
2008-06-12 10:11   ` Patrick McHardy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.