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: Wed, 17 Dec 2008 18:58:04 +0100
User-agent: KMail/1.10.3 (Linux/2.6.27-9-generic; KDE/4.1.3; i686; ; )

Am Dienstag, 16. Dezember 2008 schrieb Jan Nieuwenhuizen:
> > Should the LD_LIBRARY_PATH really be set during the execution of
> > lilypond's configure script???
>
> Good question, but is this what breaks your configure run?
>
> Every binary in tools should either have a wrapper, or
> be using rpath.  It is being set in gub/target.py:
>
>             'LD_LIBRARY_PATH': '%(tools_prefix)s/lib'
>             + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')),
>
> it would be nice to have documented why we [think we] need this.

Actually, this IS what is breaking the configure check. By setting 
LD_LIBRARY_PATH to the tools dir, you are telling the linker to use the 
libraries from there (which are linked to glib 2.3). This fails in the guile 
check, since some libraries are used from the system and some from the tools 
dir.

If I uncomment all three 
  LD_LIBRARY_PATH': '%(tools_prefix)s/lib'
            + misc.append_path (os.environ.get ('LD_LIBRARY_PATH', '')),
settings in the gub/*.py files, then the configure check works fine and 
lilypond 
builds also fine.

It then only fails on the TODO file:

file from VC not distributed: lilypond-2.11.66/lily/TODO
rm -rf /tmp/tmpMdXowy
Traceback (most recent call last):
  File "test-lily/dist-check.py", line 136, in <module>
    main ()
  File "test-lily/dist-check.py", line 131, in main
    check_files (tarball, repo)
  File "test-lily/dist-check.py", line 116, in check_files
    raise Exception ('dist error found')
Exception: dist error found
make[3]: *** [unlocked-dist-check] Fehler 1
make[3]: Verlasse Verzeichnis '/home/reinhold/lilypond/gub'
make[2]: *** [cached-dist-check] Fehler 2
make[2]: Verlasse Verzeichnis '/home/reinhold/lilypond/gub'
make[1]: *** [dist-check] Fehler 2
make[1]: Verlasse Verzeichnis '/home/reinhold/lilypond/gub'


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/




reply via email to

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