View previous topic :: View next topic |
Author |
Message |
Rain91 n00b
Joined: 03 Aug 2004 Posts: 14
|
Posted: Fri Sep 10, 2004 6:19 am Post subject: php-5.0.1 wont emerge - HELP!!! - |
|
|
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 |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Fri Sep 10, 2004 6:26 am Post subject: |
|
|
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 |
|
|
Rain91 n00b
Joined: 03 Aug 2004 Posts: 14
|
Posted: Fri Sep 10, 2004 6:34 am Post subject: still not there |
|
|
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 |
|
|
Halcy0n Developer
Joined: 17 Sep 2003 Posts: 1682 Location: Freehold, NJ
|
Posted: Fri Sep 10, 2004 6:41 am Post subject: |
|
|
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 |
|
|
ian! Bodhisattva
Joined: 25 Feb 2003 Posts: 3829 Location: Essen, Germany
|
Posted: Fri Sep 10, 2004 9:00 am Post subject: |
|
|
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 |
|
|
|
|
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
|
|