Re: root & slc-4.2

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Sun, 5 Feb 2006 12:56:41 +0100 (MET)


Yes Marek. Just move libpacklib_noshift.a to libpacklib.a and reconfigure without "shift"
You will still get h2root, but will not be able to convert remote files via h2root.

Rene

On Sun, 5 Feb
2006, Marek Kowalski wrote:

> Hi Rene,
> I do not need CASTOR, so I can reconfigure my root without shift.
> Concerning libpacklibs - I have two of them in my $CERN/pro/lib, namely
> libpacklib.a and libpacklib_noshift.a and they are different. Should I just
> move libpacklib.a  to something and libpacklib_noshift.a to libpacklib.a ?
> Anyway, I can play a little. I would not like to give up h2root...
> Regards, Marek
> On Saturday 04 February 2006 23:31, you wrote:

>> Marek,
>>
>> It is likely that you have a version of cernlib/libpacklib.a that
>> is not compatible with your Castor library (a big mess right now).
>> If you do not need Castor, reconfigure ROOT without the shift option
>> and in cern/pro/lib rename libpacklib-n0-shift to libpacklib.a.
>> If you need Castor, contact the Castor guys. It looks like they do not
>> have yet a version working with gcc3.4.4
>> And if you do not care about h2root, simply do
>> make -k
>>
>> Rene brun
>>
>> On
>> Sat,
>> 4
>>
>> Feb 2006, Marek Kowalski wrote:
>>> Hi,
>>> I am running SLC 4.2, gcc version 3.4.4 20050721 (Red Hat 3.4.4-2).
>>> I tried to install root, HEAD of 3rd of February with them following
>>> results:
>>>
>>> g++ -O -o bin/h2root main/src/h2root.o hbook/src/hntvar2.o \
>>> -Llib -lCore -lCint -lHist -lGraf -lGraf3d -lGpad -lTree
>>> -lMatrix \ -L/usr/local/cern/pro/lib -L/usr/local/cern/pro/lib -lpacklib
>>> -lkernlib -L/usr/local/lib \
>>> -lshift /usr/lib/gcc/i386-redhat-linux/3.4.4/libfrtbegin.a
>>> /usr/lib/gcc/i386-redhat-linux/3.4.4/libg2c.a -lnsl -lm -ldl -pthread
>>> -rdynamic
>>>
>>> /usr/local/lib/libshift.a(error.o)(.text+0x25c): In function
> `rfio_serror':

>>> : warning: `sys_errlist' is deprecated; use `strerror' or `strerror_r'
>>> : instead
>>>
>>> /usr/local/lib/libshift.a(serror.o)(.text+0x26): In function `sstrerror':
>>> : warning: `sys_nerr' is deprecated; use `strerror' or `strerror_r'
>>> : instead
>>>
>>> /usr/local/lib/libshift.a(remote.o)(.text+0x417): In function `isremote':
>>> : undefined reference to `errno'
>>>
>>> /usr/local/lib/libshift.a(remote.o)(.text+0x481): In function `isremote':
>>> : undefined reference to `errno'
>>>
>>> collect2: ld returned 1 exit status
>>> make: *** [bin/h2root] Error 1
>>>
>>>
>>>
>>> Any suggestion?
>>> Cheers, Marek
>>>
>>> -------------------------------------------------------
> Received on Sun Feb 05 2006 - 12:56:51 MET

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