From nobody@FreeBSD.org  Sat Dec  2 15:10:59 2006
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 0704E16A412
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  2 Dec 2006 15:10:59 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 0141C43CC1
	for <freebsd-gnats-submit@FreeBSD.org>; Sat,  2 Dec 2006 15:10:38 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id kB2FAwFg027478
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 2 Dec 2006 15:10:58 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id kB2FAwCb027477;
	Sat, 2 Dec 2006 15:10:58 GMT
	(envelope-from nobody)
Message-Id: <200612021510.kB2FAwCb027477@www.freebsd.org>
Date: Sat, 2 Dec 2006 15:10:58 GMT
From: m0rf<m0rf@mail.cz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PHP 5.2.0 SPL and SimpleXML build problem - SimpleXMLIterator not found
X-Send-Pr-Version: www-3.0

>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:    ale
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 02 15:20:09 GMT 2006
>Closed-Date:    Fri Feb 09 09:14:55 GMT 2007
>Last-Modified:  Fri Feb 09 09:14:55 GMT 2007
>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:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sat Dec 2 16:21:53 UTC 2006 
State-Changed-Why:  
Which port is this about? I don't see any php5-spl port or similar. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Dec 2 16:21:53 UTC 2006 
Responsible-Changed-Why:  
Which port is this about? I don't see any php5-spl port or similar. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106219 


From: morf <m0rf@mail.cz>
Date: Sun, 3 Dec 2006 00:58:08 +0100

 This problem is about lang/php5 port SPL is enabled by configuring PHP
 before build with attribute --enable-spl
 
 The problem is this: when you compile PHP 5.2 with attributes
 --enable-spl and --disable-all, some extensions related parts of SPL
 aren't build.
State-Changed-From-To: feedback->open 
State-Changed-By: pav 
State-Changed-When: Sun Dec 3 00:03:20 UTC 2006 
State-Changed-Why:  
Feedback provided 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106219 
Responsible-Changed-From-To: pav->ale 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sun Dec 3 00:03:31 UTC 2006 
Responsible-Changed-Why:  
Over to maintainer of lang/php5 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106219 
State-Changed-From-To: open->closed 
State-Changed-By: ale 
State-Changed-When: Fri Feb 9 09:14:26 UTC 2007 
State-Changed-Why:  
Fixed, add simplexml dependency to spl. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=106219 
>Unformatted:
