View previous topic :: View next topic |
Author |
Message |
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 7:43 pm Post subject: emerge mod_php problem |
|
|
Depend (the script) showed me an error in my world file, that emerge
couldnt find the mod_php that I had installed. So I unmerged it, then
went to emerge it again and got this.
*[root@localhost:mod_php] emerge -p mod_php
These are the packages that I would merge, in order.
Calculating dependencies !!! Couldn't find match for mod_php; aborting.
*[root@sc.am:mod_php] ls
ChangeLog mod_php-4.2.1-r2.ebuild mod_php-4.2.1.ebuild
files mod_php-4.2.1-r3.ebuild
mod_php-4.2.1-r1.ebuild mod_php-4.2.1-r4.ebuild
*[root@localhost:mod_php] pwd
/usr/portage/dev-php/mod_php
*[root@localhost:mod_php]
*[root@localhost:mod_php] emerge dev-php/mod_php
Calculating dependencies !!! Couldn't find match for dev-php/mod_php;
aborting.
*[root@localhost:mod_php] |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 7:44 pm Post subject: |
|
|
Mod_php made the move to dev_php recently, I don't think your categories file is updated.
Solution: Code: | emerge --clean rsync |
_________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 7:46 pm Post subject: I did that already. |
|
|
Did it once last night, and once this morning. |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 7:52 pm Post subject: after |
|
|
after another emerge --clean rsync, another error is that I still have a dev-lang/php , and a dev-php/php, and the one in dev-lang/php has the latest file. |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 8:27 pm Post subject: Re: after |
|
|
wizy wrote: | after another emerge --clean rsync, another error is that I still have a dev-lang/php , and a dev-php/php, and the one in dev-lang/php has the latest file. |
Look in /var/db/pkg/dev-lang, there is mod_php (or is it just php?) directory. Delete this directory and all of its contents (make sure you don't delete /var/db/pkg/dev-lang/, delete the php directory). _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 8:34 pm Post subject: nope |
|
|
no mod_php directory in there.
This is an odd oen isnt it? |
|
Back to top |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Mon Jul 15, 2002 8:41 pm Post subject: |
|
|
did you try to include the catagory with the emerge?
like:
Code: | emerge -p dev-php/mod-php |
|
|
Back to top |
|
|
proxy Apprentice
Joined: 20 Apr 2002 Posts: 260 Location: Chantilly, VA
|
Posted: Mon Jul 15, 2002 8:42 pm Post subject: |
|
|
also i just noticed tha ton my box, mod-php (and all others in dev-php) are masked out...could this be yout problem?
proxy |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 8:44 pm Post subject: i did try with the category |
|
|
they are masked. odd ...
Anyone want to mention why? |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 8:54 pm Post subject: |
|
|
Hmm, I guess I should of did a little more research before posting.
package.mask wrote: | # 3 Jul 2002, rphillips.
# masked for testing
dev-php/php
dev-php/phpdbg
dev-php/mod_php |
<shrug>
Try unmasking them and using them. If you run in to a problem, submit a bug report. _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 9:02 pm Post subject: good to go |
|
|
unmasked and merged. thanks for the help people. |
|
Back to top |
|
|
aabragan n00b
Joined: 15 Jul 2002 Posts: 33 Location: Columbus,OH
|
Posted: Mon Jul 15, 2002 9:18 pm Post subject: unmasking |
|
|
i have a similar problem trying to emerge dev-lang/php
and mod_php is masked...how does one unmask something |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 9:21 pm Post subject: easy |
|
|
Go into /usr/portage/profile and edit the package.mask file
comment out the lines for php and mod_php by putting a # at the front of the line. save it, and emerge. |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Mon Jul 15, 2002 9:26 pm Post subject: Re: i did try with the category |
|
|
wizy wrote: | they are masked. odd ...
Anyone want to mention why? |
Talked to rphillips, he is the guy who maintains the ebuilds. Quote: | Going to unmask it right after I submit the patches in the bugtracker... Should get done today |
_________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
wizy Tux's lil' helper
Joined: 26 May 2002 Posts: 133
|
Posted: Mon Jul 15, 2002 9:29 pm Post subject: ahh |
|
|
Thanks for the help nitro. As always, very informative and thorough. |
|
Back to top |
|
|
styzzo n00b
Joined: 26 Jun 2002 Posts: 32 Location: Bellmore, NY, USA
|
Posted: Mon Jul 15, 2002 9:32 pm Post subject: |
|
|
Here'sa better question: Why the eff does mod_php want to merge an ollllllld version of qt (qt-2.3.2-r1) when I've already got the most recent installed?!? Even better, why does it consider it an upgrade?
Code: | loogham root # emerge --pretend mod_php
These are the packages that I would merge, in order.
Calculating dependencies ...done!
[ebuild N ] net-www/apache-1.3.26-r3 to /
[ebuild N ] app-crypt/mhash-0.8.16 to /
[ebuild U ] x11-libs/qt-2.3.2-r1 to /
[ebuild N ] media-libs/pdflib-4.0.1-r3 to /
[ebuild N ] dev-libs/gmp-4.1-r1 to /
[ebuild U ] sys-devel/libtool-1.4.1-r9 to /
[ebuild N ] dev-libs/libmcrypt-2.5.1-r4 to /
[ebuild N ] net-libs/libwww-5.4.0 to /
[ebuild N ] dev-php/mod_php-4.2.1-r4 to /
* x11-libs/qt
Latest version Available: 3.0.4.20020606-r1
Latest version Installed: 3.0.4.20020606-r1
Homepage: http://www.trolltech.com/
Description:
QT version 3.0.4.20020606
|
_________________ I can't drive 55. |
|
Back to top |
|
|
Nitro Bodhisattva
Joined: 08 Apr 2002 Posts: 661 Location: San Francisco
|
Posted: Tue Jul 16, 2002 12:03 am Post subject: |
|
|
styzzo wrote: | Here'sa better question: Why the eff does mod_php want to merge an ollllllld version of qt (qt-2.3.2-r1) when I've already got the most recent installed?!? Even better, why does it consider it an upgrade? |
The php ebuild depends on x11-libs/qt-2.3*. I would imagine that there is a fairly decent change between qt 3.0 and 2.3, so the ebuild makes sure we don't run in to problems my using the right version.
Basically, I don't see a point in even using qt with php. All you gain are two functions ( http://www.php.net/manual/en/ref.qtdom.php ). My advice, unless you explictly need those functions, do: Code: | USE="-qt" emerge dev-php/mod_php -p |
By setting the USE variable, we turn off qt. Yay! _________________ - Kyle Manna
Please, please SEARCH before posting.
There are three kinds of people in the world: those who can count, and those who can't. |
|
Back to top |
|
|
|