Skip to contentSkip to conversation

Issues with 1.4.10 build of iptables/extensions

DISCUSSION Philip Prindeville 1 participant 1 message Feb 22, 2012 netfilter

lore
Share & tools
lore
#0 lore raw

Seeing the following:

make[5]: Entering directory `/home/philipp/openwrt-alix/build_dir/linux-x86_alix2/iptables-1.4.10/extensions'
if test -n " "; then install -pm0755 "/home/philipp/openwrt-alix/build_dir/linux-x86_alix2/iptables-1.4.10/ipkg-install/usr/lib/iptables/"; fi;
install: missing destination file operand after /home/philipp/openwrt-alix/build_dir/linux-x86_alix2/iptables-1.4.10/ipkg-install/usr/lib/iptables/' Try install --help' for more information.
make[5]: *** [install] Error 1

The problem is here:

targets_install += ${pfx_solibs} ${pf4_solibs} ${pf6_solibs}
...
install: ${targets_install}

        @mkdir -p "${DESTDIR}${xtlibdir}";
        if test -n "${targets_install}"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi;

that should read:

install: ${targets_install}

        @mkdir -p "${DESTDIR}${xtlibdir}";
        if test -n "$(strip ${targets_install})"; then install -pm0755 $^ "${DESTDIR}${xtlibdir}/"; fi;