Date: Sat, 8 Oct 2005 09:24:16 +0900 (JST) From: IIJIMA Hiromitsu <isunin@dennougedougakkai-ndd.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/87101: [patch] www/gforge requires PCRE Message-ID: <20051008002416.700D8D4F7@sodans.usata.org> Resent-Message-ID: <200510080030.j980UIil050057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051008002416.700D8D4F7>