Bug #62480 [Com]: mbstring and mbregex won't compile
| From: | rs at bytecamp dot net | Date: | Mon, 01 Jul 2013 08:11:22 +0000 |
| Subject: | Bug #62480 [Com]: mbstring and mbregex won't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-180001@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62480&edit=1
ID: 62480
Comment by: rs at bytecamp dot net
Reported by: rs at bytecamp dot net
Summary: mbstring and mbregex won't compile
Status: Feedback
Type: Bug
Package: Compile Failure
Operating System: FreeBSD 8.1-RELEASE-p12
PHP Version: 5.4.4
Block user comment: N
Private report: N
New Comment:
Sorry, I cannot test your solution, because the problematic systems have been upgraded and now have
an updated version of the oniguruma library which doesn't trigger that kind of building error
any more.
with kind regards,
Robert Schulze
Previous Comments:
------------------------------------------------------------------------
[2013-06-29 05:09:12] yohgaki@php.net
Related
https://bugs.php.net/bug.php?id=63955
------------------------------------------------------------------------
[2013-06-29 05:04:52] yohgaki@php.net
My CFLAGS_CLEAN is
Makefile:CFLAGS_CLEAN = -I/usr/include -g -fvisibility=hidden -O0 -Wall
Anyway, COMMON_FLAGS is
Makefile.global:COMMON_FLAGS = $(DEFS) $(INCLUDES) $(EXTRA_INCLUDES) $(CPPFLAGS)
$(PHP_FRAMEWORKPATH)
Swapping $(INCLUDES) and $(EXTRA_INCLUDES), then "EXTRA_INCLUDES=/foo/bar
./configure" works for you?
------------------------------------------------------------------------
[2013-02-08 10:19:26] rs at bytecamp dot net
I've found a way to circumvent the incompatiblity.
In the top level Makefile, the macro INCLUDES must be edited so that /usr/local/include is mentioned
last (gets a lower priority). One may also completely remove /usr/local/include from INCLUDES, since
it is also defined in CFLAGS_CLEAN.
Could this be applied to the build process?
with kind regards,
Robert Schulze
------------------------------------------------------------------------
[2012-07-06 10:56:22] rs at bytecamp dot net
I stripped off -I/usr/local/include from the libtool-call and executed it, this worked, no errors
from make. Is there a way not to include /usr/local/include during build of this extension?
------------------------------------------------------------------------
[2012-07-05 21:52:44] ab@php.net
I don't have any FreeBSD versions at hand, but bundled oniguruma version is
5.9.2, so it could be incompatible ... you could easily check that just
temporarily uninstalling 2.5.8 from the system and trying to recompile PHP again.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=62480
--
Edit this bug report at https://bugs.php.net/bug.php?id=62480&edit=1