[frogs] Re: Lilypond and Guile forward compatibility

[ Thread Index | Date Index | More lilynet.net/frogs Archives ]


On Tue, Apr 20, 2010 at 3:51 PM, Ian Hulin <ian@xxxxxxxxxxxx> wrote:
> On 19/04/10 01:11, Patrick McCarty wrote:
>>
>>   In other words, if I compile LilyPond with these commands,
>>   everything checks out, and compilation fails for me at the same
>>   place it did before:
>>
>>     $ libguiledir="/path/to/guile-1.9.10/libguile/.libs"
>>     $ export LDFLAGS="-L$libguiledir -Wl,-rpath $libguiledir"
>>     $ ./autogen.sh --disable-optimising
>>     $ make all
>>
>>
>> Can you test this to see if you get the same results?
>>
>
> Rebuilt Guile, then
>
> $ meta/uninstalled-env bash
> $ libguiledir="$PWD/libguile/.libs"
> $ export LDFLAGS="-L$libguiledir -Wl, -rpath $libguiledir"
> $ echo $libguiledir
> /home/ian/Desktop/Development/Guile-and-Scheme/guile-1.9.10/libguile/.libs
> $ echo $LDFLAGS
> -L/home/ian/Desktop/Development/Guile-and-Scheme/guile-1.9.10/libguile/.libs
> -Wl, -rpath
> /home/ian/Desktop/Development/Guile-and-Scheme/guile-1.9.10/libguile/.libs
> $ cd lilypond
> $ ./autogen.sh --prefix=$HOME/usr --disable-optimising
> processing .
> Running autoconf ...
> Running ./configure --prefix=/home/ian/usr --disable-optimising ...
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking Package... LILYPOND
> checking builddir...
> /home/ian/Desktop/Development/Guile-and-Scheme/guile-1.9.10/lilypond
> checking for stepmake... ./stepmake  (${datarootdir}/stepmake not found)
> checking for gmake... no
> checking for make... make
> checking for find... find
> checking for tar... tar
> checking for bash... /bin/bash
> checking for python... python
> checking python version... 2.6.4
> checking for python... /usr/bin/python
> checking for gcc... gcc
> checking for C compiler default output file name...
> configure: error: in
> `/home/ian/Desktop/Development/Guile-and-Scheme/guile-1.9.10/lilypond':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.
> $
> So now it doesn't get as far as it does on your system.

Hmm...

IIRC, I saw this error message too before I discovered the correct
setting for LDFLAGS.

I'm pretty sure a space is not allowed after the comma in the LDFLAGS, so

correct: $ export LDFLAGS="-L$libguiledir -Wl,-rpath $libguiledir"
not:     $ export LDFLAGS="-L$libguiledir -Wl, -rpath $libguiledir"

Does it still fail if you omit the space that crept into LDFLAGS?

Thanks,
Patrick

---
----
Join the Frogs!


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/