From owner-freebsd-questions@FreeBSD.ORG Fri Jul 14 23:05:40 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6919916A4E1 for ; Fri, 14 Jul 2006 23:05:40 +0000 (UTC) (envelope-from fbsdlilly@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.FreeBSD.org (Postfix) with ESMTP id 17C8F43D53 for ; Fri, 14 Jul 2006 23:05:38 +0000 (GMT) (envelope-from fbsdlilly@gmail.com) Received: by py-out-1112.google.com with SMTP id c59so819060pyc for ; Fri, 14 Jul 2006 16:05:38 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=TR8efc+RQ1xTr9fbqb3RkzIWBeRvRXgmdG9pSegGvy0zmkHYr/WHB+OMmRBC8xLd6fpOyCTKszWVecH4ooTH7oJmxEbFIzpxEfKzWSgfza8jI6Z3g0I+zEjZrdXa0uc1i71OAXlnepYTQtjT1x972DJszhUGI2ESeDEqvhoccb0= Received: by 10.35.132.13 with SMTP id j13mr65208pyn; Fri, 14 Jul 2006 16:04:08 -0700 (PDT) Received: by 10.35.18.19 with HTTP; Fri, 14 Jul 2006 16:04:08 -0700 (PDT) Message-ID: Date: Fri, 14 Jul 2006 16:04:08 -0700 From: "mojo fms" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Php5 PCRE Compile error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jul 2006 23:05:40 -0000 I am working with an updated ports tree (as of july 14th 06 at 11:32PST) on freebsd 6.1 stable, I am installed the /usr/ports/devel/php5-pcre package to hopefully fix another error with apache trying to run squirrelmail. The Error from apache for SquirrelMail is this: [Fri Jul 14 15:42:20 2006] [error] PHP Fatal error: Call to undefined function preg_replace() in /usr/local/www/squirrelmail/functions/global.php on line 125 The error from trying to compile php5-pcre is this: cc -DEXPORT= -DNEWLINE=10 -DSUPPORT_UTF8 -DSUPPORT_UCP -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -DMATCH_LIMIT=10000000 -DMATCH_LIMIT_RECURSION=10000000 -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/pcrelib -I. -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -DPHP_ATOM_INC -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/include -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/main -I/usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -DHAVE_CONFIG_H -O2 -pipe -c /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c -fPIC -DPIC -o .libs/php_pcre.o /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: `fifth_arg_force_ref' undeclared here (not in a function) /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1630: error: (near initialization for `pcre_functions[2]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3].arg_info') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1631: error: (near initialization for `pcre_functions[3]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1632: error: (near initialization for `pcre_functions[4]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1633: error: (near initialization for `pcre_functions[5]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1634: error: (near initialization for `pcre_functions[6]') /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: initializer element is not constant /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre/php_pcre.c:1635: error: (near initialization for `pcre_functions[7]') *** Error code 1 Stop in /usr/ports/devel/php5-pcre/work/php-5.1.4/ext/pcre. *** Error code 1 Stop in /usr/ports/devel/php5-pcre. I ran a make clean and distclean on the php5-pcre, also a portsclean as well with no luck there. I tried installing from package but I could not figure out the name of the package to install it as. Any help in this area would be very helpful.