Skip to contentSkip to conversation

conntrack-tools not working with DESTDIR

DISCUSSION Andreas Kotes 2 participants 2 messages Sep 25, 2007 – Oct 15, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

Hello,

when using DESTDIR=/home/user/somewhere (the standard to set a different sysroot - see http://www.gnu.org/prep/standards/html_node/DESTDIR.html)
with

libnfnetlink 0.0.30
libnetfilter_conntrack 0.0.81
conntrack-tools 0.9.5

and configure with --prefix=/ I get a libtool-problem:

libtool: link: cannot find the library //lib/libnfnetlink.la' or unhandled argument //lib/libnfnetlink.la'

.. this seems to have changed with 0.9.4, as 0.9.3 builds without a problem this way. building without DESTDIR and with --prefix=/home/user/somewhere works as well, but is not the way this ought to be done ...

btw: CFLAGS and LDFLAGS point to $DESTDIR/include and $DESTDIR/lib respectively - albeit using [LIBNFNETLINK|LIBNETFILTER_CONNTRACK]_[CFLAGS|LIBS] gives basically the same result ..

Can someone look into this and fix it, please?

Thank you!

Andreas

P.S: I got no idea why the formatting is this horribly in this mail. hm.

Signature · 1 line
flatline IT services - Andreas Kotes - Tailored solutions for your IT needs
#1 lore raw

Hi Andreas,

Quoted 18 lines · Andreas Kotes

when using DESTDIR=/home/user/somewhere (the standard to set a different sysroot - see http://www.gnu.org/prep/standards/html_node/DESTDIR.html)
with

libnfnetlink 0.0.30
libnetfilter_conntrack 0.0.81
conntrack-tools 0.9.5

and configure with --prefix=/ I get a libtool-problem:

libtool: link: cannot find the library //lib/libnfnetlink.la' or unhandled argument //lib/libnfnetlink.la'

.. this seems to have changed with 0.9.4, as 0.9.3 builds without a problem this way. building without DESTDIR and with --prefix=/home/user/somewhere works as well, but is not the way this ought to be done ...

Quoted 6 lines

btw: CFLAGS and LDFLAGS point to $DESTDIR/include and $DESTDIR/lib respectively - albeit using [LIBNFNETLINK|LIBNETFILTER_CONNTRACK]_[CFLAGS|LIBS] gives basically the same result ..

Can someone look into this and fix it, please?

Strange, this stuff works fine here. I have no clue where the problem is since those makefiles you mentioned are automatically by automake.

Signature · 1 line
"Los honestos son inadaptados sociales" -- Les Luthiers