At 14:27 14-7-01, you wrote:
>I am currently attempting to build Sablot on BeOS. Not being a hugely
>wonderful developer, I am easily stumped.
>
>Configure is successful. Expat is installed and found.
But it's not linked in.
>../autocfg -g -O2 -c context.cpp
>c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c context.cpp -
>DPIC -o .libs/context.lo
No -I/usr/local/include or equivalent to find expat.h
>/boot/home/source/Sablot-0.60/Sablot/engine/parser.h:93: `XML_Parser'
>was not declared in this scope
Seems to me, expat.h isn't included or found. In any case, check config.h
in /boot/home/source/Sablot-0.60/autocfg/autocfg.h and see if it says:
#define HAVE_EXPAT_H 1
In any case, with non-standard paths you might need to do some path
tweaking. I got it installed in a non-standard layout, like this (iconv libs
are in /libs/local):
CXXFLAGS='-O3 -I/libs/expat/include -I/libs/local/include' CPPFLAGS='-O3
-I/libs/expat/include -I/libs/local/include' CFLAGS='-O3 -I/libs/
expat/include -I/libs/local/include' LDFLAGS='-L/libs/expat/lib
-L/libs/local/lib' ./configure \
--prefix=/libs/sablot \
--enable-shared \
--enable-static \
--enable-adding-meta
>Gabe
____________________________________________________
</MELVYN>