James Ausmus wrote:
On 2/7/06, *Darren Grant* <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I'm trying to install squirrelmail on a system that I've already
compiled apache2 with dev-php/php and dev-php/mod_php support.
squirrelmail is complaining about dev-php/php blocking dev-php/php and
dev-php/PEAR dependencies.
I searched around and found a couple of solutions. I tried remerging
dev-php/php with use="pear" but that didn't help. And also adding pear
packages to my /etc/portage/package.keywords... but that didn't
help either.
Any help would be greatly appreciated.
# emerge -p squirrelmail
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B ] dev-php/mod_php (is blocking dev-lang/php- 5.0.5-r5)
[blocks B ] dev-php/php (is blocking dev-lang/php-5.0.5-r5)
[blocks B ] dev-php/mod_php (is blocking
dev-php/PEAR-PEAR-1.4.6-r1)
[blocks B ] dev-php/php (is blocking dev-php/PEAR-PEAR-1.4.6-r1 )
dev-lang/php is the new consolidated php ebuild, replaces both
dev-php/php and dev-php/mod_php. To get CLI php installed, make sure
you have the "cli" USE flag set, and to get apache2 support installed,
make sure you have the "apache2" USE flag set. Then do the following:
#emerge -pv dev-lang/php
Ignore the blocking messages, just give the USE flags a once-over -
there are changes between the dev-php/php ebuild and the dev-lang/php
ebuild as far as USE flags are concerned.
Once you have your USE flags set as you need them, do:
#emerge -C php mod_php && emerge dev-lang/php
Then you should be able to emerge squirrelmail just fine.
HTH
-James
<snip of remainder of post>
Thanks for the help... appreciate it.
With a bit of tweaking I was able to get dev-lang/php installed as well
as squirrelmail. Now though my apache2+php is broken. IE: bringing up
http://localhost/squirremail... firefox asks if I want to save filetype
.phtml ...
In my /etc/conf.d/apache2 file I have "APACHE2_OPTS="-D DEFAULT_VHOST -D
PHP -D SSL"".
Is there some tweaking I need to do to my
/etc/apache2/modules.d/70_mod_php.conf?
--
gentoo-user@gentoo.org mailing list