Date: Tue, 28 Sep 2004 20:34:37 +0100 (BST) From: "Matt Smith" <matt@xtaz.net> To: ports@freebsd.org Subject: Problem installing mail/pear-Mail_Mime with php5 Message-ID: <63564.192.168.1.4.1096400077.squirrel@webmail.xtaz.net>
next in thread | raw e-mail | index | archive | help
I have a problem with a pear extension hopefully somebody might know the answer to. Trying to install /usr/ports/mail/pear-Mail_Mime it goes through trying to install the dependancies and get's this far and bombs with this: ===> Extracting for pear-Console_Getopt-1.2 >> Checksum OK for PEAR/Console_Getopt-1.2.tgz. ===> Patching for pear-Console_Getopt-1.2 ===> Configuring for pear-Console_Getopt-1.2 ===> Installing for pear-Console_Getopt-1.2 ===> pear-Console_Getopt-1.2 depends on executable: pear - found ===> pear-Console_Getopt-1.2 depends on file: /usr/local/include/php/main/php.h - found ===> Generating packing list ===> Generating temporary packing list ===> Checking if devel/pear-Console_Getopt already installed Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/bootstrap/PEAR/Frontend/CLI.php on line 54 *** Error code 255 Stop in /usr/ports/devel/pear-Console_Getopt. *** Error code 1 Stop in /usr/ports/devel/pear-PEAR. *** Error code 1 Stop in /usr/ports/security/pear-Auth. *** Error code 1 Stop in /usr/ports/security/pear-Auth_SASL. *** Error code 1 Stop in /usr/ports/net/pear-Net_SMTP. *** Error code 1 Stop in /usr/ports/mail/pear-Mail. *** Error code 1 Stop in /usr/ports/mail/pear-Mail_Mime. It's complaining that preg_match is undefined. However: root@kai[pear-Mail_Mime]# echo "<? preg_match(); ?>" | php Warning: preg_match() expects at least 2 parameters, 0 given in /usr/ports/mail/pear-Mail_Mime/- on line 1 So the function is definatly there. I have these php ports installed: root@kai[pear-Mail_Mime]# pkg_info | grep php5 php5-5.0.1 PHP Scripting Language (Apache Module and CLI) php5-gd-5.0.1 The gd shared extension for php php5-mysql-5.0.1 The mysql shared extension for php php5-pcre-5.0.1 The pcre shared extension for php php5-session-5.0.1 The session shared extension for php php5-sockets-5.0.1 The sockets shared extension for php Any ideas???? ---- Matt.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63564.192.168.1.4.1096400077.squirrel>