From owner-freebsd-ports@FreeBSD.ORG Sun Jul 20 08:42:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1919237B404 for ; Sun, 20 Jul 2003 08:42:50 -0700 (PDT) Received: from graf.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2D61043FBD for ; Sun, 20 Jul 2003 08:42:49 -0700 (PDT) (envelope-from thierry@pompo.net) Received: by graf.pompo.net (Postfix, from userid 1001) id BBCD07513; Sun, 20 Jul 2003 17:37:36 +0200 (CEST) Date: Sun, 20 Jul 2003 17:37:36 +0200 From: Thierry Thomas To: Jan Siml Message-ID: <20030720153736.GB29003@graf.pompo.net> Mail-Followup-To: Jan Siml , ports@freebsd.org References: <1400.80.184.97.114.1057863996.squirrel@mail.jules.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1400.80.184.97.114.1057863996.squirrel@mail.jules.de> X-Face: (hRbQnK~Pt7$ct`!fupO(`y_WL4^-Iwn4@ly-.,[4xC4xc; y=\ipKMNm<1J>lv@PP~7Z<.t KjAnXLs: User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.8-STABLE i386 Organization: Kabbale Eros X-PGP: 0xC71405A2 cc: ports@freebsd.org Subject: Re: Pear, PHP4 and preg_match() X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 15:42:50 -0000 Le Jeu 10 jul 03 à 21:06:36 +0200, Jan Siml écrivait : > Hello, Hello, > I'm using PHP 4.3.3 and the Pear framework from the ports. When trying to > install or upgrade an existing version of the pear framework or even > modules I got the following error: > > jan@alanis:/usr/ports/devel/pear-PEAR# make reinstall clean > ===> Extracting for pear-PEAR-1.2.b2 > >> Checksum OK for PEAR/PEAR-1.2b2.tgz. > ===> Patching for pear-PEAR-1.2.b2 > ===> pear-PEAR-1.2.b2 depends on file: > /usr/local/share/pear/Archive/Tar.php - found > ===> pear-PEAR-1.2.b2 depends on file: > /usr/local/share/pear/Console/Getopt.php - found > ===> Configuring for pear-PEAR-1.2.b2 > ===> Installing for pear-PEAR-1.2.b2 > ===> pear-PEAR-1.2.b2 depends on file: > /usr/local/share/pear/Archive/Tar.php - found > ===> pear-PEAR-1.2.b2 depends on file: > /usr/local/share/pear/Console/Getopt.php - found > ===> Generating temporary packing list > ===> Checking if devel/pear-PEAR already installed > > Fatal error: Call to undefined function: preg_match() in > /usr/local/share/pear/PEAR/Frontend/CLI.php on line 53 > *** Error code 255 preg_match() is part of PCRE (Perl Compatible Regular Expressions). When you install PHP by the FreeBSD port / package, PCRE is selected by default, and that should work. Perhaps have you de-selected it? You can check phpinfo (or just `php -i'). Regrads, -- Th. Thomas.