ports/129168: php5-pcre doesn't seem to know about --enable-unicode-properties

Rainer Duffner rainer at ultra-secure.de
Tue Nov 25 10:40:03 UTC 2008


>Number:         129168
>Category:       ports
>Synopsis:       php5-pcre doesn't seem to know about --enable-unicode-properties
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 25 10:40:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Rainer Duffner
>Release:        7.0
>Organization:
>Environment:
FreeBSD blahost 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Tue Nov  4 18:21:40 CET 2008     root at blahost:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
Hi,

the following PHP-script:

<?PHP
echo "<PRE>";
$str="This is the string";
 $count = preg_match_all("/[[:print:]\pL]/u", $str, $pockets);
echo $pockets;
echo "</PRE>";
?>


provokes the following error in the httpd-error-log:


 stderr: PHP Warning:  preg_match_all() [<a href='function.preg-match-all'>function.preg-match-all</a>]: Compilation failed: unknown property name after \\P or \\p at offset 12 in /usr/local/www/data/test/p.php on line 4

This is an example from the PHP-documentation - the error manifested itself first when somebody tried to use typolight.

http://www.typolight.org/faq-leser/items/support-for-ppx-has-not-been-compiled.html

I tried to get php5-pcre to recognize these switches, but I failed and I'm not familiar enough with the PHP-port.
Trying to compile with the system-wide pcre failed, too, of course, because some symbols were missing.


I would be very thankful for any advice on this.






>How-To-Repeat:
See above
>Fix:
None know, currently.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list