Re: Problem compiling ROOT on FreeBSD...

From: Rene Brun <Rene.Brun_at_cern.ch>
Date: Thu, 29 May 2008 07:39:21 +0200


Pierre-Luc,

I have added your code (was already there for APPLE) for the FreeBSD case. Now in SVN trunk.
Thanks for the message.

Rene Brun

Pierre-Luc Drouin wrote:
> I have found something else. While building minicern it was failing to
> build cernlib.c due to the definition of struct stat in FreeBSD. For
> FreeBSD the struct is defined similarly to OSX, so I guess that for
> FreeBSD the preprocessing macro in cfstati_ should use this:
> info[7] = (int) buf.st_atimespec.tv_sec;
> info[8] = (int) buf.st_mtimespec.tv_sec;
> info[9] = (int) buf.st_ctimespec.tv_sec;
> info[10] = (int) buf.st_blksize;
> info[11] = (int) buf.st_blocks;
>
> instead of this:
> info[7] = (int) buf.st_atim.tv_sec;
> info[8] = (int) buf.st_mtim.tv_sec;
> info[9] = (int) buf.st_ctim.tv_sec;
> info[10] = (int) buf.st_blksize;
> info[11] = (int) buf.st_blocks;
>
> Thanks!
>
> Axel Naumann wrote:
>> Hi Pierre-Luc,
>>
>> OK, if you disable reflex it's not going to be built :-) But there is
>> a bug in our configure script, I agree - with reflex disabled also
>> cintex shouldn't be built. I'll fix that. Until then just either
>> enable both or disable both cintex and reflex.
>>
>> Cheers, Axel.
>>
>> On 2008-05-28 20:58, Pierre-Luc Drouin wrote:
>>> Hi,
>>>
>>> GNU Make 3.81
>>> Copyright (C) 2006 Free Software Foundation, Inc.
>>> This is free software; see the source for copying conditions.
>>> There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
>>> PARTICULAR PURPOSE.
>>>
>>> This program built for i386-portbld-freebsd7.0
>>>
>>> cat config.status:
>>> freebsd5 --disable-ldap --disable-krb5 --disable-mysql
>>> --disable-python --disable-reflex
>>>
>>> Thanks!
>>>
>>> Axel Naumann wrote:
>>>> Hi,
>>>>
>>>> what make version do you have? Could you send config.status?
>>>>
>>>> Cheers, Axel.
>>>>
>>>> On 2008-05-28 19:51, Pierre-Luc Drouin wrote:
>>>>> Hi,
>>>>>
>>>>> I get the following error when I try compiling ROOT on FreeBSD. It
>>>>> looks like libReflex is not generated. How can I fix it?
>>>>>
>>>>> Thanks!
>>>>>
>>>>> bin/rmkdepend -R -fcint/cintex/src/CINTClassBuilder.d -Y -w 1000
>>>>> -- -pipe -W -Wall -fPIC -I/usr/X11R6/include -Df2cFortran
>>>>> -Iinclude -pthread -D__cplusplus -- cint/cintex/src/CI
>>>>> NTClassBuilder.cxx
>>>>> g++ -O -pipe -W -Wall -fPIC -I/usr/X11R6/include -Df2cFortran
>>>>> -Iinclude -pthread -o cint/cintex/src/CINTClassBuilder.o -c
>>>>> cint/cintex/src/CINTClassBuilder.cxx
>>>>> cint/cintex/src/CINTClassBuilder.cxx:12:27: error:
>>>>> Reflex/Reflex.h: No such file or directory
>>>>> cint/cintex/src/CINTClassBuilder.cxx:13:26: error: Reflex/Tools.h:
>>>>> No such file or directory
>>>>>
>>>>>
>>>
>>>
>>
>
Received on Thu May 29 2008 - 07:39:22 CEST

This archive was generated by hypermail 2.2.0 : Thu May 29 2008 - 17:50:01 CEST