Summary: | emerge pyopenssl fails with "illegal installation into /usr/local" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | clayton <craftyguy> |
Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | VERIFIED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
enviroment still not merging |
Description
clayton
2009-09-14 23:44:27 UTC
Created attachment 204142 [details]
build log
Created attachment 204143 [details]
enviroment
You manually (without using package manager) built Python. Created attachment 204150 [details]
still not merging
Actually, I have installed python using emerge, and it still fails..
Post the output of: type -p python type -p python2.6 python -c 'import sys; print(sys.prefix)' /usr/bin/python -c 'import sys; print(sys.prefix)' These indicate that python is installed to /usr/local. I've only used portage to install/update python. There is a python binary in both /usr/bin and /usr/local/bin, and they appear to be hardlinked. crafty_pvr ~ # type -p python /usr/local/bin/python crafty_pvr ~ # type -p python2.6 /usr/local/bin/python2.6 crafty_pvr ~ # python -c 'import sys; print(sys.prefix)' /usr/local crafty_pvr ~ # /usr/bin/python -c 'import sys; print(sys.prefix)' /usr (In reply to comment #6) > crafty_pvr ~ # type -p python > /usr/local/bin/python It means that the first python found in directories included in PATH variable is "/usr/local/bin/python"... > crafty_pvr ~ # python -c 'import sys; print(sys.prefix)' > /usr/local > crafty_pvr ~ # /usr/bin/python -c 'import sys; print(sys.prefix)' > /usr The outputs of /usr/local/bin/python and /usr/bin/python are different, so these binaries aren't hardlinked. You have Python installed in both places. You should remove manually installed Python in /usr/local, so that Portage use Python installed by Portage (in /usr). |