Bugzilla – Bug 34
wrong include path for packages at compile time
Last modified: 2013-05-21 15:08:54 CEST
When executing ./build, I get an error, because neither the system include path
nor the path for SWI-Prolog.h nor the package path are referenced correctly:
for p in clib cpp table sgml RDF semweb http chr clpqr nlp ssl tipc pldoc
plunit zlib R protobufs PDT utf8proc; do \
if [ -r $p/Makefile ]; then gmake -C $p || exit 1; fi; \
gmake: Entering directory `/usr/local/src/git/pl/packages/clib'
gcc44 -O2 -Wall -fno-strict-aliasing -pthread -fPIC
-DHAVE_CONFIG_H -D__SWI_PROLOG__ -c -o error.o error.c
In file included from error.c:27:
clib.h:28:24: error: SWI-Prolog.h: No such file or directory
Hmm. I'm afraid that remote debugging is getting really hard here. I
suspect a bug in autoconf. The base-paths are setup in
and packages/Dialect.defs.in, which are instantiated from the main configure
run in src. There can't be much wrong with the definitions as far as I can
My autoconf version is 2.67
Success --- Jan
After some further analysis, with help of Willem Melder we concluded that
- autoconf 2.59 is too old and causing these path issues.
- autoconf 2.67 and 2.69 are confirmed to work.
The way to install is to get a more recent version of the autotools
installed in your PATH.