Re: intl 1.0.0RC1
| From: | Stanislav Malyshev | Date: | Tue, 27 May 2008 23:45:40 +0000 |
| Subject: | Re: intl 1.0.0RC1 | ||
| References: | 1 2 | Groups: | php.i18n |
| Request: | Send a blank email to php-i18n+get-1224@lists.php.net to get a copy of this message | ||
Hi!
It now refuses to install on php 5.2.3, i.e. ubuntu 7.10. (Wasn't the plan to include the required macros in the ./configure script (or whatever) so that it could install on more PHP installations.)Well, I'm not sure how these macros can be included without conflicting with 5.2.4 where these macros are already defined in system config. If you know how to do it please send a patch.
/tmp/pear/temp/intl/collator/collator_sort.c -fPIC -DPIC -o collator/.libs/collator_sort.o /tmp/pear/temp/intl/collator/collator_sort.c:30: error: conflicting types for 'ptrdiff_t' /usr/lib/gcc/i486-linux-gnu/4.1.3/include/stddef.h:152: error: previous declaration of 'ptrdiff_t' was hereSomething is wrong here - this line is specifically surrounded with #if !defined(HAVE_PTRDIFF_T) && !defined(_PTRDIFF_T_DEFINED) how happens it's executed? My php_config.h has #define HAVE_PTRDIFF_T 1 - does yours? If not, does your configure.in have check for ptrdiff? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com