parser

Написать ответ на текущее сообщение

 

 
   команды управления поиском

... и не только ...

BeaVe 13.09.2005 12:08

Делаю так...
	libxml2-2.6.21
 ./configure --prefix=$HOME/gnome --without-zlib --without-iconv --without-threads --silent
 make install

	libxslt-1.1.15
 ./configure --with-libxml-prefix=$HOME/gnome --prefix=$HOME/gnome --without-debug --without-debugger --silent
 make install

	glib-2.8.1
 ./configure --prefix=$HOME/gnome --enable-static
 make install

	gdome2-0.8.1
 patch -p0 < $HOME/parser3project/parser3/src/lib/patches/gdome2.patch
 ./configure --with-glib-prefix=$HOME/gnome --disable-glibtest --with-libxml-prefix=$HOME/gnome --prefix=$HOME/gnome --silent
 make install
 mkdir $HOME/gnome/include/libgdome/gdomecore
 cp libgdome/gdomecore/gdome-xml-node.h $HOME/gnome/include/libgdome/gdomecore
 cp libgdome/gdomecore/gdome-xml-document.h $HOME/gnome/include/libgdome/gdomecore
Затем собираю Парсер:
./configure --prefix=$HOME/parser3 --sysconfdir=$HOME/parser3 --localstatedir=$HOME/parser3 --with-static-gc=$HOME/gc/lib --with-static-xml=$HOME/gnome --with-dynamic-stdcpp --with-mysql-client --disable-safe-mode
make
И получаю так:
Making all in src
make[1]: Entering directory `/home/beave/parser3project/parser3/src'
Making all in include
make[2]: Entering directory `/home/beave/parser3project/parser3/src/include'
make  all-am
make[3]: Entering directory `/home/beave/parser3project/parser3/src/include'
make[3]: Leaving directory `/home/beave/parser3project/parser3/src/include'
make[2]: Leaving directory `/home/beave/parser3project/parser3/src/include'
Making all in main
make[2]: Entering directory `/home/beave/parser3project/parser3/src/main'
if 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/home/beave/gnome/include -I/home/beave/gnome/include/libgdome -I/home/beave/gnome/include/libxml2    -g -O2-MT compile.tab.o -MD -MP -MF ".deps/compile.tab.Tpo" \
  -c -o compile.tab.o `test -f 'compile.tab.C' || echo './'`compile.tab.C; \
then mv ".deps/compile.tab.Tpo" ".deps/compile.tab.Po"; \
else rm -f ".deps/compile.tab.Tpo"; exit 1; \
fi
../../src/include/pa_stack.h: In member function 'void Stack<T>::push(T)':
../../src/include/pa_stack.h:23: error: there are no arguments to 'count' that depend on a template parameter, so a declaration of 'count' must be available
../../src/include/pa_stack.h:23: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../src/include/pa_stack.h: In member function 'T Stack<T>::pop()':
../../src/include/pa_stack.h:31: error: there are no arguments to 'get' that depend on a template parameter, so a declaration of 'get' must be available
../../src/include/pa_stack.h: In member function 'T Stack<T>::top_value()':
../../src/include/pa_stack.h:39: error: there are no arguments to 'get' that depend on a template parameter, so a declaration of 'get' must be available
../../src/include/pa_stack.h: In member function 'void Stack<T>::wipe_unused()':
../../src/include/pa_stack.h:44: error: 'fused' was not declared in this scope
../../src/include/pa_stack.h:45: error: 'felements' was not declared in this scope
make[2]: *** [compile.tab.o] Error 1
make[2]: Leaving directory `/home/beave/parser3project/parser3/src/main'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/beave/parser3project/parser3/src'
make: *** [all-recursive] Error 1
Что думаете по этому поводу?

P.S.: Мне что-то не нравятся строки с /usr/include/glib-1.2 и /usr/lib/glib/include...