search options

parser-3.1.4 doesn't compile

martin kraus 25.03.2005 17:10

i'm trying to compile parser-3.1.2 on a debian stable. i had to recompile libraries that parser depends on, because stable debain isn't exactly up to date. but when compiling parser, i get always this error:

g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/pcre -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/local/opt/gnome/include -I/usr/local/opt/gnome/include/libgdome -I/usr/local/opt/gnome/include/libxml2 -I/usr/local/opt/gc/include -I/usr/local/opt/gnome/include -g -O2 -c -o pa_pool.o `test -f 'pa_pool.C' || echo './'`pa_pool.C
In file included from pa_pool.C:14:
../../src/include/pa_charset.h: In method `GdomeDOMString_auto_ptr::GdomeDOMString_auto_ptr(xmlChar *)':
../../src/include/pa_charset.h:184: implicit declaration of function `int gdome_str_mkref_xml(...)'
../../src/include/pa_charset.h:184: assignment to `GdomeDOMString *' from `int' lacks a cast
make[2]: *** [pa_pool.o] Error 1
make[2]: Leaving directory `/usr/src/parser-3.1.2/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/parser-3.1.2/src'
make: *** [all-recursive] Error 1

i used gc6.4, libxml2-2.6.17, libxslt-1.1.12, gdome2-0.8.1. i get the same error when trying compile parser-3.1.4. i'm no programmer and i don't even know where to start looking for a problem.

martin kraus

  • parser-3.1.4 doesn't compile, martin kraus 25.03.2005 17:10
    • gdome_str_mkref_xml, Александр Петросян (PAF) [M] 25.03.2005 17:49
      • Answer, martin kraus 26.03.2005 15:15
        • unified patch, Александр Петросян (PAF) [M] 30.03.2005 10:20
          • Answer, martin kraus 30.03.2005 13:28