gpc bootstrapping fails on makeinfo

Treutwein Bernhard <[email protected]> Fri, 11 Mar 2016 08:36:29 +0000
Newsgroups gmane.comp.compilers.gpc
Message-ID <78A8BD6765DCF048A628A51C3FBD1D764A9A950B@MXS2.zuv.uni-muenchen.de>
Hi all,

when I try to bootstrap gpc, on a TinyCore 7.0 Linux with the necessary
extensions installed. I downloaded the source distribution from 
http://alignment.hep.brandeis.edu/Software/Pascal/gpc-20070904-build.tar.gz
and followed the instructions given in 
http://alignment.hep.brandeis.edu/Software/Pascal/Pascal.html
But make aborts with the following error (after quite some time workin and some
warnings) during the attempt to create the info files:

[...]
make[2]: Entering directory '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts'
make[2]: Nothing to be done for 'generated-files'.
make[2]: Leaving directory '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts'
cd /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts && make -f Makefile.in srcdir=. GCC_VERSION="3.4.6" SHELL="/bin/sh" CFLAGS="-g -O2" PFLAGS="" AR_FLAGS="rc" RTSFLAGS="" DESTDIR="../.." AR="ar" RANLIB="ranlib" RANLIB_TEST="" generated-files
make[2]: Entering directory '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts'
make[2]: Nothing to be done for 'generated-files'.
make[2]: Leaving directory '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts'
[ -d "/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info" ] || /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/script/mkdir-p "/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info"
LANG=en_GB LC_ALL=en_GB makeinfo --split-size=5000000  -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/en -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/generated -o /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info gpc.texi
could not open gpc.texi: No such file or directory
/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/Make-lang.in:808: recipe for target '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info' failed
make[1]: *** [/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info] Error 1
make[1]: Leaving directory '/mnt/sda5/TeX-GPC/work/gcc'
Makefile:23375: recipe for target 'all-gcc' failed
make: *** [all-gcc] Error 2
tc@box:/mnt/sda5/TeX-GPC/work$ 


I'm neither an autoconf nor a make guru so I am lost. I have no idea how I
could tell make/configure to skip the step for creation of the documentation.
I guess that it is almost done, but I am not sure about that, I tried to install
with 

   sudo make pascal.install-with -gcc

which did something, but also ended with errors, which look very similar to the 
errors I hadbefore:

[...]
make[1]: Nothing to be done for 'generated-files'.
make[1]: Leaving directory '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/rts'
[ -d "/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info" ] || /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/script/mkdir-p "/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info"
LANG=en_GB LC_ALL=en_GB makeinfo  -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/en -I /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/generated -o /mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info gpc.texi
could not open gpc.texi: No such file or directory
/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/Make-lang.in:808: recipe for target '/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info' failed
make: *** [/mnt/sda5/TeX-GPC/work/gcc-3.4.6/gcc/p/doc/info/gpc.info] Error 1

Although 
	gpc --version
now works. But I cannot compile anything. Going to demos and trying
	gpc hello.pas -o hello
yields
	gpc: installation problem, cannot exec gpc1: No such file or directory

Here are the versions of the different tools used:

	$ bash --version
	GNU bash, version 4.3.39(1)-release (i486-pc-linux-gnu)
	...
	$ bzip2 --version
	bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.
	...
	$ sed --version
	sed (GNU sed) 4.2.2
	...
	$ awk --version
	GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.3-p4, GNU MP 6.0.0)
	...
	$ m4 --version
	m4 (GNU M4) 1.4.17
	...
	$ bison --version
	bison (GNU Bison) 3.0.4
	...
	$ flex --version
	flex 2.5.39
	...
	$ autoconf --version
	autoconf (GNU Autoconf) 2.69
	...
	$ makeinfo --version
	texi2any (GNU texinfo) 6.0
	...
	$ help2man --version
	GNU help2man 1.46.1

Regards and thanks in advance for any help
--
  Bernhard Treutwein
  

_______________________________________________
Gpc mailing list
[email protected]
https://www.g-n-u.de/mailman/listinfo/gpc