Il giorno mar 15 gen 2019 alle 15:42, Federico Bruni
<f...@inventati.org> ha scritto:
@Federico: Is there an easy option to install gcc 7.x on fedora 28?
If yes: What's the name of that compiler?
Old packages are available as compat-gcc-N, but there's only a very
old version (3.4.6) which can be installed concurrently. But
downgrading is possible:
sudo dnf --releasever=27 --disablerepo=fedora-modular
--disablerepo=updates-modular downgrade gcc
I'll try `make lilypond` on LilyDev, both Debian 9 (gcc 6.3.0) and
Fedora 29 versions (gcc downgraded to 7.3.1).
However, downgrading gcc is not enough¹.
My tests with LilyDev end here. I'm sorry I cannot help.
¹ Fedora 29
Fails when compiling tools::m4
Here's the tail of target/tools/log/m4.log
##############################################################################
depbase=`echo gl_list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -I. -I/home/dev/gub/target/tools/src/m4-1.4.12/lib
-I/home/dev/gub/target/tools/root/usr/include -MT gl_list.o -MD -MP -MF
$depbase.Tpo -c -o gl_list.o
/home/dev/gub/target/tools/src/m4-1.4.12/lib/gl_list.c &&\
mv -f $depbase.Tpo $depbase.Po
/home/dev/gub/target/tools/src/m4-1.4.12/lib/freadahead.c: In function
'freadahead':
/home/dev/gub/target/tools/src/m4-1.4.12/lib/freadahead.c:77:3: error:
#error "Please port gnulib freadahead.c to your platform! Look at the
definition of fflush, fread, ungetc on your system, then report this to
bug-gnulib."
#error "Please port gnulib freadahead.c to your platform! Look at the
definition of fflush, fread, ungetc on your system, then report this to
bug-gnulib."
^~~~~
make[4]: *** [Makefile:869: freadahead.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory
'/home/dev/gub/target/tools/build/m4-1.4.12/lib'
make[3]: *** [Makefile:891: all-recursive] Error 1
make[3]: Leaving directory
'/home/dev/gub/target/tools/build/m4-1.4.12/lib'
make[2]: *** [Makefile:682: all] Error 2
make[2]: Leaving directory
'/home/dev/gub/target/tools/build/m4-1.4.12/lib'
make[1]: *** [Makefile:626: all-recursive] Error 1
make[1]: Leaving directory '/home/dev/gub/target/tools/build/m4-1.4.12'
make: *** [Makefile:580: all] Error 2
Command barfed: cd /home/dev/gub/target/tools/build/m4-1.4.12 && make
-j8
##############################################################################
After a quick search:
https://lists.gnu.org/r/bug-gnulib/2018-03/msg00000.html
_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel