[Libpqxx-general] svn1401: fails to build 'make runner'

Jeroen Vermeulen jtv at xs4all.nl
Mon Oct 6 07:36:34 UTC 2008


Eugene V. Lyubimkin wrote:
> Hi Jeroen! I have configured libpqxx to use 'debian/build' as directory for build.
> All's fine with library, but when I tried to compile a unit test suite, I got the
> following error:
> 
> x86_64-linux-gnu-g++ -DHAVE_CONFIG_H  -I../include -I../../../include    -D_REENTRANT -O2
> -Werror -MT runner.o -MD -MP -MF .deps/runner.Tpo -c -o runner.o ../../../test/runner.cxx
> ../../../test/runner.cxx:1:25: error: test_main.hxx: No such file or directory
> make: *** [runner.o] Error 1

I tried a fresh checkout and had no such problem.  Have you tried 
running autogen.sh again?

The new header was added to test/Makefile.am.template, so a new 
Makefile.am needs to be generated from that.  And then of course  a new 
Makefile.in from that, and a new Makefile from that.  It's all much too 
meta, really.  :-)


Jeroen



More information about the Libpqxx-general mailing list