[developers] ECL compilation

Ben Waldron benjamin.waldron at cl.cam.ac.uk
Thu Feb 16 16:37:01 CET 2006


> Bernd Kiefer wrote:
>> ecl 0.9h fails to compile on Linux x86_64
>> Compilation fails because alloc_2.c does not
>> find the headers gc/gc.h and gc/gc_priv.h
>>
>> The reason seems to be that there is a libgc.so
>> installed in /usr/lib and gc.h in /usr/include
>>
>> The following patch removes the problem, although
>> there obviously is the need to handle this correctly
>> in the configure script:
>>
>> *** alloc_2.d~ Wed Nov 16 11:13:20 2005
>> --- alloc_2.d Fri Feb 10 15:33:30 2006
>> ***************
>> *** 25,26 ****
>> ! #include "gc/gc.h"
>> ! #include "gc/private/gc_priv.h"
>> --- 25,26 ----
>> ! #include <gc.h>
>> ! typedef char * ptr_t;
I was able to work around this problem by passing the following option 
to the configure script:

    --enable-boehm=included

(On my SuSE machine the problem occured because header files of the same 
name were already installed under /usr/include/ as part of the package 
boehm-gc-3.3.5-5)

Thanks,
- Ben



More information about the developers mailing list