ports/87101: [patch] www/gforge requires PCRE

IIJIMA Hiromitsu isunin at dennougedougakkai-ndd.org
Sat Oct 8 00:30:19 UTC 2005


>Number:         87101
>Category:       ports
>Synopsis:       [patch] www/gforge requires PCRE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 08 00:30:17 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     IIJIMA Hiromitsu
>Release:        FreeBSD 4.10-RELEASE i386
>Organization:
DENNOU GEDOU GAKKAI, N.D.D.
>Environment:
System: FreeBSD sodans.usata.org 4.10-RELEASE FreeBSD 4.10-RELEASE #3: Mon Jun 14 20:22:42 JST 2004 root at sodans.usata.org:/var/obj/usr/src/sys/SODANS i386

>Description:
www/gforge requires PCRE (Perl-compatible regular expression) support for PHP,
but this is not mentioned in Makefile.

>How-To-Repeat:
Install GForge and run it won't run.

Following the instruction in the FAQ,
|common/include/database.php and remove the @ symbol from this line:
|	$conn = @pg_connect( 
|So that it looks like:
|	$conn = pg_connect(
|This will let debug output dump to the screen and may let you find
|the problem. Search the forums for more solutions.

you'll get
    Fatal error: Call to undefined function: preg_match_all() in /usr/local/...

>Fix:

--- Makefile~	Sat Sep  3 04:47:50 2005
+++ Makefile	Sat Oct  8 09:16:39 2005
@@ -23,7 +23,7 @@
 USE_APACHE=		YES
 USE_AUTOCONF_VER=	253
 NO_BUILD=		YES
-USE_PHP=		pgsql session
+USE_PHP=		pgsql session pcre
 WANT_PHP_CLI=		YES
 WANT_PHP_MOD=		YES
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list