parser

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

 

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

По поводу Парсера и Леопарда

Andre 03.02.2008 11:43 / 03.02.2008 11:44

Надоело каждый раз запускать Windows через Parallels, решил настроить все в Mac OS 10.5.

Установил mysql-5.0.45-osx10.4-i686, все работает, кроме запуска через панель настроек. Настроил автоматический запуск при загрузке системы.

Скачал Parser3 для Mac OS 10.4.

При запуске http://localhost/cgi-bin/parser3.cgi пишет
Parser/3.2.1sp2 (compiled on powerpc-apple-darwin8.6.0)
При запуске тестового файла _test.html вылетает внутренняя ошибка сервера.
В логах апача пишет:
[Sun Feb 03 11:33:03 2008] [error] [client ::1] Premature end of script headers: parser3.cgi
[Sun Feb 03 11:33:03 2008] [error] [client ::1] Premature end of script headers: parser3.cgi, referer: http://localhost/
В чем тут проблема, подскажите.

Попробовал собрать Parser под Leopard, что-то не выходит:(
Выдает:
AndreMacBook:parser3 Andre$ ./buildall-with-xml
buildall-with-xml
Script author: Alexander Petrosian <paf@design.ru> (http://paf.design.ru)

Building...
Downloading libgc [1 lib of 3]...
./buildall-with-xml: line 23: wget: command not found
Unpacking gc...
gunzip: gc6.8.tar.gz: No such file or directory
./buildall-with-xml: line 28: cd: gc6.8: No such file or directory
Configuring libgc...
./buildall-with-xml: line 30: ./configure: No such file or directory
Building libgc...
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Downloading libxml [2 lib of 3]...
./buildall-with-xml: line 48: wget: command not found
Unpacking libxml2... (be patient)
gunzip: libxml2-2.6.30.tar.gz: No such file or directory
./buildall-with-xml: line 53: cd: libxml2-2.6.30: No such file or directory
Configuring libxml...
./buildall-with-xml: line 56: ./configure: No such file or directory
Building libxml...
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Downloading libxslt [3 lib of 3]...
./buildall-with-xml: line 91: wget: command not found
Unpacking libxslt... (be patient)
gunzip: libxslt-1.1.22.tar.gz: No such file or directory
./buildall-with-xml: line 96: cd: libxslt-1.1.22: No such file or directory
Configuring libxslt...
./buildall-with-xml: line 98: ./configure: No such file or directory
Building libxslt...
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
Configuring parser3...

configure: WARNING: enabling charset windows-1251
configure: error: please specify path to libgc: --with-shared-gc OR --with-static-gc
Building parser3...
make: Nothing to be done for `install'.
DONE


********************************************************************************************************
Now you can copy /Users/Andre/parser3install with subdirectories
-Parser3 with XML support-
to your cgi-bin directory
Read more about installing Parser here:
http://www.parser.ru/en/docs/lang/install4apachecgi.htm in English
http://www.parser.ru/docs/lang/install4apachecgi.htm in Russian
********************************************************************************************************