Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Dec 2006 15:10:58 GMT
From:      m0rf<m0rf@mail.cz>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/106219: PHP 5.2.0 SPL and SimpleXML build problem - SimpleXMLIterator not found
Message-ID:  <200612021510.kB2FAwCb027477@www.freebsd.org>
Resent-Message-ID: <200612021520.kB2FKAXZ041991@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612021510.kB2FAwCb027477>