From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1Dr04x-0005tv-1Y for garchives@archives.gentoo.org; Fri, 08 Jul 2005 21:08:11 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j68L78hm004819; Fri, 8 Jul 2005 21:07:08 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j68L3XcH028184 for ; Fri, 8 Jul 2005 21:03:33 GMT Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by smtp.gentoo.org with esmtp (Exim 4.43) id 1Dr00d-0000Kx-Pw for gentoo-user@lists.gentoo.org; Fri, 08 Jul 2005 21:03:44 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dr00b-0006Kw-UW for gentoo-user@gentoo.org; Fri, 08 Jul 2005 23:03:41 +0200 Received: from 82.79.73.69 ([82.79.73.69]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2005 23:03:41 +0200 Received: from catalin by 82.79.73.69 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 Jul 2005 23:03:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Catalin Trifu Subject: [gentoo-user] Re: PHP and PEAR Date: Sat, 09 Jul 2005 00:03:24 +0300 Message-ID: References: <42CED85E.5000706@entuend.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 82.79.73.69 User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050628) X-Accept-Language: en-us, en In-Reply-To: <42CED85E.5000706@entuend.com> Sender: news X-Archives-Salt: 52121a31-e128-4f05-a094-94fd0c144755 X-Archives-Hash: 2749d110272fd83c75ec6f098717e6cd Hi, I think I did not said things correctly. If I try to emerge any PEAR package, to install it the system tries to use /usr/bin/pear which does not get installed exactly because PHP is compiled without PEAR. I mean the pear core which can be used to install other pear packages. Actually if you look in the php5-sapi-r3.eclass you will see something like this: rm -rf ${D}/usr/bin/{phpize,php-config,pear} rm -rf ${D}/usr/lib/php/build rm -rf ${D}/usr/include/php It seems the installation of the latest php, which I use (it's devel system and I want to have the latest possible PHP to test and develop for the future:)) deletes the pear stuff. As I said previously, I could tweak the .eclass myself but I don't want to do that since I would have to do it on every upgrade. That is why I would have preffered to have a clear option whether to install PEAR upon PHP installation or not in the form of a USE flag. This would be the nicest and cleanest way. Catalin Craig Duncan wrote: > Catalin Trifu wrote: > > >> Hi, >> >> I have PHP unmasked in package.unmask, so when I install it I get PHP 5.1.0b2 >>which is exactly what i want. >> But there is not PEAR installed with it, which is not what I want. There >>is no USE flag to install PEAR or not. I looked in /usr/portage/eclass/php5-sapi.eclass and >>in php5-sapi_src_compile I found: >> >> php5-sapi_is_providerbuild || my_conf="${my_conf} --without-pear" >> >> I have no idea where php5-sapi_is_prviderbuild comes from. >> Is there a way to install pear without tweaking the .eclass file because it gets overwritten >>every time emerge sync ? >> Perhaps a USE flag would be much more appropiate that the internal flag. >> >> >>Catalin >> >> >> > > All pear packages are in separate ebuilds, either lok in > /usr/portage/dev-php or use > $ esearch PEAR- > > to find all available pear packages on your system. > > Craig -- gentoo-user@gentoo.org mailing list