> ----- Original Message ----- > From: "Masamichi HOSODA" <truer...@sea.plala.or.jp> > To: <m...@philholmes.net> > Cc: <lilypond-devel@gnu.org>; <truer...@sea.plala.or.jp> > Sent: Saturday, October 25, 2014 2:58 PM > Subject: Re: GUB and mpfr/mpc > > >>> ----- Original Message ----- >>> From: "Masamichi HOSODA" <truer...@sea.plala.or.jp> >>> To: <lilypond-devel@gnu.org> >>> Sent: Thursday, October 23, 2014 12:07 PM >>> Subject: Re: GUB and mpfr/mpc >>> >>> >>>>> I'm trying to update GCC on GUB and have a new virtual machine with >>>>> updated versions. I was having problems getting MPFR to build, but it >>>>> looks like I'ev fixed that with the new VM. However, it looks to me >>>>> like >>>>> GCC 4.8.2 has a new dependency on MPC that older versions did not: >>>>> there >>>>> appears no mention of MPC as a package in the current version of GUB. >>>>> My >>>>> most recent failure says this: >>>>> >>>>> checking for the correct version of gmp.h... buggy but acceptable >>>>> checking for the correct version of mpfr.h... yes >>>>> checking for the correct version of mpc.h... no >>>>> configure: error: Building GCC requires GMP 4.2+, MPFR 2.4.0+ and MPC >>>>> 0.8.0+. >>>>> >>>>> So it looks like we need to add a dependency on MPC. Problem is, I >>>>> don't >>>>> have a clue how to do this. I could try some stuff, but can anyone >>>>> here >>>>> help with how this dependency should be added to GUB? >>>>> >>>>> TIA. >>>> >>>> Did the error occur, while building cross/gcc? >>>> If that is right, GMP/MPFR/MPC may be required for not GUB but host >>>> OS. >>> >>> >>> The error is in the linux-86/log/cross/gcc-core.log file, so I assume >>> the answer is yes. However, my understanding is that the only package >>> that should need separately installing on plain Ubuntu/linux is git: >>> the rest should be downloaded and built by make bootstrap. >>> >>> -- >>> Phil Holmes >>> >> >> cross/gcc-core is built by host OS native gcc. >> Would you try the following commands on your Ubuntu? >> >> sudo apt-get update >> sudo apt-get install libgmp-dev >> sudo apt-get install libmpfr-dev >> sudo apt-get install libmpc-dev >> >> In my environment, I have succeeded in building of >> linux-x86::cross/gcc-core. >> However, I have still failed in building of linux-x86::glibc-core. >> >> https://github.com/trueroad/gub/tree/binutils-2.24 >> > > apt-get update ran fine. However, I get this for libgmp: > > gub@gub-V2:~/gub$ sudo apt-get install libgmp-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > E: Couldn't find package libgmp-dev > > -- > Phil Holmes >
libgmp-dev package exists after Ubuntu 12.04. http://packages.ubuntu.com/search?keywords=libgmp-dev&searchon=names&suite=all§ion=all My environment is Ubuntu 14.04LTS amd64. Are you using Ubuntu 10.04? _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-devel