On 22/08/18 00:08, Steffan Karger wrote: > Simplifies the build scripts, and fixes my CI, where paths on the test > slave can be different from paths on the build slave. > > Signed-off-by: Steffan Karger <[email protected]> > --- > configure.ac | 11 ++--------- > vendor/Makefile.am | 15 +++++++-------- > 2 files changed, 9 insertions(+), 17 deletions(-)
This fails on my system ...
---------------------------------------------------
$ rm -rf vendor/cmocka/
$ mkdir vendor/cmocka/
$ git submodule init
$ git submodule update
Submodule path 'vendor/cmocka': checked out
'b2732b52202ae48f866a024c633466efdbb8e85a'
$ autoreconf -vi
[....]
$ ./configure
[....]
$ make check
[....]
mkdir -p ./cmocka ./dist
(cd cmocka && cmake -DCMAKE_INSTALL_PREFIX=.././dist .././cmocka && make &&
make install)
-- The C compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Performing Test WITH_FPIC
-- Performing Test WITH_FPIC - Success
-- Performing Test WITH_STACK_PROTECTOR
-- Performing Test WITH_STACK_PROTECTOR - Success
CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:13 (message):
cmocka requires an out of source build. Please create a separate build
directory and run 'cmake /path/to/cmocka [options]' there.
Call Stack (most recent call first):
CMakeLists.txt:41 (macro_ensure_out_of_source_build)
CMake Error at cmake/Modules/MacroEnsureOutOfSourceBuild.cmake:14 (message):
Remove the file CMakeCache.txt in
/home/davids/devel/OpenVPN/openvpn/vendor/cmocka first.
Call Stack (most recent call first):
CMakeLists.txt:41 (macro_ensure_out_of_source_build)
-- Configuring incomplete, errors occurred!
---------------------------------------------------
This patch had to be rebased on top of the latest git master, where the
merge conflict had the additional ${OPTIONAL_CRYPTO/PKCS11..} variables
in TEST_LDFLAGS and TEST_FLAGS which commit b081038c7464f7a916560b4
had brought in. So that shouldn't really be the cause of this error.
And for reference:
$ rpm -q cmake
cmake-2.8.12.2-2.el7.x86_64
--
kind regards,
David Sommerseth
OpenVPN Inc
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
