Bruno,
the problem is that expat.h is not found. Try setting CPLUS_INCLUDE_PATH
to /usr/local/expat1951/include (I'm not sure why the -I switch is not
being used in the make). Have you tried moving expat.h to
/usr/local/include? 

Tom

On Mon, 16 Apr 2001 07:29:38 GMT+1
bruno lardin <[EMAIL PROTECTED]> wrote:

> I have a problem during compilation time 
> 
> I have installed expat-1.95.1 in 
> folder /usr/local/expat1951
> Before running configure scrîpt ,i have run the following 
> script 
> CPPFLAGS=-L/usr/local/expat1951/lib -
> I/usr/local/expat1951/include
>  Here's the output of make
> 
> Making all in Sablot
> make[1]: Entering directory `/usr/local/Sablot-0.52/Sablot'
> Making all in engine
> make[2]: Entering directory `/usr/local/Sablot-
> 0.52/Sablot/engine'
> /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -
> I. -I. -I../../autocfg -L/usr/local/expat1951/lib -g -
> O2 -c context.cpp
> rm -f .libs/context.lo
> c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -
> L/usr/local/expat1951/lib -g -O2 -c context.cpp -fPIC -
> DPIC -o .libs/context.lo
> make[2]: Leaving directory `/usr/local/Sablot-
> 0.52/Sablot/engine'
> make[1]: Leaving directory `/usr/local/Sablot-0.52/Sablot'
> In file included from guard.h:142,
>  from context.cpp:44:
> parser.h:95: `XML_Parser' was not declared in this scope
> parser.h:95: parse error before `,'
> parser.h:100: type specifier omitted for parameter
> parser.h:100: parse error before `)'
> parser.h:106: syntax error before `;'
> make[2]: *** [context.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
> 
> an idea for solving this problem ?
> 
> _________________________________________________________
> Le journal des abonnés Caramail - http://www.carazine.com
> 
> 

Reply via email to