Re: Build error for ROOT5.08 on PowerPC/SuSe SLES 9.0 platform

From: Fons Rademakers <Fons.Rademakers_at_cern.ch>
Date: Thu, 19 Jan 2006 10:48:09 +0100


Hi Charlie,

  if you run on ppc64 use:

./configure linuxppc64gcc

to configure in which case the right directories, i.e. lib64 will be searched.

Cheers, Fons.

Charlie Maguire wrote:

> Dear Fons,
> 
> The --disable-xml skip did work but I ran into other problems later
> which appear to be a 32 bit vs 64 bit confusion.  In fact, the libxml2
> error may be the same thing since there is an alternate /usr/lib64/
> directory which should have been searched instead of /usr/lib .
> 
> Could you tell me how I enforce either a 32 bit or a 64 bit
> compilation and link for ROOT?
> 
> If you want me to take this thread off the roottalk list, let me know.
> 
> Regards,
> Charlie
> 
> Fons Rademakers wrote:

>> Hi Charlie,
>>
>> I've only access to ppc64 under FC4 on my Mac G5 where it builds
>> nicely. There are two options:
>> - install your self a compatible libxml2, normally the latest
>> libxml2 is ok (you don't happen to build for ppc64 do you?)
>> - use the --disable-xml which will skip the building of the xml
>> interface plugin
>>
>> Cheers, Fons.
>>
>>
>> Charlie Maguire wrote:
>>
>>> Dear all,
>>>
>>> I experienced an error concerning the libxml2.so library when
>>> I attempted to build ROOT5.08/00 from source on a
>>> PowerPC/SuSe SLES 9.0 platform (2.2 GHz JS20 IBM CPU).
>>> Previously I was successful in building ROOT5.08/00
>>> from the same source tar file on two Intel CPU platforms,
>>> one running Scientific Linux and the other WhiteBox Linux
>>> clones of RH3.
>>>
>>> There is a libxml2.so library, softlinked to libxml2.so.2.6.7,
>>> on the PowerPC system but the build command reports an error
>>>
>>> /usr/lib/gcc-lib/powerpc-suse-linux/3.3.3/../../../../powerpc-suse-linux/bin/ld:
>>>
>>> skipping incompatible /usr/lib/libxml2.so when searching for -lxml2
>>>
>>> and eventually reports that it cannot find libxml2.so .
>>>
>>> On the two Intel platforms where I was successful in building ROOT
>>> the libxml2 libraries are slightly older: libxml2.so.2.5.10
>>> and libxml2.so.2.4.25 .
>>>
>>> Prior to the make command on the PowerPC, I ran a configure command
>>> without
>>> any options specified. The build error occurred after about
>>> 95% of the compilations has succeeded.
>>>
>>> The PowerPC platform is a new addition to the University's
>>> large computer farm to which our group has been give access.
>>>
>>> Later I plan to build the CERNLIBs on this platform, in case
>>> anyone has related experience in that effort.
>>>
>>> Regards,
>>> Charlie
>>>
>>

>
-- 
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://www.rademakers.org/fons/      Fax:   +41 22 7679480
Received on Thu Jan 19 2006 - 10:48:23 MET

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:31:56 MET