[OPEN-ILS-DEV] Another problem when compiling on FC 5

Jason Zou qzou at lakeheadu.ca
Wed May 9 08:28:35 EDT 2007


Dan Scott wrote:
> On 08/05/07, Jeroen Ruigrok van der Werven <asmodai at in-nomine.org> wrote:
>> -On [20070508 18:06], Jason Zou (qzou at lakeheadu.ca) wrote:
>> > In file included from /usr/include/httpd/ap_config.h:25,
>> > from /usr/include/httpd/httpd.h:43,
>> > from apachetools.h:1,
>> > from apachetools.c:1:
>> > /usr/include/apr-1/apr.h:270: error exprected '=', ',',':', 'asm' or
>> > '__attribute__' before 'apr_off_t'
>>
>> 268 typedef size_t apr_size_t;
>> 269 typedef ssize_t apr_ssize_t;
>> 270 typedef off_t apr_off_t;
>> 271 typedef socklen_t apr_socklen_t;
>>
>> So it is not picking up off_t.
>> Try something like: grep -R off_t /usr/include/* | grep typedef
>>
>> Something in the chain of includes and defines it messes up and off_t
>> is not
>> being defined I guess.
>>
>> Then again, I could be way off here, since this is not the type of error
>> message I'd commonly get for such issues.
>>
>> -- 
>> Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
>> イェルーン ラウフロック ヴァン デル ウェルヴェン
>> http://www.in-nomine.org/ | http://www.rangaku.org/
>> All for one, one for all...
>>
>
> Hi Jason:
>
> Back on February 22nd (1), Bill committed a patch to the 1_0 and HEAD
> branches that respects CFLAGS settings for x86-32 platforms,
> specifically to address this problem on 32-bit Debian. Sounds like you
> might be seeing the same issue on FC 5. Try:
>
> CFLAGS=-D_LARGEFILE64_SOURCE make
>
> ... and see if that makes any difference.
>
> *1 See
> http://list.georgialibraries.org/pipermail/open-ils-dev/2007-February/000362.html
>
>
Thanks, Dan,

Yes, improper CFLAGS cause the problem.

I have successfully installed Evergreen on FC 5.

Jason



More information about the Open-ils-dev mailing list