ports/106219: PHP 5.2.0 SPL and SimpleXML build problem - SimpleXMLIterator not found

m0rf m0rf at mail.cz
Sat Dec 2 15:20:11 UTC 2006


>Number:         106219
>Category:       ports
>Synopsis:       PHP 5.2.0 SPL and SimpleXML build problem - SimpleXMLIterator not found
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 15:20:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     m0rf
>Release:        RELENG_6
>Organization:
n/a
>Environment:
FreeBSD incognito 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun May  7 04:32:43 UTC 2006     root at opus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
When i tried to work with SimpleXML extension and SPL, i got error "Fatal error: Class 'SimpleXMLIterator' not found". This is because SPL and SimpleXML must be build together. But when i'm using ports lang/php5 and there i compile textproc/php5-simplexml extension SPL don't detect SimpleXML extension and didn't compile SimpleXMLIterator class into the PHP.

For more information about this bug read this:
http://bugs.php.net/bug.php?id=39704
>How-To-Repeat:
Compile lang/php5 and then textproc/simplexml. then try using SimpleXMLIterator class in php script.
>Fix:
Building SimpleXML together with SPL / PHP.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list