From owner-freebsd-ports@FreeBSD.ORG Wed May 3 11:25:50 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 CFF7816A402 for ; Wed, 3 May 2006 11:25:50 +0000 (UTC) (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 B40A443D46 for ; Wed, 3 May 2006 11:25:49 +0000 (GMT) (envelope-from om-lists-bsd@omx.ch) Received: (qmail 7161 invoked by uid 508); 3 May 2006 11:25:43 -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.092615 secs); 03 May 2006 11:25:43 -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 ; 3 May 2006 11:25:43 -0000 From: Olivier Mueller To: ports@FreeBSD.org In-Reply-To: <1141746202.27811.63.camel@olipc.insign.local> References: <1141746202.27811.63.camel@olipc.insign.local> Content-Type: text/plain Date: Wed, 03 May 2006 13:25:40 +0200 Message-Id: <1146655541.12909.15.camel@olipc.insign.local> Mime-Version: 1.0 X-Mailer: Evolution 2.0.1 Content-Transfer-Encoding: 7bit Cc: Subject: Re: 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: Wed, 03 May 2006 11:25:50 -0000 On Tue, 2006-03-07 at 16:43 +0100, Olivier Mueller wrote: > $ 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.) update: pecl can't work this way because at the end of /usr/local/bin/pecl, php is started with option "-n" : -n No php.ini file will be used ( exec $PHP -C -n -q $INCARG -d output_buffering=1 -d safe_mode=0 $INCDIR/peclcmd.php "$@" ). And with php5-5.1.2_1, the extensions are not compiled in the php binary, but defined in php.in... By remove this "-n", pecl is working fine... > Well, I'd still like to get my pecl pop3 running... An idea? The pecl part is ok, but the pop3 won't compile (yet): 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 -fPIC -DPIC -o .libs/pop3.o /usr/local/src/pop3-1.0.2/pop3.c: In function `pop3_objects_new': /usr/local/src/pop3-1.0.2/pop3.c:175: error: structure has no member named `in_get' /usr/local/src/pop3-1.0.2/pop3.c:176: error: structure has no member named `in_set' *** Error code 1 work in progress... :) regards, Olivier