Re: Cannot build ext/intl on Fedora 15
| From: | Stas Malyshev | Date: | Tue, 13 Sep 2011 18:36:52 +0000 |
| Subject: | Re: Cannot build ext/intl on Fedora 15 | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55412@lists.php.net to get a copy of this message | ||
Hi!
Am 31.08.2011 12:11, schrieb Ferenc Kovacs:If somebody shows me how to reproduce this on Darwin, I could look into it in more detail. Or, otherwise, get an access to a system where it can be reproduced. I've noticed we have this in autoconf macros: C_DEFUN([PHP_REQUIRE_CXX],[ if test -z "$php_cxx_done"; thenI think we should fix this on our end.Does nobody have the knowledge to fix this? I am sorry that I am unable to fix this myself.
AC_PROG_CXX
AC_PROG_CXXCPP
case $host_alias in
*darwin*)
PHP_ADD_LIBRARY(stdc++)
;;
esac
php_cxx_done=yes
fi
])
and intl uses PHP_REQUIRE_CXX. Maybe we should add stdc++ for everybody - or, even better, add it to INTL libs instead of PHP libs (in case it's build shared)?
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227