|
Bugzilla – Full Text Bug Listing |
| Summary: | wrong include path for packages at compile time | ||
|---|---|---|---|
| Product: | SWI-Prolog | Reporter: | Joachim Neubert <j.neubert> |
| Component: | core | Assignee: | Jan Wielemaker <bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Highest | ||
| Version: | unspecified | ||
| Hardware: | PC | ||
| OS: | Linux | ||
Hmm. I'm afraid that remote debugging is getting really hard here. I
suspect a bug in autoconf. The base-paths are setup in
packages/Makefile.defs.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
see.
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. |
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; \ done gmake[2]: Entering directory `/usr/local/src/git/pl/packages/clib' gcc44 -O2 -Wall -fno-strict-aliasing -pthread -fPIC -I/usr/local/src/git/pl/src/../packages/../.././../include -I/usr/local/src/git/pl/src/../packages/../../../src/../packages/clib -I/usr/local/src/git/pl/src/../packages/../../../src/../packages/clib/maildrop/rfc2045 -I/usr/local/src/git/pl/src/../packages/../../../src/../packages/clib/maildrop/rfc822 -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