lilypond-devel
[Top][All Lists]
Advanced

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

Re: Documentation/devel/


From: Reinhold Kainhofer
Subject: Re: Documentation/devel/
Date: Sat, 10 Jan 2009 18:43:53 +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 Samstag, 10. Januar 2009 13:46:15 schrieb John Mandereau:
> > 2.  Get GUB setup and working.  Whatever bugs you find and fix
> > will be less that I'll encounter.  Since I'm using kainhofer, I'll
> > probably find bugs (in x64) that you don't find, but getting GUB
> > more stable will still help.
>
> I'm running a x86_64 box too.

My server is running Ubuntu 32-bit, just the processor is 64-bit...

> > 3.  If you want to earn my undying gratitude and love, log in to
> > kainhofer (if you can) and get GUB working on that.

Only Graham and I have currently access to that account...

> If manage to build correct binaries on my machine, I'll leave getting GUB
> working on kainhofer to somebody else: getting GUB to build on a variety of
> machines is cool, but not necessary; getting GUB to build on at least one
> machine by is necessary, though.

Here are the current problems (with the guile build) in kainhofer.com:

address@hidden:~/gub$ ABI=32 make lilypond &> log
[...]
must rebuild[tools]: guile
building package: tools::guile
 *** Stage: untar (guile, tools)
 *** Stage: patch (guile, tools)
 *** Stage: autoupdate (guile, tools)
 *** Stage: configure (guile, tools)
[...]
checking for char... yes
checking size of char... configure: error: cannot compute sizeof (char)
See `config.log' for more details.
Command barfed: cd /home/lilypond/gub/target/tools/build/guile-release_1-8-5 
&& chmod +x /home/lilypond/gub/target/tools/src/guile-release_1-8-5/configure 
&& /home/lilypond/gub/target/tools/src/guile-release_1-8-5/configure --
prefix=/home/lilypond/gub/target/tools/install/guile-release_1-8-5-root/usr --
prefix=/home/lilypond/gub/target/tools/root/usr --enable-shared --enable-
static  CFLAGS=-I/home/lilypond/gub/target/tools/root/usr/include LDFLAGS=-
L/home/lilypond/gub/target/tools/root/usr/lib  --without-threads --with-gnu-ld 
- --enable-deprecated --enable-discouraged --disable-error-on-warning --enable-
relocation --disable-rpath




In guile's config log there is some more information: 
[...]
configure:22123: checking size of char
configure:22425: gcc -o conftest -
I/home/lilypond/gub/target/tools/root/usr/include  -
L/home/lilypond/gub/target/tools/root/usr/lib conftest.c -lltdl  >&5
configure:22428: $? = 0
configure:22434: ./conftest
./conftest: error while loading shared libraries: libltdl.so.3: cannot open 
shared object file: No such file or directory
configure:22437: $? = 127
configure: program exited with status 127
configure: failed program was:
[...]


address@hidden:~/gub$ locate libltdl.so.3
/home/lilypond/gub/target/tools/root/usr/lib/libltdl.so.3
/home/lilypond/gub/target/tools/root/usr/lib/libltdl.so.3.1.4


So, apparently, ./conftest can't find the libltdl.so.3 any more (which it was 
linked against), since the tools directory is no longer in LD_LIBRARY_PATH...
It seems that while building (and of course also when running) all the tools, 
we still need the tools directory in the LD_LIBRARY_PATH...
On the other hand, when compiling/linking, the LD_LIBRARY_PATH pathes should 
be ignored to prevent linking to libraries in tools/ ... Hmm, to be honest, I 
have no real idea of the correct way to handle this!

Cheers,
Reinhold
- -- 
- ------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iD8DBQFJaN5aTqjEwhXvPN0RAp5KAKC4EjtIMa67rrNo7JV1lDVolO5h7ACfWo7I
vBoO628rXxJQ/5ImogRMcmM=
=YZpZ
-----END PGP SIGNATURE-----




reply via email to

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