Re: building ROOT 5.26 with editline on Fedora 13

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Sun, 30 May 2010 18:15:11 +0200


Hi Kazuyoshi,

On 30/05/10 14:49, Kazuyoshi Furutaka wrote:
> Hi Fons, Ali, John, and list...
>
> From: Fons Rademakers<Fons.Rademakers_at_cern.ch>
> Subject: Re: [ROOT] building ROOT 5.26 with editline on Fedora 13
> Date: Sun, 30 May 2010 11:23:31 +0200
>
>> X-Mailer: iPad Mail (7B367)
>
> Wow!
>

:-D

>> This has been fixed in the trunk. please try and let me know.
>
> It works. I'll attach the config.log.
> # The build is now underway.
>

Yes, Fedora-13 decided to use ld scripts as .so files, instead of having .so's as expected binaries. Maybe next time .txt files will be binaries that are vi/emacs plugins, who knows. Anyway, to handle this case we did modify ./configure to make do an explicit link to find out if the referenced file is a 64-bit library or not.

Cheers, Fons.

> From: suvayu ali<fatkasuvayu_at_gmail.com>
> Subject: Re: [ROOT] building ROOT 5.26 with editline on Fedora 13
> Date: Sun, 30 May 2010 01:09:13 -0700
>
>> That works! But I still couldn't follow everything you said. Does that
>> mean there is a bug in the fedora ncurses-devel package ? Instead of a
>> symlink its a ASCII text file?
>
> I know almost nothing about autoconf, I just see what happend
> in the configure script.
>
> In short, it's not a Fedora-13 bug.
>
> To see whether there's a valid 64-bit libncurses.so library
> the script uses check_lib64() and tested whether the output
> of `file -L` command on the file contains the word '64-bit'.
> On x86_64 Fedora-13 machines the file is in /usr/lib64 and
> instead of pointing to the other file (the shared library
> proper) using symbolic link mechanism it just includes the
> other file named libncurses.so.5, which is in /lib64, and
> therefore, the output of `file -L` doesn't contain '64-bit'
> and the script fails to detect the shared library.
>
>>> [furutaka_at_Peart root_v5.27.02]$ file -L /usr/lib64/libncurses.so
>>> /usr/lib64/libncurses.so: ASCII text
>>> [furutaka_at_Peart root_v5.27.02]$ cat /usr/lib64/libncurses.so
>>> INPUT(libncurses.so.5 -ltinfo)
>>> [furutaka_at_Peart root_v5.27.02]$ ls /lib64/libncurses*
>>> /lib64/libncurses.so.5 /lib64/libncursesw.so.5
>>> /lib64/libncurses.so.5.7 /lib64/libncursesw.so.5.7
>
> Yours,
> Kazuyoshi
> --
> Kazuyoshi Furutaka
> furutaka_at_jb3.so-net.ne.jp
>

-- 
Org:    CERN, European Laboratory for Particle Physics.
Mail:   1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers_at_cern.ch              Phone: +41 22 7679248
WWW:    http://fons.rademakers.org           Fax:   +41 22 7669640
Received on Sun May 30 2010 - 18:15:16 CEST

This archive was generated by hypermail 2.2.0 : Mon May 31 2010 - 05:50:02 CEST