bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH]: Missing tests-base in gnulib-cache.m4


From: Yoann Vandoorselaere
Subject: [PATCH]: Missing tests-base in gnulib-cache.m4
Date: Thu, 25 Sep 2008 11:26:54 +0200

Hi,

The --tests-base argument is not saved within gnulib-cache.m4. The
attached patch fixes this issue.

Additionally, I'm running into another problem when cross compiling for
Win32 systems:

- Importing GnuLib file using the following command:

../gnulib/gnulib-tool --import --dir=. --lib=libmissing
--tests-base=libmissing/tests --source-base=libmissing
--m4-base=libmissing/m4 --doc-base=libmissing/doc --aux-dir=.
--with-tests --lgpl --libtool --macro-prefix=gl --no-vc-files [modules
list]

- Then editing libmissing/Makefile.am by hand to list the "tests"
directory as SUBDIRS (shouldn't this be handled automatically?).

- After generating the autotools build system, doing 'make check' will
result in the following error (only when cross compiling for Win32
systems):


$ make check
make  check-recursive
make[1]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing'
Making check in tests
make[2]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make  check-recursive
make[3]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[4]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make  libtests.a test-alloca-opt.exe test-arpa_inet.exe test-c-ctype.exe
test-cond.exe test-errno.exe test-fopen.exe test-fseeko.exe
test-getaddrinfo.exe test-getdelim.exe test-getline.exe
test-gettimeofday.exe test-lock.exe test-lseek.exe test-memchr.exe
test-memcmp.exe test-memmem.exe test-netinet_in.exe test-perror.exe
test-poll.exe test-sleep.exe test-snprintf.exe test-sockets.exe
test-stdbool.exe test-stdint.exe test-stdio.exe test-stdlib.exe
test-strcasestr.exe test-strerror.exe test-string.exe test-strings.exe
test-sys_select.exe test-sys_socket.exe test-sys_stat.exe
test-sys_time.exe test-time.exe test-tls.exe test-unistd.exe
test-vasnprintf.exe test-vsnprintf.exe test-wchar.exe test-wctype.exe
make[5]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[5]: `libtests.a' is up to date.
make[5]: `test-alloca-opt.exe' is up to date.
make[5]: `test-arpa_inet.exe' is up to date.
make[5]: `test-c-ctype.exe' is up to date.
make[5]: `test-cond.exe' is up to date.
make[5]: `test-errno.exe' is up to date.
make[5]: `test-fopen.exe' is up to date.
make[5]: `test-fseeko.exe' is up to date.
make[5]: `test-getaddrinfo.exe' is up to date.
make[5]: `test-getdelim.exe' is up to date.
make[5]: `test-getline.exe' is up to date.
make[5]: `test-gettimeofday.exe' is up to date.
make[5]: `test-lock.exe' is up to date.
make[5]: `test-lseek.exe' is up to date.
make[5]: `test-memchr.exe' is up to date.
make[5]: `test-memcmp.exe' is up to date.
make[5]: `test-memmem.exe' is up to date.
make[5]: `test-netinet_in.exe' is up to date.
make[5]: `test-perror.exe' is up to date.
make[5]: `test-poll.exe' is up to date.
make[5]: `test-sleep.exe' is up to date.
make[5]: `test-snprintf.exe' is up to date.
make[5]: `test-sockets.exe' is up to date.
make[5]: `test-stdbool.exe' is up to date.
make[5]: `test-stdint.exe' is up to date.
make[5]: `test-stdio.exe' is up to date.
make[5]: `test-stdlib.exe' is up to date.
make[5]: `test-strcasestr.exe' is up to date.
make[5]: `test-strerror.exe' is up to date.
make[5]: `test-string.exe' is up to date.
make[5]: `test-strings.exe' is up to date.
make[5]: `test-sys_select.exe' is up to date.
make[5]: `test-sys_socket.exe' is up to date.
make[5]: `test-sys_stat.exe' is up to date.
make[5]: `test-sys_time.exe' is up to date.
make[5]: `test-time.exe' is up to date.
make[5]: `test-tls.exe' is up to date.
make[5]: `test-unistd.exe' is up to date.
make[5]: `test-vasnprintf.exe' is up to date.
make[5]: `test-vsnprintf.exe' is up to date.
make[5]: `test-wchar.exe' is up to date.
make[5]: `test-wctype.exe' is up to date.
make[5]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make  check-TESTS
make[5]: Entering directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
i586-mingw32msvc-gcc -std=gnu99 -g -O2    test-alloca-opt.c   -o
test-alloca-opt
test-alloca-opt.c:19:20: error: config.h: No such file or directory
test-alloca-opt.c:21:20: error: alloca.h: No such file or directory
make[5]: *** [test-alloca-opt] Error 1
make[5]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing/tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory
`/home/yoann/dev/prelude/git/libprelude/libmissing'
make: *** [check] Error 2

-- 
Yoann Vandoorselaere | Responsable R&D / CTO | PreludeIDS Technologies
Tel: +33 (0)9 50 70 21 58                  Fax: +33(0)9 57 25 21 58
http://www.prelude-ids.com

Attachment: gnulib-tool.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]