LINUX.ORG.RU

установить tokenizer


0

1

Здравствуйте! пробую установить tokenizer из командной строки вот что выдает: ********# cd /usr/ports/devel/php5-tokenizer/ ********# make install clean ===> Building for php5-tokenizer-5.2.12 /bin/sh /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/libtool --mode=compile cc -I. -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -DPHP_ATOM_INC -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/include -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/main -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer.c -o tokenizer.lo /bin/sh /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/libtool --mode=compile cc -I. -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -DPHP_ATOM_INC -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/include -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/main -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer_data.c -o tokenizer_data.lo cc -I. -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -DPHP_ATOM_INC -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/include -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/main -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer_data.c -fPIC -DPIC -o .libs/tokenizer_data.o cc -I. -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -DPHP_ATOM_INC -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/include -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/main -I/usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -O2 -fno-strict-aliasing -pipe -c /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer.c -fPIC -DPIC -o .libs/tokenizer.o In file included from /usr/local/include/php/main/../main/php_config.h:2839, from /usr/local/include/php/Zend/zend_config.h:1, from /usr/local/include/php/Zend/zend.h:53, from /usr/local/include/php/main/php.h:34, from /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer.c:25: In file included from /usr/local/include/php/main/../main/php_config.h:2839, from /usr/local/include/php/Zend/zend_config.h:1, from /usr/local/include/php/Zend/zend.h:53, from /usr/local/include/php/main/php.h:34, from /usr/ports/devel/php5-tokenizer/work/php-5.2.12/ext/tokenizer/tokenizer_data.c:26: /usr/local/include/php/ext/php_config.h:9:29: ext/pcre/config.h: No such file or directory /usr/local/include/php/ext/php_config.h:9:29: ext/pcre/config.h: No such file or directory *** Error code 1 *** Error code 1 2 errors *** Error code 1

Stop in /usr/ports/devel/php5-tokenizer.

в чем может быть причина? поддержка пишет: проблема в том, что ментейнер порта некоектно собрал оный 1. можете подождать когда он его починит 2. можете установить самомтоятельно

Многа букаф подряд, ниасилил. А если серьезно - попробуйте собрать из исходников без make install...

Pinkbyte ★★★★★ ()
Ответ на: комментарий от Pinkbyte

/usr/local/include/php/ext/php_config.h:9:29: ext/pcre/config.h: No such file or directory хотя pcre стоит, не пойму почкму эта ошибка вылазит

А можно какое-то краткое пошаговое напутсвие как поставить php5-tokenizer из исходников

INOKENTiY ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.