[redland-dev] Can't compile on Red Hat Linux

Seth Ladd seth at brivo.net
Tue Mar 25 12:30:20 GMT 2003


>>gcc -DHAVE_CONFIG_H -I. -I. -I. -I../expat/xmlparse -I/usr/include/libxm
>>l2 -I/work/bdb/include -I.. -I../raptor -DLIBRDF_INTERNAL=1 -g -c
>>rdf_node.c  -fPIC -DPIC -o .libs/rdf_node.lo
>>In file included from rdf_utf8.h:32,
>>                 from rdf_node.c:34:
>>rdf_types.h:41:6: #error u32 type not defined
>>rdf_types.h:51:6: #error byte type not defined
> 
> 
> This is usually caused by switching configure options and
> config.cache being out of date with respect to the current setup.  I
> see you are using a berkeley DB from somewhere else - /work/bdb - so
> maybe you need to:
>   rm config.cache
> and run configure again with the set of options you need
> (I assume it is --with=bdb=/work/bdb at the very least)

This is the same error we see on 7.2.  When we compile against our own 
bdb, those types aren't defined.  We had to solve it by moving the type 
checks to before configure does its bdb checking.

This is after a virgin untar and one run of configure.

Seth




More information about the redland-dev mailing list