zoulasc / racoon2

The Racoon2 project is a joint effort which provides an implementation of key management system for IPsec. The implementation is called Racoon2, a successor of Racoon, which was developed by the KAME project. It supports IKEv1, IKEv2, and KINK protocols. It works on FreeBSD, NetBSD, Linux, and Mac OS X. Racoon2 is provided under a BSD-style license. To support various environments that use IPsec, we will develop various functions.
Other
22 stars 11 forks source link

Missing include files when builddir != srcdir #8

Open vanrein opened 4 years ago

vanrein commented 4 years ago

I am building in $DIR_BUILD with a git clone in $DIR_SRC. This is supposed to work with autotools, and it usually does.

I tried, and failed, with

        cd "$DIR_BUILD"
        rm -rf *
        autoreconf -f -i "$DIR_BUILD" && \
        "$DIR_SRC/configure" --prefix="/usr" && \
        make && \
        empty_dir "$DIR_TREE" && \
        make DESTDIR="$DIR_TREE" install

Problems I found are:

I must be doing something wrong; have a poor understanding of autotools, but know that the separation of $DIR_SRC and $DIR_BUILD is part of its intentions. Can you try this and make it work?

zoulasc commented 4 years ago

I have not tried that. It should work, but there are obviously bugs.