Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 11:43:49 +0200 (CEST)
From:      at@teaser.net
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tech@teaser.fr
Subject:   ports/28909: XML Support broken in PHP 4.0.6
Message-ID:  <200107120943.f6C9hnM34126@ofup-prod.teaser.fr>

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

>Number:         28909
>Category:       ports
>Synopsis:       XML Support in php 4.0.6 port is not compiled if choosed startup
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 02:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alain Thivillon
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
France Teaser
>Environment:
System: FreeBSD ofup-prod.teaser.fr 4.3-RELEASE FreeBSD 4.3-RELEASE #2: Mon Jul 2 19:28:56 CEST 2001 at@ofup-prod.teaser.fr:/usr/src/sys/compile/OFUP i386


>Description:

 XML support in php 4.0.6 port is not compiled if choosed during
 intial dialog in make command

 configure is call with --with-xml=/usr/local which is false 
 because bundled xml support stays in ext/xml.
 
 configure flags should include --with-expat-dir=/usr/local 
 instead.

>How-To-Repeat:

 Try to install php 4.0.6 port with XML support, call
 phpinfo() : 

>Fix:

 Add --with-expat-dir on scripts/configure.php

--- ports/www/mod_php4/scripts/configure.php.orig	Mon Jun 25 23:06:09 2001
+++ ports/www/mod_php4/scripts/configure.php	Thu Jul 12 11:39:20 2001
@@ -176,7 +176,7 @@
 			;;
 		\"XML\")
 			echo "LIB_DEPENDS+=	expat.2:\${PORTSDIR}/textproc/expat2"
-			echo "CONFIGURE_ARGS+=--with-xml=\${PREFIX}"
+			echo "CONFIGURE_ARGS+=--with-xml --with-expat-dir=\${PREFIX}"
 			XML=1
 			;;
 		\"XSLT\")
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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