parser

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

 

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

не хочет собираться Parser 3.3

Андрей 03.04.2009 16:25

Выплевывает вот что:
make[3]: Entering directory `/root/parser-3.3.0/src/targets/cgi'
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/md5 -I-I../../../src/lib/ltdl -g -O2 -MT pa_threads.o -MD -MP -MF ".deps/pa_threads.Tpo" -c -o pa_threads.o pa_threads.C; \
then mv -f ".deps/pa_threads.Tpo" ".deps/pa_threads.Po"; else rm -f ".deps/pa_threads.Tpo"; exit 1; fi
if g++ -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/md5 -I-I../../../src/lib/ltdl -g -O2 -MT parser3.o -MD -MP -MF ".deps/parser3.Tpo" -c -o parser3.o parser3.C; \
then mv -f ".deps/parser3.Tpo" ".deps/parser3.Po"; else rm -f ".deps/parser3.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../classes -I../../types -I../../sql -I../../lib/gc/include -I../../lib/cord/include -I../../lib/md5 -I-I../../../src/lib/ltdl -g -O2 -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; \
then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi
gcc -g -O2 -o parser3 pa_threads.o parser3.o getopt.o ../../main/libmain.a ../../classes/libclasses.a ../../types/libtypes.a ../../main/libmain.a ../../lib/gd/libgd.a ../../lib/cord/libcord.a ../../lib/md5/libmd5.a ../../lib/sdbm/libsdbm.a ../../lib/smtp/libsmtp.a ../../../src/lib/ltdl/libltdlc.a -ldl -lgc -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lcrypt -lm
../../main/libmain.a(pa_globals.o): In function `gc_substitute_memory_management_functions':
/root/parser-3.3.0/src/main/pa_globals.C:308: undefined reference to `pcre_malloc'
/root/parser-3.3.0/src/main/pa_globals.C:309: undefined reference to `pcre_free'
../../main/libmain.a(pa_string.o): In function `String::match(Charset&, String const&, String const*, void (*)(Table&, Array<String const*>*, int, int, int, int, void*), void*, int&) const':
/root/parser-3.3.0/src/main/pa_string.C:505: undefined reference to `pcre_compile'
/root/parser-3.3.0/src/main/pa_string.C:512: undefined reference to `pcre_info'
/root/parser-3.3.0/src/main/pa_string.C:537: undefined reference to `pcre_exec'
/root/parser-3.3.0/src/main/pa_string.C:580: undefined reference to `pcre_free'
/root/parser-3.3.0/src/main/pa_string.C:540: undefined reference to `pcre_free'
/root/parser-3.3.0/src/main/pa_string.C:514: undefined reference to `pcre_free'
/root/parser-3.3.0/src/main/pa_string.C:551: undefined reference to `pcre_free'
../../main/libmain.a(pa_charset.o): In function `Charset':
/root/parser-3.3.0/src/main/pa_charset.C:102: undefined reference to `_pcre_default_tables'
/root/parser-3.3.0/src/main/pa_charset.C:102: undefined reference to `_pcre_default_tables'
../../classes/libclasses.a(file.o): In function `_list':
/root/parser-3.3.0/src/classes/file.C:644: undefined reference to `pcre_exec'
/root/parser-3.3.0/src/classes/file.C:672: undefined reference to `pcre_free'
/root/parser-3.3.0/src/classes/file.C:626: undefined reference to `pcre_compile'
/root/parser-3.3.0/src/classes/file.C:644: undefined reference to `pcre_free'
collect2: ld returned 1 exit status
make[3]: *** [parser3] Error 1
make[3]: Leaving directory `/root/parser-3.3.0/src/targets/cgi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/parser-3.3.0/src/targets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/parser-3.3.0/src'
make: *** [all-recursive] Error 1

Сообственно все необходимые библиотеки были установлены. Что ему не хватает? Исходники парсера взяты из раздела "скачать"