Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge mod_php problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 7:43 pm    Post subject: emerge mod_php problem Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Mon Jul 15, 2002 7:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 7:46 pm    Post subject: I did that already. Reply with quote

Did it once last night, and once this morning.
Back to top
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 7:52 pm    Post subject: after Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Mon Jul 15, 2002 8:27 pm    Post subject: Re: after Reply with quote

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
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 8:34 pm    Post subject: nope Reply with quote

no mod_php directory in there.

This is an odd oen isnt it?
Back to top
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 260
Location: Chantilly, VA

PostPosted: Mon Jul 15, 2002 8:41 pm    Post subject: Reply with quote

did you try to include the catagory with the emerge?

like:

Code:
emerge -p dev-php/mod-php
Back to top
View user's profile Send private message
proxy
Apprentice
Apprentice


Joined: 20 Apr 2002
Posts: 260
Location: Chantilly, VA

PostPosted: Mon Jul 15, 2002 8:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 8:44 pm    Post subject: i did try with the category Reply with quote

they are masked. odd ...

Anyone want to mention why?
Back to top
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Mon Jul 15, 2002 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 9:02 pm    Post subject: good to go Reply with quote

unmasked and merged. thanks for the help people.
Back to top
View user's profile Send private message
aabragan
n00b
n00b


Joined: 15 Jul 2002
Posts: 33
Location: Columbus,OH

PostPosted: Mon Jul 15, 2002 9:18 pm    Post subject: unmasking Reply with quote

i have a similar problem trying to emerge dev-lang/php
and mod_php is masked...how does one unmask something
Back to top
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 9:21 pm    Post subject: easy Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Mon Jul 15, 2002 9:26 pm    Post subject: Re: i did try with the category Reply with quote

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
View user's profile Send private message
wizy
Tux's lil' helper
Tux's lil' helper


Joined: 26 May 2002
Posts: 133

PostPosted: Mon Jul 15, 2002 9:29 pm    Post subject: ahh Reply with quote

Thanks for the help nitro. As always, very informative and thorough.
Back to top
View user's profile Send private message
styzzo
n00b
n00b


Joined: 26 Jun 2002
Posts: 32
Location: Bellmore, NY, USA

PostPosted: Mon Jul 15, 2002 9:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
Nitro
Bodhisattva
Bodhisattva


Joined: 08 Apr 2002
Posts: 661
Location: San Francisco

PostPosted: Tue Jul 16, 2002 12:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum