From owner-freebsd-ports@FreeBSD.ORG Mon Sep 1 02:37:00 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 1868316A4BF for ; Mon, 1 Sep 2003 02:37:00 -0700 (PDT) Received: from lilith.bellavista.cz (lilith.bellavista.cz [213.235.167.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B69743FFD for ; Mon, 1 Sep 2003 02:36:59 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: from freepuppy.bellavista.cz (freepuppy.bellavista.cz [10.0.0.10]) by lilith.bellavista.cz (Postfix) with ESMTP id 1C37628; Mon, 1 Sep 2003 11:36:58 +0200 (CEST) Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id F048A2FDA01; Mon, 1 Sep 2003 11:36:57 +0200 (CEST) Date: Mon, 1 Sep 2003 11:36:57 +0200 From: Roman Neuhauser To: Gerard Samuel Message-ID: <20030901093657.GU4818@freepuppy.bellavista.cz> Mail-Followup-To: Gerard Samuel , ports@FreeBSD.org References: <3F206A24.1030308@trini0.org> <3F20863C.5020107@trini0.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F20863C.5020107@trini0.org> User-Agent: Mutt/1.5.1i cc: ports@FreeBSD.org Subject: Re: Where did PEAR go??? 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: Mon, 01 Sep 2003 09:37:00 -0000 # gsam@trini0.org / 2003-07-24 21:22:04 -0400: > Gerard Samuel wrote: > > >I upgraded to PHP 4.3.3 via the ports earlier today (fresh cvsup), > >and everything seems to be working except Chora (php cvs viewer). > >It depends on PEAR. The error Im getting is -> > >*Warning*: main(PEAR.php): failed to open stream: No such file or > >directory in */files/www/data/horde/lib/Registry.php* on line *4* > > > >*Fatal error*: main(): Failed opening required 'PEAR.php' > >(include_path='.:/usr/local/share/pear') in > >*/files/www/data/horde/lib/Registry.php* on line *4 > > > >*I looked over the old php.ini and the new one, and there aren't any > >changes in there that would warrant this. > >To install, I simply: > >cd /usr/ports/lang/php4 > >make install distclean > > > >Im assuming that it installs php, pear and php's cli > > > >Any pointers would be appreciated... > > Not sure why this isn't enabled in php.ini, but to work around my little > problem above, edit /usr/local/etc/php.ini, > and modify the "include_path" option to (don't forget to remove the ; at > the beginning of the line) -> > include_path = ".:/usr/local/share/pear/bootstrap" > > This was done after I copied the new php.ini-recommended to php.ini > Restart the webserver and its done. If there is another (better) way, > then by all means let me know.. there is a better way: install the required pear-* packages. the bootstrap dir is a hack for the ports system to break out of circular dependencies. -- If you cc me or remove the list(s) completely I'll most likely ignore your message. see http://www.eyrie.org./~eagle/faqs/questions.html