|
I've installed expat found linked to on
gingerall.coms pages.
Someone at gingerall mailed me saying I needed to
set CPLUS_INCLUDE_PATH and/or C_INCLUDE_PATH, but I didn't get that to work
either.
What I did was doing a simple 'export
CPLUS_INCLUDE_PATH=/usr/local/lib' and same for the other environment
var.
I need this to work for an important project.
Any hints??
This is the process :
[root@localhost Sablot-0.52]#
./configure
loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... missing checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... (cached) ranlib checking for gcc... (cached) gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for ld used by GCC... (cached) /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes checking for BSD-compatible nm... (cached) /usr/bin/nm -B checking whether ln -s works... (cached) yes checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for gcc... (cached) gcc checking whether the C compiler (gcc -g -O2 ) works... yes checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking for c++... (cached) c++ checking whether the C++ compiler (c++ ) works... yes checking whether the C++ compiler (c++ ) is a cross-compiler... no checking whether we are using GNU C++... (cached) yes checking whether c++ accepts -g... (cached) yes checking how to run the C++ preprocessor... (cached) c++ -E checking where to find xml parser... expat (new) checking for expat.h... (cached) no checking for xmlparse.h... (cached) no checking for xmltok/xmlparse.h... (cached) no checking for timeb.h... (cached) no checking for sys/timeb.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for ieeefp.h... (cached) no checking for iconv.h... (cached) yes checking where to find iconv_open... libc checking whether to typecast in iconv... yes checking whether to force -lm switch... no checking for ftime... (cached) yes checking for mtrace... (cached) yes checking for isnan... (cached) yes checking for isinf... (cached) yes checking for finite... (cached) yes checking for wchar.h... (cached) yes checking for wcsxfrm... (cached) yes creating ./config.status creating Makefile creating Sablot/Makefile creating Sablot/engine/Makefile creating Sablot/command/Makefile creating autocfg/autocfg.h autocfg/autocfg.h is unchanged [root@localhost Sablot-0.52]# make
Making all in Sablot make[1]: Entering directory `/usr/src/Sablot-0.52/Sablot' Making all in engine make[2]: Entering directory `/usr/src/Sablot-0.52/Sablot/engine' /bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c context.cpp rm -f .libs/context.lo c++ -DHAVE_CONFIG_H -I. -I. -I../../autocfg -g -O2 -c context.cpp -fPIC -DPIC -o .libs/context.lo 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[2]: Leaving directory `/usr/src/Sablot-0.52/Sablot/engine' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/Sablot-0.52/Sablot' make: *** [all-recursive] Error 1 Trying to use the sablotron-0.52-1.i386.rpm results
in this after install :
[root@localhost Sablot-0.52]# locate sablot /usr/lib/libsablot.so.0 /usr/lib/libsablot.so.0.52.0 /usr/src/php-devel/extensions/sablot /usr/src/php-devel/extensions/sablot/config.m4 /usr/src/php-devel/extensions/sablot/sablot.dsp /usr/src/php-devel/extensions/sablot/Makefile.in /usr/src/php-devel/extensions/sablot/php_sablot.h /usr/src/php-devel/extensions/sablot/CREDITS /usr/src/php-devel/extensions/sablot/sablot.c /usr/src/Sablot-0.52/Sablot/engine/sablot.cpp /usr/src/Sablot-0.52/Sablot/engine/sablot.h /usr/share/doc/sablotron-0.52 /usr/share/doc/sablotron-0.52/README /usr/share/doc/sablotron-0.52/RELEASE Cannot see any binaries anywhere.
Thomas
|
- Re: [Sab] Trouble compiling sablotron on Mandrake 8.0 Thomas Weholt
- Re: [Sab] Trouble compiling sablotron on Mandrake 8.0 Pavel Hlavnicka
- [Sab] unknown encoding again Yavuz SERT
- Re: [Sab] unknown encoding again lsr
- RE: [Sab] unknown encoding again Yavuz SERT
- RE: [Sab] unknown encoding again Yavuz SERT
- RE: [Sab] unknown encoding again Yavuz SERT
- RE: [Sab] unknown encoding again (Solved) Yavuz SERT
- Re: [Sab] unknown encoding again Tom Kaiser
