lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building LilyPond with GUB on a 64bit machine with 32bit OS


From: Reinhold Kainhofer
Subject: Re: Building LilyPond with GUB on a 64bit machine with 32bit OS
Date: Mon, 15 Dec 2008 14:15:24 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 15. Dezember 2008 schrieb Jan Nieuwenhuizen:
> Op zaterdag 13-12-2008 om 01:59 uur [tijdzone +0100], schreef Reinhold
>
> Kainhofer:
> > Unfortunately, gmp does not build there, since the configure check seems
> > to think it is on a 64-bit platform:
>
> Is this with GUB3?

It's the checkout of
git://github.com/janneke/gub.git


> > checking size of mp_limb_t... 4
>
> You can look in configure.ac for the test with this text
>
> > configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
> > in this configuration expects 64 bits.
>
> and fix or disable it.

Searching the web and the mailing lists a bit more revealed that there is an 
undocumented environment variable, which one can use to force a given ABI:

ABI=32 make lilypond

It's not ideal that gmp doesn't detect this automatically, but at least now it 
builds correctly.


However, I'm now running into the next problem:  Lilypond's configure claims it 
is missing guile!

Here's the output:
[...]
checking for guile-config... i686-linux-guile-config
checking i686-linux-guile-config version... 1.8.5
checking guile compile flags... -I/home/lilypond/gub/target/linux-
x86/root/usr/include
checking guile link flags... -L/home/lilypond/gub/target/linux-x86/root/usr/lib 
- -lguile -lgmp
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... no
checking for scm_boot_guile... no
checking GUILE rational bugfix... ok
[...]
checking for guile... guile
checking for guile... /home/lilypond/gub/target/tools/root/usr/bin/guile
[...]
config.status: creating config.make
config.status: creating config.hh
config.status: config.hh is unchanged

ERROR: Please install required programs:  libguile (libguile-dev, guile-devel 
or guile-dev package).


Strange enough, on that same machine the nightly binary and docs builds work 
fine and detect guile just fine... The configure output of the current git 
master 
(using the system-wide installed guile) is:
[...]
checking for guile-config... guile-config
checking guile-config version... 1.8.5
checking guile compile flags...   -pthread
checking guile link flags...  -pthread -lguile -lltdl  -Wl,-Bsymbolic-functions 
- -lgmp -lcrypt -lm -lltdl
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for scm_boot_guile... yes
checking GUILE rational bugfix... ok
[...]
checking for guile... guile
checking for guile... /usr/bin/guile

So, apparently the guile built by gub is missing scm_boot_guile or some link 
flag....

Cheers,
Reinhold

- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
 * Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
 * K Desktop Environment, http://www.kde.org, KOrganizer maintainer
 * Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJRlhsTqjEwhXvPN0RApAyAJ9MuLyiQu3M0xmn2pQ2+2PQxQIYOACeNlAG
iiE7n2bGfUUQA8uUWOeqjnU=
=/7rL
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]