From owner-freebsd-ports@FreeBSD.ORG Sun Jul 25 10:47:41 2004 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 EBF7216A4CE for ; Sun, 25 Jul 2004 10:47:41 +0000 (GMT) Received: from p15140542.pureserver.info (papendorf-se.de [217.160.222.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84F6D43D1F for ; Sun, 25 Jul 2004 10:47:40 +0000 (GMT) (envelope-from freebsd@nagilum.org) Received: from localhost (localhost.localdomain [127.0.0.1]) by p15140542.pureserver.info (Postfix) with ESMTP id 9F9F62F4117; Sun, 25 Jul 2004 12:47:38 +0200 (CEST) Received: from p15140542.pureserver.info ([127.0.0.1]) by localhost (p15140542 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 18648-02; Sun, 25 Jul 2004 12:47:37 +0200 (CEST) Received: from cakebox.homeunix.net (stgt-d9bb307a.pool.mediaWays.net [217.187.48.122]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by p15140542.pureserver.info (Postfix) with ESMTP id D85E72F405B; Sun, 25 Jul 2004 12:47:31 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cakebox.homeunix.net (Postfix) with ESMTP id CE75B3F9D9E; Sun, 25 Jul 2004 12:47:11 +0200 (CEST) Received: from cakebox.homeunix.net ([127.0.0.1]) by localhost (cakebox.tis [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 45032-02; Sun, 25 Jul 2004 12:46:41 +0200 (CEST) Received: from [10.1.1.4] (scorpio.tis [10.1.1.4]) by cakebox.homeunix.net (Postfix) with ESMTP id 833DD3F9D9D; Sun, 25 Jul 2004 12:46:33 +0200 (CEST) Message-ID: <41038F96.1020709@nagilum.org> Date: Sun, 25 Jul 2004 12:46:46 +0200 From: Nagilum User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Marc G. Fournier" References: <1090701499.4102c8bbbc3d7@mrna.ist.utl.pt> <20040724231324.GB7816@happy-idiot-talk.infracaninophile.co.uk> <20040724222455.U915@ganymede.hub.org> In-Reply-To: <20040724222455.U915@ganymede.hub.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at cakebox.homeunix.net X-Virus-Scanned: by amavisd-new at papendorf-se.de cc: Bruno Afonso cc: freebsd-ports@freebsd.org Subject: Re: IMP breakage? 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: Sun, 25 Jul 2004 10:47:42 -0000 Marc G. Fournier wrote: > On Sun, 25 Jul 2004, Matthew Seaman wrote: > >> On Sat, Jul 24, 2004 at 09:38:19PM +0100, Bruno Afonso wrote: >> >>> I have uninstalled php4 and re-installed the new php4 + extensions >>> and installed >>> the latest horde + imp. I can't see attachments now when I open the >>> messages. Is >>> this a known problem? My php.ini only includes the loaded extensions >>> and some >>> memory tweaks. Is there any missing php.ini config that I have >>> missed? I notice >>> each php4-extension now has a message, like PEAR so I'm afraid I may >>> have missed >>> some important one. :) >> >> >> The imp / horde / turba group of ports hasn't yet been updated to >> account for the new PHP port structure. I think the maintainer is on >> holiday at the moment. >> >> However, most problems with PHP ports will be due to things being >> missing, rather than things being broken, so you can usually >> work-around the trouble by just installing the extra bits >> yourself. There's two areas you need to check on to make sure you get >> full functionality: >> >> i) PHP Extensions -- knowing which extensions should be installed >> depends on a detailed knowledge of the PHP code you're trying >> to run. So, for example according to the old php-horde port >> you need these extensions to run any of the imp / horde stuff: >> >> DOMXML >> FTP >> GETTEXT >> LDAP >> MCAL >> MCRYPT >> MYSQL (or some other RDBMS) >> SESSION >> >> (See: >> http://www.freebsd.org/cgi/cvsweb.cgi/ports/lang/php4-horde/Attic/Makefile?rev=1.2&content-type=text/x-cvsweb-markup&only_with_tag=MAIN) >> >> >> ii) PEAR modules -- in order to use PEAR at all, you need to >> install the devel/php4-pear port, as well as whichever pear-* >> ports are required. Ports that require PEAR modules should be >> modified to set the WANT_PHP_PEAR option, but that hasn't been >> appied to many of them yet. Setting it in /etc/make.conf for >> the time being is a good workaround. > From my own experience I can only advice against setting WANT_PHP_PEAR in /etc/make.conf! http://groups.google.de/groups?q=FreeBSD+php4-pear+broken&hl=de&lr=&ie=UTF-8&selm=cdt34h%241g4o%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1 ..and other php related threads right now. In fact I removed all my old php specific stuff from /etc/make.conf. > 'k, since I'm kinda hitting the exact same thing here, if I want to > 'mimic' what I had installed before this whole re-org, I just need to > uninstall: > > php4-4.3.7_1 > > And then install: > > lang/php4-extensions > devel/php4-pear > > And I'll be back in business? > What I did was pkg_delete pear\* and then reinstall php4, php4-pear, php-extensions (do a "make config" there) pear-PEAR and all required pear modules (try http://yourside/horde/test.php and http://yourside/horde/imp/test.php !) Unfortunately this means imp will be offline for a few hours it takes to build all this stuff. After that everything should be swell again, I'm still running horde-2.2.5 + imp, because the php update was enough for one weekend .-). Maybe I'll update horde/imp when both have been updated but so far I see no need as everthing works fine (even pkgdb -F has nothing to complain). I hope this helps, Alex.