please ensure autotools build consistency (e.g. make distcheck or just ./distcheck.sh) (it was choking on src/GraphanLib – fixed)
distcheck should exit with zero status and the message:
=================================================
ddc-x.y.z archives ready for distribution:
ddc-x.y.z.tar.gz
It is the most complicated ticket. I wil try to do it afterwards. Right now ./distcheck.sh fails with the following error
make[2]: Leaving directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub/etc'
Making all in src
make[2]: Entering directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub/src'
Making all in ConcordLib
make[3]: Entering directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub/src/ConcordLib'
depbase=
echo NavHint.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||';\/bin/bash ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../src/ConcordLib -I../../src/CommonLib -I../CommonLib -I../../../../src/CommonLib -I../PCRE -I../../../../src/PCRE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -g -ftemplate-depth-64 -MT NavHint.lo -MD -MP -MF $depbase.Tpo -c -o NavHint.lo ../../../../src/ConcordLib/NavHint.cpp &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../../src/ConcordLib -I../../src/CommonLib -I../CommonLib -I../../../../src/CommonLib -I../PCRE -I../../../../src/PCRE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -g -ftemplate-depth-64 -MT NavHint.lo -MD -MP -MF .deps/NavHint.Tpo -c ../../../../src/ConcordLib/NavHint.cpp -o NavHint.o
In file included from ../../../../src/ConcordLib/../ConcordLib/../CommonLib/utilit.h:26:0,
from ../../../../src/ConcordLib/../ConcordLib/ConcCommon.h:27,
from ../../../../src/ConcordLib/NavHint.h:24,
from ../../../../src/ConcordLib/NavHint.cpp:22:
../../../../src/ConcordLib/../ConcordLib/../CommonLib/ddcConfig.h:7:10: fatal error: ddcConfigNoAuto.h: No such file or directory
#include "ddcConfigNoAuto.h"
^~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:673: recipe for target 'NavHint.lo' failed
make[3]: *** [NavHint.lo] Error 1
make[3]: Leaving directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub/src/ConcordLib'
Makefile:449: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub/src'
Makefile:584: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/sokirko/ddc/ddc-2.1.25/_build/sub'
Makefile:793: recipe for target 'distcheck' failed
make: *** [distcheck] Error 1
I see that ddcConfigNoAuto.h is in svn, and simultaneously it is generated by Makefile. It was in common folder, I moved all files from common to CommonLib. May be it is somehow connected. It is just a hint for me.
I had errors about
ddcConfigNoAuto.htoo; it should be generated bymakeinsrc/CommonLib(and should probably not be in svn or in the distribution archive built bymake dist).It seems that I just added
ddcConfigNoAuto.htolibDDCCommon_la_SOURCESinMakefile.amduring the last merge at r1316, which added it to the distribution. Go ahead and mark this aswont-fixand I'll deal with it later.fixed in delwin-merge2 r1375