From owner-freebsd-ports@FreeBSD.ORG Tue Mar 7 15:43:25 2006 Return-Path: X-Original-To: ports@FreeBSD.org 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 7B92816A420 for ; Tue, 7 Mar 2006 15:43:25 +0000 (GMT) (envelope-from om-lists-bsd@omx.ch) Received: from andromeda.insign.ch (andromeda.insign.ch [195.134.143.165]) by mx1.FreeBSD.org (Postfix) with SMTP id B394843D48 for ; Tue, 7 Mar 2006 15:43:24 +0000 (GMT) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 1140 invoked by uid 508); 7 Mar 2006 15:43:22 -0000 Received: from om-lists-bsd@omx.ch by andromeda3 by uid 502 with qmail-scanner-1.21 (avp(2004-05-12). Clear:RC:1(80.254.166.203):. Processed in 0.022498 secs); 07 Mar 2006 15:43:22 -0000 Received: from zux166-203.adsl.green.ch (HELO olipc.insign) ([80.254.166.203]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 7 Mar 2006 15:43:21 -0000 From: Olivier Mueller To: ports@FreeBSD.org Content-Type: text/plain Date: Tue, 07 Mar 2006 16:43:22 +0100 Message-Id: <1141746202.27811.63.camel@olipc.insign.local> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit Cc: Subject: php5 & pear & pecl (Fatal error: Call to undefined function preg_match()) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Mar 2006 15:43:25 -0000 Hello, I would like to install the pop3 pecl extension (http://pecl.php.net/package/POP3) but I still can't get it :/ Problem: it seems that pecl is broken since last portupgrade which upgraded php 5.0.x to php 5.1.x. I managed to get pear back to work: $ pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.1 stable Console_Getopt 1.2 stable DB 1.7.6 stable PEAR 1.4.8 stable XML_RPC 1.4.5 stable But when I try to start pecl: (to do a "pecl install pop3") $ pecl Fatal error: Call to undefined function preg_match() in /usr/local/share/pear/PEAR/Frontend/CLI.php on line 70 But the preg functions are installed and active. (pcre.so & co.) Last thing I tried: installation by hand, but this breaks too at: [/usr/local/src/pop3-1.0.2]$ make /usr/local/bin/bash /usr/local/src/pop3-1.0.2/libtool --mode=compile gcc -I. -I/usr/local/src/pop3-1.0.2 -DPHP_ATOM_INC -I/usr/local/src/pop3-1.0.2/include -I/usr/local/src/pop3-1.0.2/main -I/usr/local/src/pop3-1.0.2 -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 -I/include -DHAVE_CONFIG_H -g -O2 -c /usr/local/src/pop3-1.0.2/pop3.c -o pop3.lo libtool: compile: cannot determine name of library object from `' *** Error code 1 System is a 5.4-RELEASE-p12 with latest ports. $ pkg_info|grep php php5-5.1.2_1 PHP Scripting Language (Apache Module and CLI) php5-bz2-5.1.2_1 The bz2 shared extension for php php5-curl-5.1.2_1 The curl shared extension for php php5-ftp-5.1.2_1 The ftp shared extension for php php5-gd-5.1.2_1 The gd shared extension for php php5-gettext-5.1.2_1 The gettext shared extension for php php5-iconv-5.1.2_1 The iconv shared extension for php php5-mbstring-5.1.2_1 The mbstring shared extension for php php5-mcrypt-5.1.2_1 The mcrypt shared extension for php php5-mysql-5.1.2_1 The mysql shared extension for php php5-mysqli-5.1.2_1 The mysqli shared extension for php php5-openssl-5.1.2_1 The openssl shared extension for php php5-pcre-5.1.2_1 The pcre shared extension for php php5-session-5.1.2_1 The session shared extension for php php5-simplexml-5.1.2_1 The simplexml shared extension for php php5-wddx-5.1.2_1 The wddx shared extension for php php5-xml-5.1.2_1 The xml shared extension for php php5-zlib-5.1.2_1 The zlib shared extension for php $ $ $ pkg_info|grep pear pear-1.4.6 PEAR framework for PHP The dependencies of the pear package looks strange to me: http://www.freebsd.org/cgi/ports.cgi?query=pear-1.4.6 : php4-4.4.2_1, php4-pcre-4.4.2_1, php4-xml-4.4.2_1, while it's a php5-system. Maybe it's why I have problems? Browsing in the mailing list archive brings informations about a "php5-pear" which doesn't seem to exist anymore... (confirmed by: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/php5-pear/ ) Well, I'd still like to get my pecl pop3 running... An idea? Under linux (with an php5 installation "by hand") everything works directely, both "pecl install pop3" and from source. Thanks & regards, Olivier