When I try to emerge phpmyadmin I get the following error:
Code: Select all
Traceback (most recent call last):
File "/usr/sbin/webapp-config", line 27, in <module>
from WebappConfig.config import Config
File "/usr/local/lib/python2.5/site-packages/WebappConfig/config.py", line 29, in <module>
import WebappConfig.server
File "/usr/local/lib/python2.5/site-packages/WebappConfig/server.py", line 25, in <module>
from WebappConfig.worker import WebappRemove, WebappAdd
File "/usr/local/lib/python2.5/site-packages/WebappConfig/worker.py", line 29, in <module>
import WebappConfig.wrapper as wrapper
File "/usr/local/lib/python2.5/site-packages/WebappConfig/wrapper.py", line 36, in <module>
import sys, portage, os, types
ImportError: No module named portage
*
* ERROR: dev-db/phpmyadmin-2.11.9.4 failed.
* Call stack:
* ebuild.sh, line 49: Called pkg_setup
* phpmyadmin-2.11.9.4.ebuild, line 24: Called webapp_pkg_setup
* webapp.eclass, line 378: Called webapp_read_config
* webapp.eclass, line 60: Called die
* The specific snippet of code:
* ENVVAR=$(${WEBAPP_CONFIG} --query ${PN} ${PVR}) || die "Could not read settings from webapp-config!"
* The die message:
* Could not read settings from webapp-config!
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.9.4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-db/phpmyadmin-2.11.9.4/temp/die.env'.
Code: Select all
Traceback (most recent call last):
File "/usr/sbin/webapp-config", line 27, in <module>
from WebappConfig.config import Config
File "/usr/local/lib/python2.5/site-packages/WebappConfig/config.py", line 29, in <module>
import WebappConfig.server
File "/usr/local/lib/python2.5/site-packages/WebappConfig/server.py", line 25, in <module>
from WebappConfig.worker import WebappRemove, WebappAdd
File "/usr/local/lib/python2.5/site-packages/WebappConfig/worker.py", line 29, in <module>
import WebappConfig.wrapper as wrapper
File "/usr/local/lib/python2.5/site-packages/WebappConfig/wrapper.py", line 36, in <module>
import sys, portage, os, types
ImportError: No module named portage
I've tried to reemerge both webapp-config and python and i've run python-updater as well afterwars. it still doesn't work. The only thing I find wierd is that webapp-config is installed in /usr/local/lib/python2.5... but other modules I have are installed in /usr/lib/python2.5... But I can't find why. I tried install webapp-config on one of my other machines and then it was installed directly in /usr/lib
Please help, it seems like my system has become as confused as I am.
This is on my x86 webserver. If you need an emerge --info or something please let me know.


