Dear Stewart, I tried to compile the github Mozart sources and ran into the same error as you reported some time ago (see below). How did you overcome this issue.
I think we should update the Mozart compilation docs to dicuss such issues... Otherwise it will be unnecessarily hard for others to join... Best, Torsten On 22 Feb 2011, at 18:34, stewart mackenzie wrote: >> Oops, 64 bit system... >> By default we try to build as a 32 bit application on them, so you need >> g++-multilib which will pull in the needed headers. > > > The g++-multilib worked well, though seems gmp has done something similar > > I did > > stewart@rivergoddess:~/dev/mozart$ sudo apt-get install libgmp3-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > libgmp3-dev is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded. > > and > > stewart@rivergoddess:~/dev/mozart$ sudo apt-get install libgmp3c2 > Reading package lists... Done > Building dependency tree > Reading state information... Done > libgmp3c2 is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded. > > and I still get this: > > checking for --with-gmp... yes > checking for gmp.h... yes > checking for __gmpz_init in -lgmp (default)... no > checking for mpz_init in -lgmp (default)... no > checking for mpz_init in -lgmp2 (default)... no > configure: warning: required GNU MP lib not found > configure: error: > The GNU Multiple Precision Arithmetic Library (gmp) > version 2 or higher is required > to build the system. It can be retrieved from: > > ftp://ftp.gnu.org/pub/gnu/gmp/ > > The latest version at this time is 4.1.2 and is available > packaged as the following archive: > > ftp://ftp.gnu.org/pub/gnu/gmp/gmp-4.1.2.tar.gz > > You may find a mirror archive closer to you by consulting: > > http://www.gnu.org/order/ftp.html > > configure: error: /home/stewart/dev/mozart/platform/emulator/configure > failed for emulator > configure: error: /home/stewart/dev/mozart/platform/configure failed > for platform > > --------------- > Is there some other g++-*lib to install that I am missing? > > > Stewart > _________________________________________________________________________________ > mozart-hackers mailing list > [email protected] > http://www.mozart-oz.org/mailman/listinfo/mozart-hackers Best wishes, Torsten -- Dr Torsten Anders Course Leader, Music Technology University of Bedfordshire Park Square, Room A315 http://strasheela.sourceforge.net http://www.torsten-anders.de _________________________________________________________________________________ mozart-hackers mailing list [email protected] http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
