[...]
So ./python almost immediately segfaults during processing of
Py_Initialize().
Asked google about 'segfault python-2.4.5/Objects/classobject.c:551'.
1st answer: <https://sourceforge.net/p/testlilyissues/issues/5425/>
;-)
So the same problem Federico Bruni hit on Fedora 28 with gcc version
8.1.1 is present on openSuSE Tumbleweed at with gcc version 8.2.1.
The problem is not present on ubuntu 18, that distribution uses gcc
7.3.
Should this be an incompatibility of gcc 8.* and python 2.4.5?
On openSuSE Tumbleweed there's also gcc-7 (gcc version 7.4.). Let's
try to add 'CC=gcc-7' to configure_command.
'bin/gub tools::python' succeeds. All other ::python targets succeed!
Be brave ... try 'make lilypond' ;-)
Results: Building of all *::lilypond targets succeed. But building of
lilypond-test fails.
./target/linux-64/build/lilypond-git.sv.gnu.org--lilypond.git-master/input/regression/lilypond-book/suffix-tely.texi2pdf.log:
/home/gub/NewGub/gub/target/tools/root/usr/bin/texi2dvi: texinfo.tex
appears to be broken.
This may be due to the environment variable TEX set to something
other than (plain) tex, a corrupt texinfo.tex file, or
to tex itself simply not working.
etex:
/home/gub/NewGub/gub/target/linux-64/root/usr/lib/libstdc++.so.6:
version `CXXABI_1.3.9' not found (required by etex)
etex: /home/gub/NewGub/gub/target/tools/root/usr/lib/libz.so.1: no
version information available (required by /usr/lib64/libpng16.so.16)
etex: /home/gub/NewGub/gub/target/tools/root/usr/lib/libz.so.1: no
version information available (required by /usr/lib64/libpng16.so.16)
etex:
/home/gub/NewGub/gub/target/linux-64/root/usr/lib/libstdc++.so.6:
version `GLIBCXX_3.4.21' not found (required by
/usr/lib64/libpoppler.so.79)
/home/gub/NewGub/gub/target/tools/root/usr/bin/texi2dvi: quitting.
Well. Another problem.
@Federico: Is there an easy option to install gcc 7.x on fedora 28?
If yes: What's the name of that compiler?