* [gentoo-user] PHP and PEAR
@ 2005-07-08 19:03 Catalin Trifu
2005-07-08 19:47 ` Craig Duncan
0 siblings, 1 reply; 6+ messages in thread
From: Catalin Trifu @ 2005-07-08 19:03 UTC (permalink / raw
To: gentoo-user
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
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] PHP and PEAR
2005-07-08 19:03 [gentoo-user] PHP and PEAR Catalin Trifu
@ 2005-07-08 19:47 ` Craig Duncan
2005-07-08 21:03 ` [gentoo-user] " Catalin Trifu
0 siblings, 1 reply; 6+ messages in thread
From: Craig Duncan @ 2005-07-08 19:47 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: PHP and PEAR
2005-07-08 19:47 ` Craig Duncan
@ 2005-07-08 21:03 ` Catalin Trifu
2005-07-08 21:59 ` A. Khattri
0 siblings, 1 reply; 6+ messages in thread
From: Catalin Trifu @ 2005-07-08 21:03 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: PHP and PEAR
2005-07-08 21:03 ` [gentoo-user] " Catalin Trifu
@ 2005-07-08 21:59 ` A. Khattri
2005-07-10 8:14 ` Catalin Trifu
0 siblings, 1 reply; 6+ messages in thread
From: A. Khattri @ 2005-07-08 21:59 UTC (permalink / raw
To: gentoo-user
On Sat, 9 Jul 2005, Catalin Trifu wrote:
> 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.
As Craig pointed out, the PEAR ebuild, including the base core is
separate.
Maybe "emerge PEAR-PEAR" is what you need?
# esearch PEAR-PEAR
[ Results for search key : PEAR-PEAR ]
[ Applications found : 2 ]
* dev-php/PEAR-PEAR
Latest version available: 1.3.5
Latest version installed: [ Not Installed ]
Size of downloaded files: 105 kB
Homepage: http://pear.php.net/PEAR
Description: PEAR Base System
License: PHP
* dev-php/PEAR-PEAR_Info
Latest version available: 1.5.2
Latest version installed: [ Not Installed ]
Size of downloaded files: 6 kB
Homepage: http://pear.php.net/PEAR_Info
Description: Show Information about your PEAR install and its packages
License: PHP
--
Aj.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] Re: PHP and PEAR
2005-07-08 21:59 ` A. Khattri
@ 2005-07-10 8:14 ` Catalin Trifu
2005-07-12 22:46 ` A. Khattri
0 siblings, 1 reply; 6+ messages in thread
From: Catalin Trifu @ 2005-07-10 8:14 UTC (permalink / raw
To: gentoo-user
Hi,
$ emerge PEAR-PEAR
>>> Install PEAR-PEAR-1.3.5 into /var/tmp/portage/PEAR-PEAR-1.3.5/image/ category dev-php
/usr/portage/eclass/php-pear.eclass: line 47: pear: command not found
!!! ERROR: dev-php/PEAR-PEAR-1.3.5 failed.
!!! Function php-pear_src_install, Line 47, Exitcode 127
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
As you can see the error /usr/bin/pear is not found, exactly because the .eclass which
installs PHP in the first place is not installed.
Catalin
A. Khattri wrote:
> On Sat, 9 Jul 2005, Catalin Trifu wrote:
>
>
>> 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.
>
>
> As Craig pointed out, the PEAR ebuild, including the base core is
> separate.
>
> Maybe "emerge PEAR-PEAR" is what you need?
>
>
> # esearch PEAR-PEAR
> [ Results for search key : PEAR-PEAR ]
> [ Applications found : 2 ]
>
> * dev-php/PEAR-PEAR
> Latest version available: 1.3.5
> Latest version installed: [ Not Installed ]
> Size of downloaded files: 105 kB
> Homepage: http://pear.php.net/PEAR
> Description: PEAR Base System
> License: PHP
>
> * dev-php/PEAR-PEAR_Info
> Latest version available: 1.5.2
> Latest version installed: [ Not Installed ]
> Size of downloaded files: 6 kB
> Homepage: http://pear.php.net/PEAR_Info
> Description: Show Information about your PEAR install and its packages
> License: PHP
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Re: PHP and PEAR
2005-07-10 8:14 ` Catalin Trifu
@ 2005-07-12 22:46 ` A. Khattri
0 siblings, 0 replies; 6+ messages in thread
From: A. Khattri @ 2005-07-12 22:46 UTC (permalink / raw
To: gentoo-user
On Sun, 10 Jul 2005, Catalin Trifu wrote:
> $ emerge PEAR-PEAR
>
> >>> Install PEAR-PEAR-1.3.5 into /var/tmp/portage/PEAR-PEAR-1.3.5/image/ category dev-php
> /usr/portage/eclass/php-pear.eclass: line 47: pear: command not found
>
> !!! ERROR: dev-php/PEAR-PEAR-1.3.5 failed.
> !!! Function php-pear_src_install, Line 47, Exitcode 127
> !!! (no error message)
> !!! If you need support, post the topmost build error, NOT this status message.
>
> As you can see the error /usr/bin/pear is not found, exactly because the .eclass which
> installs PHP in the first place is not installed.
I have php installed on many servers and it installs the pear binary for
me. Is PHP installed?
--
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-07-12 22:51 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-08 19:03 [gentoo-user] PHP and PEAR Catalin Trifu
2005-07-08 19:47 ` Craig Duncan
2005-07-08 21:03 ` [gentoo-user] " Catalin Trifu
2005-07-08 21:59 ` A. Khattri
2005-07-10 8:14 ` Catalin Trifu
2005-07-12 22:46 ` A. Khattri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox