Страница 1 из 1

не ставится devel/pecl-intl

Добавлено: 2011-01-31 18:41:34
djan
Ставлю из свежеобновлённых портов rouncube, у него в зависимостях devel/pecl-intl. Вот он и вываливается при сборке. Лог ошибок

Код: Выделить всё

/usr/ports/devel/pecl-intl#make
===>  Building for pecl-intl-1.1.2_2
/bin/sh /usr/ports/devel/pecl-intl/work/intl-1.1.2/libtool --mode=link cc -DPHP_ATOM_INC -I/usr/ports/devel/pecl-intl/work/intl-1.1.2/include -I/usr/ports/devel/pecl-intl/work/intl-1.1.2/main -I/usr/ports/devel/pecl-intl/work/intl-1.1.2 -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 -I/usr/local/include  -DHAVE_CONFIG_H  -O2 -pipe -march=athlon64 -fno-strict-aliasing   -o ./intl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /usr/ports/devel/pecl-intl/work/intl-1.1.2/modules  php_intl.lo intl_error.lo intl_convert.lo collator/collator.lo collator/collator_class.lo collator/collator_sort.lo collator/collator_convert.lo collator/collator_locale.lo collator/collator_compare.lo collator/collator_attr.lo collator/collator_create.lo collator/collator_is_numeric.lo collator/collator_error.lo common/common_error.lo formatter/formatter.lo formatter/formatter_main.lo formatter/formatter_class.lo formatter/formatter_attr.lo formatter/formatter_data.lo formatter/formatter_format.lo formatter/formatter_parse.lo normalizer/normalizer.lo normalizer/normalizer_class.lo normalizer/normalizer_normalize.lo locale/locale.lo locale/locale_class.lo locale/locale_methods.lo dateformat/dateformat.lo dateformat/dateformat_class.lo dateformat/dateformat_attr.lo dateformat/dateformat_data.lo dateformat/dateformat_format.lo dateformat/dateformat_parse.lo msgformat/msgformat.lo msgformat/msgformat_attr.lo msgformat/msgformat_class.lo msgformat/msgformat_data.lo msgformat/msgformat_format.lo msgformat/msgformat_helpers.lo msgformat/msgformat_parse.lo grapheme/grapheme_string.lo grapheme/grapheme_util.lo resourcebundle/resourcebundle.lo resourcebundle/resourcebundle_class.lo resourcebundle/resourcebundle_iterator.lo idn/idn.lo -R/usr/local/lib -L/usr/local/lib -lm -licui18n -licuuc -licudata -lm -licuio
cc -shared  .libs/php_intl.o .libs/intl_error.o .libs/intl_convert.o collator/.libs/collator.o collator/.libs/collator_class.o collator/.libs/collator_sort.o collator/.libs/collator_convert.o collator/.libs/collator_locale.o collator/.libs/collator_compare.o collator/.libs/collator_attr.o collator/.libs/collator_create.o collator/.libs/collator_is_numeric.o collator/.libs/collator_error.o common/.libs/common_error.o formatter/.libs/formatter.o formatter/.libs/formatter_main.o formatter/.libs/formatter_class.o formatter/.libs/formatter_attr.o formatter/.libs/formatter_data.o formatter/.libs/formatter_format.o formatter/.libs/formatter_parse.o normalizer/.libs/normalizer.o normalizer/.libs/normalizer_class.o normalizer/.libs/normalizer_normalize.o locale/.libs/locale.o locale/.libs/locale_class.o locale/.libs/locale_methods.o dateformat/.libs/dateformat.o dateformat/.libs/dateformat_class.o dateformat/.libs/dateformat_attr.o dateformat/.libs/dateformat_data.o dateformat/.libs/dateformat_format.o dateformat/.libs/dateformat_parse.o msgformat/.libs/msgformat.o msgformat/.libs/msgformat_attr.o msgformat/.libs/msgformat_class.o msgformat/.libs/msgformat_data.o msgformat/.libs/msgformat_format.o msgformat/.libs/msgformat_helpers.o msgformat/.libs/msgformat_parse.o grapheme/.libs/grapheme_string.o grapheme/.libs/grapheme_util.o resourcebundle/.libs/resourcebundle.o resourcebundle/.libs/resourcebundle_class.o resourcebundle/.libs/resourcebundle_iterator.o idn/.libs/idn.o  -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib -licui18n -licuuc -licudata -lm -licuio  -march=athlon64 -Wl,-soname -Wl,intl.so -o ./.libs/intl.so
collator/.libs/collator_class.o(.bss+0x20): multiple definition of `collator_0_args'
.libs/php_intl.o(.data.rel.local+0xe0): first defined here
/usr/bin/ld: Warning: size of symbol `collator_0_args' changed from 80 in .libs/php_intl.o to 40 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0x0): multiple definition of `collator_1_arg'
.libs/php_intl.o(.data.rel.local+0x140): first defined here
/usr/bin/ld: Warning: size of symbol `collator_1_arg' changed from 120 in .libs/php_intl.o to 80 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0x60): multiple definition of `collator_2_args'
.libs/php_intl.o(.data.rel.local+0x1c0): first defined here
/usr/bin/ld: Warning: size of symbol `collator_2_args' changed from 160 in .libs/php_intl.o to 120 in collator/.libs/collator_class.o
collator/.libs/collator_class.o(.data.rel.local+0xe0): multiple definition of `collator_sort_args'
.libs/php_intl.o(.data.rel.local+0x260): first defined here
/usr/bin/ld: Warning: size of symbol `collator_sort_args' changed from 160 in .libs/php_intl.o to 120 in collator/.libs/collator_class.o
locale/.libs/locale_class.o(.bss+0x20): multiple definition of `locale_0_args'
.libs/php_intl.o(.bss+0x40): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x0): multiple definition of `locale_1_arg'
.libs/php_intl.o(.data.rel.local+0x4c0): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x60): multiple definition of `locale_2_args'
.libs/php_intl.o(.data.rel.local+0x520): first defined here
locale/.libs/locale_class.o(.data.rel.local+0xe0): multiple definition of `locale_3_args'
.libs/php_intl.o(.data.rel.local+0x5a0): first defined here
locale/.libs/locale_class.o(.data.rel.local+0x180): multiple definition of `locale_4_args'
.libs/php_intl.o(.data.rel.local+0x640): first defined here
dateformat/.libs/dateformat_class.o(.data.rel.local+0x0): multiple definition of `datefmt_parse_args'
.libs/php_intl.o(.data.rel.local+0xae0): first defined here
/usr/bin/ld: Warning: size of symbol `datefmt_parse_args' changed from 160 in .libs/php_intl.o to 120 in dateformat/.libs/dateformat_class.o
*** Error code 1

Stop in /usr/ports/devel/pecl-intl/work/intl-1.1.2.
*** Error code 1

Stop in /usr/ports/devel/pecl-intl.
Ситсмема -

Код: Выделить всё

#uname -a
FreeBSD kate 8.1-RELEASE-p1 FreeBSD 8.1-RELEASE-p1 #0: Wed Nov  3 22:30:57 EET 2010     niko@kate:/usr/obj/usr/src/sys/KERNEL  amd64
что у меня неправильно?

Re: не ставится devel/pecl-intl

Добавлено: 2011-01-31 18:49:50
Гость
порт конфигурили? или по дефолту?
make rmconfig попробуйте сделать и пересобрать порт

Re: не ставится devel/pecl-intl

Добавлено: 2011-01-31 19:08:18
djan

Код: Выделить всё

/usr/ports/devel/pecl-intll#make rmconfig
===> No user-specified options configured for pecl-intl-1.1.2_2
все настройки по дефолту

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-01 16:28:32
doobyjan
да скорее всего и не соберется, я тоже на это попал. единственное что нашел
http://www.freebsd.org/cgi/query-pr.cgi?pr=153438

и то не совсем. короче говоря надо чего то ждать
можно попробовать вот так поставить

Код: Выделить всё

pkg_add -r pecl-intl
но в таком случае он за собой php53 тянет, а меня это не устраивает

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-08 22:01:10
Alteron
Судя по всему там патчи кривые. Грохните всё содержимое в подкаталоге files и попробуйте порт пересобрать.

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-09 0:29:45
djan
Alteron
да, патчи действительно оказались кривые. После удаления порт по крайней мере собралося нормально, как работать будет - время покажет

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-09 0:36:20
mr. brightside
Та же проблема...

Поясните для чайника последний пост:

http://forums.freebsd.org/showthread.php?p=121962

PR?

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-09 0:38:44
mr. brightside
djan писал(а):Alteron
да, патчи действительно оказались кривые. После удаления порт по крайней мере собралося нормально, как работать будет - время покажет
Пока писал уже и кое что полезное написали...

Удалить pecl-intl и заново его поставить? или просто удалить, а roundcube по зависимости его установит?

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-09 0:47:57
Гость
Поясните для чайника последний пост:
там сказали что бы удалили все файлы с каталога files/
а он засабмитит PR по этому поводу

Re: не ставится devel/pecl-intl

Добавлено: 2011-02-09 0:55:33
djan
mr. brightside писал(а): Удалить pecl-intl и заново его поставить? или просто удалить, а roundcube по зависимости его установит?

Код: Выделить всё

cd /usr/ports/devel/pecl-intl/
make clean
rm ./files/*
cd /usr/ports/mail/roundcube

Re: не ставится devel/pecl-intl

Добавлено: 2011-03-29 10:17:46
ikarus
не ставиться зараза, на лицензию ругается:

Код: Выделить всё

===>   roundcube-0.5.1,1 depends on file: /usr/local/lib/php/20060613/intl.so - not found
===>    Verifying install for /usr/local/lib/php/20060613/intl.so in /usr/ports/devel/pecl-intl
===>  Vulnerability check disabled, database not found
===>  License not correctly defined: for unknown licenses, defining LICENSE_PERMS is mandatory (otherwise use a known LICENSE)
чего ему надо?

Re: не ставится devel/pecl-intl

Добавлено: 2011-04-25 14:44:07
Гость
Сделал как выше
Начались проблемы
#./php-fpm restart
Stopping php_fpm.
Waiting for PIDS: 47554.
Starting php_fpm.
Segmentation fault (core dumped)
./php-fpm: WARNING: failed to start php_fpm

Re: не ставится devel/pecl-intl

Добавлено: 2011-07-22 16:19:16
Гость