Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
php-5.0.1 wont emerge - HELP!!! -
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
Rain91
n00b
n00b


Joined: 03 Aug 2004
Posts: 14

PostPosted: Fri Sep 10, 2004 6:19 am    Post subject: php-5.0.1 wont emerge - HELP!!! - Reply with quote

Ok, i've been trying to get php5 installed forever. I want the new xml features. I have the proper entries in my /etc/portage/package.keywords file as well .. actually i'll post that too:

nvidia-kernel ~x86
x11-base/opengl-update ~x86
/media-video/nvidia-glx ~x86
nvidia-glx ~x86
vpopmail ~x86
autorespond ~x86
vqadmin ~x86
qmailadmin ~x86
php-5.0.1 ~x86
dev-php/php-5.0.1 ~x86
dev-php/php ~x86

when i emerge php i get this error:

Calculating dependencies
!!! Problem in dev-php/php dependencies.
!!! "Specific key requires an operator (dev-php/php-5.0.1) (try adding an '=')"


now i have tried using the = .. here is an example:

root@system php # emerge =dev-php/php-5.0.1

Calculating dependencies
!!! Problem in =dev-php/php-5.0.1 dependencies.
!!! "Specific key requires an operator (dev-php/php-5.0.1) (try adding an '=')"

this led me to my final thought of trying to emerge the actual .ebuild itself and i get this:

root@system php # emerge php-5.0.1.ebuild

Calculating dependencies |Traceback (most recent call last):
File "/usr/bin/emerge", line 2528, in ?
retval,favorites=mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 865, in select_files
if not self.create(["ebuild",portage.root,mykey],None,"--onlydeps" not in myopts):
File "/usr/bin/emerge", line 825, in create
if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
File "/usr/bin/emerge", line 962, in select_dep
myeb=portage.portdb.xmatch("bestmatch-visible",x)
File "/usr/lib/portage/pym/portage.py", line 4699, in xmatch
myval=best(self.xmatch("match-visible",None,mydep,mykey))
File "/usr/lib/portage/pym/portage.py", line 4710, in xmatch
myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep,mykey))
File "/usr/lib/portage/pym/portage.py", line 4696, in xmatch
myval=self.gvisible(self.visible(self.cp_list(mykey)))
File "/usr/lib/portage/pym/portage.py", line 4806, in gvisible
if db["/"]["porttree"].dbapi.xmatch("bestmatch-list", mykey, None, None, [mycpv]):
File "/usr/lib/portage/pym/portage.py", line 4703, in xmatch
myval=best(match_from_list(mydep,mylist))
File "/usr/lib/portage/pym/portage.py", line 3537, in match_from_list
raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (dev-php/php-5.0.1) (try adding an '=')"

i have no idea what to do and really need a hand getting this up and running ..

thanks in advance to anyone that helps :) !


Last edited by Rain91 on Fri Sep 10, 2004 6:27 am; edited 1 time in total
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Fri Sep 10, 2004 6:26 am    Post subject: Reply with quote

The problem is with your package.keywords file. Change:
Code:
dev-php/php-5.0.1 ~x86
to
Code:
=dev-php/php-5.0.1 ~x86

Or just use the one below it and get rid of the redundant ones above.

Also, this is a duplicate of the sticky above: https://forums.gentoo.org/viewtopic.php?t=136184
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
Rain91
n00b
n00b


Joined: 03 Aug 2004
Posts: 14

PostPosted: Fri Sep 10, 2004 6:34 am    Post subject: still not there Reply with quote

ok i put the = in my package.keywords file. now i get this:

root@system php # emerge -pv php


These are the packages that I would merge, in order:

Calculating dependencies ...done!
[blocks B ] <=dev-php/php-4.99.99 (from pkg dev-php/php-5.0.1)
[ebuild N ] app-text/htmltidy-3.10.29 -debug -doc +xml 388 kB
[ebuild U ] dev-php/php-5.0.1 [4.3.8] -adabas +bcmath +berkdb -birdstep -bzlib +calendar +cdb -cpdflib +crypt -ctype +curl +curlwrappers -db2 -dba -dbase -dbm -dbmaker -dbx -dio -empress -empress-bcs -esoob +exif -fam -fdftk -filepro -flatfile -frontbase +ftp +gd -gd-external +gdbm -gmp -hyperwave-api -iconv +imap -informix -ingres -inifile -interbase -iodbc +jpeg +ldap -libedit -mcve -memlimit -mhash +mime +ming -mnogosearch -msession -msql -mssql +mysql -mysqli +ncurses -nis +nls -oci8 -odbc -oracle7 -ovrimos -pcntl +pcre -pfpro +png +posix -postgres -qdbm +readline -recode -sapdb +sasl -session -shared -shared -sharedmem +simplexml +snmp +soap +sockets -solid +spell -spl -sqlite +ssl -sybase -sybase-ct -sysvipc +tidy -tiff +tokenizer +truetype +wddx +xml2 -xmlrpc -xpm +xsl +zlib 4,462 kB

Total size of downloads: 4,851 kB
Back to top
View user's profile Send private message
Halcy0n
Developer
Developer


Joined: 17 Sep 2003
Posts: 1682
Location: Freehold, NJ

PostPosted: Fri Sep 10, 2004 6:41 am    Post subject: Reply with quote

You'll need to unemerge the blocker, aka, your previous php installation, and then you should be able to emerge it fine.
_________________
Mark Loeser
http://www.halcy0n.com
Back to top
View user's profile Send private message
ian!
Bodhisattva
Bodhisattva


Joined: 25 Feb 2003
Posts: 3829
Location: Essen, Germany

PostPosted: Fri Sep 10, 2004 9:00 am    Post subject: Reply with quote

Common mistake. See: https://forums.gentoo.org/viewtopic.php?t=136184

Thanks HaLCy0n.
_________________
"To have a successful open source project, you need to be at least somewhat successful at getting along with people." -- Daniel Robbins
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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