[New-bugs-announce] [issue18320] idle, pydoc search python on wrong path at make altinstall with different exec- and prefix e.g. $HOME

cosmicduck report at bugs.python.org
Fri Jun 28 09:28:59 CEST 2013


New submission from cosmicduck:

Using Solaris 10 x86
Compiling actual 3.3.2 or 2.7.5 looks like work.
Installing as non-root with 
make altinstall prefix='${HOME}/scripts/tools/python/python-3.3.2' exec-prefix='${HOME}/scripts/tools/python/python-3.3.2' installs looks like correctly to the target.
Extends LD_LIBRARYPATH and PATH to ${HOME}/scripts/tools/python/python-3.3.2/lib and ${HOME}/scripts/tools/python/python-3.3.2/bin has been done.
Python is started correctly with python3.3.
If I start idle3.3 or pydoc3.3 I get error:

/usr/local/bin/python3.3: bad interpreter: No such file or directory.

So it looks like the she-bang is not correctly set for shell scripts to the path prefix and exec-prefix path.

Correcting that by manually setup to ${HOME}/scripts/tools/python/python-3.3.2/bin fix that problem. But I guess it's better to modify the installation process by make to have not future problems.

----------
components: IDLE
messages: 191977
nosy: cosmicduck
priority: normal
severity: normal
status: open
title: idle, pydoc search python on wrong path at make altinstall with different exec- and prefix e.g. $HOME
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18320>
_______________________________________


More information about the New-bugs-announce mailing list