Edit report at https://bugs.php.net/bug.php?id=62480&edit=1

 ID:                 62480
 Updated by:         yohg...@php.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:

Related

https://bugs.php.net/bug.php?id=63955


Previous Comments:
------------------------------------------------------------------------
[2013-06-29 05:04:52] yohg...@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] a...@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.

------------------------------------------------------------------------
[2012-07-04 13:35:10] rs at bytecamp dot net

One thing to add: oniguruma-2.5.8 is installed on this machine (for ruby). 
Could this be the cause, because /usr/local/include is also in the list of 
include directories?

------------------------------------------------------------------------


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

Reply via email to