bug-gnulib
[Top][All Lists]
Advanced

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

Re: Problem with localcharset test


From: Bruno Haible
Subject: Re: Problem with localcharset test
Date: Mon, 03 Sep 2018 18:27:26 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-134-generic; KDE/5.18.0; x86_64; ; )

Hi Antoine,

> There seems to be a problem with the addition of the manual test in the 
> localcharset module, when used in a subdirectory:
> 
>   make[6]: Entering directory `/home/aluong/test-gnulib/libmissing/tests'
>   make[6]: *** No rule to make target `../../libmissing/libmissing.a', 
> needed by `test-localcharset'. Stop.

Each of the tests needs to link against the libmissing.a library.
Therefore this library needs to be built before the tests are compiled
and linked.

Probably something's wrong in the Makefile regarding the build order...

> The gnulib-tool command used was this one:
> 
>   gnulib-tool --import --lib=libmissing --source-base=libmissing 
> --m4-base=libmissing/m4 --tests-base=libmissing/tests --with-tests 
> localcharset

Does it work when you use two directories that are siblings instead
of ancestors?

   gnulib-tool --import --lib=libmissing --source-base=libmissing \
  --m4-base=libmissing/m4 --tests-base=libmissing-tests --with-tests \
  localcharset

Bruno




reply via email to

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