didoudiaz/gprolog

Git version make install header errors

Closed this issue · 1 comments

pmoura commented

With 7adebe2 from the src directory:

$ CC=/opt/local/bin/gcc-mp-12 ./configure && make && sudo make install
...
./mkinstalldirs /usr/local/gprolog-1.6.0 /usr/local/gprolog-1.6.0/bin \
	/usr/local/gprolog-1.6.0/include /usr/local/gprolog-1.6.0/lib
for i in README COPYING VERSION NEWS ChangeLog gprolog.ico; do /opt/local/bin/ginstall -c -m 644 ../$i /usr/local/gprolog-1.6.0; done
for i in gplc hexgplc gprolog pl2wam wam2ma ma2asm fd2c; do /opt/local/bin/ginstall -c */$i /usr/local/gprolog-1.6.0/bin; done
for i in top_level_main.o top_level.o all_pl_bips.o debugger.o all_fd_bips.o; do /opt/local/bin/ginstall -c -m 644 */$i /usr/local/gprolog-1.6.0/lib; done
for i in libengine_pl.a libbips_pl.a liblinedit.a libengine_fd.a libbips_fd.a; do /opt/local/bin/ginstall -c -m 644 */$i /usr/local/gprolog-1.6.0/lib; done
for i in gprolog.h fd_to_c.h; do EnginePl/cpp_headers $i ./$i EnginePl EngineFD BipsPl BipsFD; /opt/local/bin/ginstall -c -m 644 ./$i /usr/local/gprolog-1.6.0/include; rm -f $i; done
/bin/sh: EnginePl/cpp_headers: No such file or directory
ginstall: cannot stat './gprolog.h': No such file or directory
/bin/sh: EnginePl/cpp_headers: No such file or directory
ginstall: cannot stat './fd_to_c.h': No such file or directory
...
pmoura commented

Thanks for the quick fix.