Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2003 09:06:00 +0200 (CEST)
From:      "Jan Siml" <jsi@jules.de>
To:        freebsd-questions@freebsd.org
Subject:   Pear, PHP4 and preg_match()
Message-ID:  <23689.212.82.239.104.1057820760.squirrel@mail.jules.de>

next in thread | raw e-mail | index | archive | help
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

Stop in /usr/ports/devel/pear-PEAR.
*** Error code 1

The system is FreeBSD 4.8-STABLE. At 5.1-RELEASE I didn't have such problems.

Could anyone give me an advice what to do?

Please CC me as I'm not subscribed to this mailing list.


Regards

Jan



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