Ответ
Ivan Sergeev 17.10.2010 02:38
Честно говоря точно так и не понимаю, помогло ли прописать путь к gc, но явно добавились проблемы с pcre.
При компиляции начинает просить скопировать содержимое $HOME/pcre/include в $HOME/parser3/src/include. Копирую, регаться на отсутствие файлов перестает, но вылезает простыня, с которой я уже не понимаю что делать.
Сорри, простыня в студию:
Building...
Building parser3...
Making install in src
Making install in include
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making install in main
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_pool.o -MD -MP -MF ".deps/pa_pool.Tpo" -c -o pa_pool.o pa_pool.C; \
then mv -f ".deps/pa_pool.Tpo" ".deps/pa_pool.Po"; else rm -f ".deps/pa_pool.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_os.o -MD -MP -MF ".deps/pa_os.Tpo" -c -o pa_os.o pa_os.C; \
then mv -f ".deps/pa_os.Tpo" ".deps/pa_os.Po"; else rm -f ".deps/pa_os.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_common.o -MD -MP -MF ".deps/pa_common.Tpo" -c -o pa_common.o pa_common.C; \
then mv -f ".deps/pa_common.Tpo" ".deps/pa_common.Po"; else rm -f ".deps/pa_common.Tpo"; exit 1; fi
pa_common.C:1030: warning: deprecated conversion from string constant to ‘char*’
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT compile.tab.o -MD -MP -MF ".deps/compile.tab.Tpo" -c -o compile.tab.o compile.tab.C; \
then mv -f ".deps/compile.tab.Tpo" ".deps/compile.tab.Po"; else rm -f ".deps/compile.tab.Tpo"; exit 1; fi
compile.tab.C: In function ‘int yyparse(void*)’:
compile.tab.C:2494: warning: deprecated conversion from string constant to ‘char*’
compile.tab.C:2498: warning: deprecated conversion from string constant to ‘char*’
compile.tab.C:2616: warning: deprecated conversion from string constant to ‘char*’
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT compile.o -MD -MP -MF ".deps/compile.Tpo" -c -o compile.o compile.C; \
then mv -f ".deps/compile.Tpo" ".deps/compile.Po"; else rm -f ".deps/compile.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT compile_tools.o -MD -MP -MF ".deps/compile_tools.Tpo" -c -o compile_tools.o compile_tools.C; \
then mv -f ".deps/compile_tools.Tpo" ".deps/compile_tools.Po"; else rm -f ".deps/compile_tools.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT execute.o -MD -MP -MF ".deps/execute.Tpo" -c -o execute.o execute.C; \
then mv -f ".deps/execute.Tpo" ".deps/execute.Po"; else rm -f ".deps/execute.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_cache_managers.o -MD -MP -MF ".deps/pa_cache_managers.Tpo" -c -o pa_cache_managers.o pa_cache_managers.C; \
then mv -f ".deps/pa_cache_managers.Tpo" ".deps/pa_cache_managers.Po"; else rm -f ".deps/pa_cache_managers.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_exception.o -MD -MP -MF ".deps/pa_exception.Tpo" -c -o pa_exception.o pa_exception.C; \
then mv -f ".deps/pa_exception.Tpo" ".deps/pa_exception.Po"; else rm -f ".deps/pa_exception.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_xml_exception.o -MD -MP -MF ".deps/pa_xml_exception.Tpo" -c -o pa_xml_exception.o pa_xml_exception.C; \
then mv -f ".deps/pa_xml_exception.Tpo" ".deps/pa_xml_exception.Po"; else rm -f ".deps/pa_xml_exception.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_globals.o -MD -MP -MF ".deps/pa_globals.Tpo" -c -o pa_globals.o pa_globals.C; \
then mv -f ".deps/pa_globals.Tpo" ".deps/pa_globals.Po"; else rm -f ".deps/pa_globals.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_xml_io.o -MD -MP -MF ".deps/pa_xml_io.Tpo" -c -o pa_xml_io.o pa_xml_io.C; \
then mv -f ".deps/pa_xml_io.Tpo" ".deps/pa_xml_io.Po"; else rm -f ".deps/pa_xml_io.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_memory.o -MD -MP -MF ".deps/pa_memory.Tpo" -c -o pa_memory.o pa_memory.C; \
then mv -f ".deps/pa_memory.Tpo" ".deps/pa_memory.Po"; else rm -f ".deps/pa_memory.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_request.o -MD -MP -MF ".deps/pa_request.Tpo" -c -o pa_request.o pa_request.C; \
then mv -f ".deps/pa_request.Tpo" ".deps/pa_request.Po"; else rm -f ".deps/pa_request.Tpo"; exit 1; fi
pa_request.C: In function ‘void output_sole_piece(Request&, bool, VFile&, Value*)’:
pa_request.C:714: warning: deprecated conversion from string constant to ‘char*’
pa_request.C: In function ‘void output_pieces(Request&, bool, const String&, size_t, Value&, bool)’:
pa_request.C:801: warning: deprecated conversion from string constant to ‘char*’
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_string.o -MD -MP -MF ".deps/pa_string.Tpo" -c -o pa_string.o pa_string.C; \
then mv -f ".deps/pa_string.Tpo" ".deps/pa_string.Po"; else rm -f ".deps/pa_string.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_table.o -MD -MP -MF ".deps/pa_table.Tpo" -c -o pa_table.o pa_table.C; \
then mv -f ".deps/pa_table.Tpo" ".deps/pa_table.Po"; else rm -f ".deps/pa_table.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT untaint.o -MD -MP -MF ".deps/untaint.Tpo" -c -o untaint.o untaint.C; \
then mv -f ".deps/untaint.Tpo" ".deps/untaint.Po"; else rm -f ".deps/untaint.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_dir.o -MD -MP -MF ".deps/pa_dir.Tpo" -c -o pa_dir.o pa_dir.C; \
then mv -f ".deps/pa_dir.Tpo" ".deps/pa_dir.Po"; else rm -f ".deps/pa_dir.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_exec.o -MD -MP -MF ".deps/pa_exec.Tpo" -c -o pa_exec.o pa_exec.C; \
then mv -f ".deps/pa_exec.Tpo" ".deps/pa_exec.Po"; else rm -f ".deps/pa_exec.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_socks.o -MD -MP -MF ".deps/pa_socks.Tpo" -c -o pa_socks.o pa_socks.C; \
then mv -f ".deps/pa_socks.Tpo" ".deps/pa_socks.Po"; else rm -f ".deps/pa_socks.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_dictionary.o -MD -MP -MF ".deps/pa_dictionary.Tpo" -c -o pa_dictionary.o pa_dictionary.C; \
then mv -f ".deps/pa_dictionary.Tpo" ".deps/pa_dictionary.Po"; else rm -f ".deps/pa_dictionary.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../src/include -I../types -I../classes -I../sql -I../lib/gc/include -I../lib/cord/include -I../../src/lib/ltdl -g -O2 -MT pa_charset.o -MD -MP -MF ".deps/pa_charset.Tpo" -c -o pa_charset.o pa_charset.C; \
then mv -f ".deps/pa_charset.Tpo" ".deps/pa_charset.Po"; else rm -f ".deps/pa_charset.Tpo"; exit 1; fi
pa_charset.C:530: error: no ‘size_t Charset::calc_escaped_length_UTF8(XMLByte*, size_t)’ member function declared in class ‘Charset’
pa_charset.C:543: error: no ‘size_t Charset::calc_escaped_length(const XMLByte*, size_t, const Charset::Tables&)’ member function declared in class ‘Charset’
pa_charset.C:559: error: prototype for ‘size_t Charset::calc_escaped_length(String::C, const Charset&)’ does not match any in class ‘Charset’
pa_charset.C:543: error: candidate is: size_t Charset::calc_escaped_length(const XMLByte*, size_t, const Charset::Tables&)
pa_charset.C:586: error: no ‘size_t Charset::escape_UTF8(const XMLByte*, size_t, XMLByte*)’ member function declared in class ‘Charset’
pa_charset.C:596: error: prototype for ‘size_t Charset::escape(const XMLByte*, size_t, XMLByte*, const Charset::Tables&)’ does not match any in class ‘Charset’
../../src/include/pa_charset.h:84: error: candidates are: static String& Charset::escape(const String&, const Charset&)
../../src/include/pa_charset.h:82: error: static String::Body Charset::escape(String::Body, const Charset&)
../../src/include/pa_charset.h:80: error: static String::C Charset::escape(String::C, const Charset&)
pa_charset.C: In static member function ‘static String::C Charset::escape(String::C, const Charset&)’:
pa_charset.C:614: error: cannot call member function ‘size_t Charset::calc_escaped_length(String::C, const Charset&)’ without object
pa_charset.C:619: error: cannot call member function ‘size_t Charset::escape_UTF8(const XMLByte*, size_t, XMLByte*)’ without object
pa_charset.C:621: error: cannot call member function ‘size_t Charset::escape(const XMLByte*, size_t, XMLByte*, const Charset::Tables&)’ without object
pa_charset.C: At global scope:
pa_charset.C:646: error: no ‘size_t Charset::calc_JSON_escaped_length_UTF8(XMLByte*, size_t)’ member function declared in class ‘Charset’
pa_charset.C:659: error: no ‘size_t Charset::calc_JSON_escaped_length(const XMLByte*, size_t, const Charset::Tables&)’ member function declared in class ‘Charset’
pa_charset.C:675: error: prototype for ‘size_t Charset::calc_JSON_escaped_length(String::C, const Charset&)’ does not match any in class ‘Charset’
pa_charset.C:659: error: candidate is: size_t Charset::calc_JSON_escaped_length(const XMLByte*, size_t, const Charset::Tables&)
pa_charset.C:707: error: no ‘size_t Charset::escape_JSON_UTF8(const XMLByte*, size_t, XMLByte*)’ member function declared in class ‘Charset’
pa_charset.C:717: error: prototype for ‘size_t Charset::escape_JSON(const XMLByte*, size_t, XMLByte*, const Charset::Tables&)’ does not match any in class ‘Charset’
../../src/include/pa_charset.h:91: error: candidates are: static String& Charset::escape_JSON(const String&, const Charset&)
../../src/include/pa_charset.h:89: error: static String::Body Charset::escape_JSON(String::Body, const Charset&)
../../src/include/pa_charset.h:87: error: static String::C Charset::escape_JSON(String::C, const Charset&)
pa_charset.C: In static member function ‘static String::C Charset::escape_JSON(String::C, const Charset&)’:
pa_charset.C:735: error: cannot call member function ‘size_t Charset::calc_JSON_escaped_length(String::C, const Charset&)’ without object
pa_charset.C:740: error: cannot call member function ‘size_t Charset::escape_JSON_UTF8(const XMLByte*, size_t, XMLByte*)’ without object
pa_charset.C:742: error: cannot call member function ‘size_t Charset::escape_JSON(const XMLByte*, size_t, XMLByte*, const Charset::Tables&)’ without object
make[2]: *** [pa_charset.o] Error 1
make[1]: *** [install-recursive] Error 1
make: *** [install-recursive] Error 1
DONE