471,348 Members | 1,543 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,348 software developers and data experts.

Bug with make altinstall ?

I've made a local installation of Python2.5 with the following
instruction :

export BASE=/usr/local/python251

cd Python.2.5.1
../configure --prefix=${BASE}/\
LDFLAGS="-L\${BASE}/lib/"\
PPFLAGS="-I\${BASE}/include/"\

make
make test
make altinstall

It works fine on Linux except this little inconsistency :
---------------------
% /usr/local/python251/bin/idle
zsh: ./idle: bad interpreter: /usr/local/python25/bin/python: aucun
fich ier ou répertoire de ce type
zsh: exit 127 ./idle
--------------------

Indeed, the make altinstall instruction does not make the link from
python2.5 to python, but idle contains the following code :
---------------------
% more idle
#!/usr/local/python251/bin/python

from idlelib.PyShell import main
if __name__ == '__main__':
main()
---------------------

Shouldn't the shebang be replaced with #!/usr/local/python251/bin/
python2.5 ?
This pb doesn't appear with pydoc and pycolor, so it smells like a
bug to me

Bests,

--
BL

Jul 16 '07 #1
0 923

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Robert Blaha | last post: by
2 posts views Thread by Glenn | last post: by
9 posts views Thread by Joel Rodrigues | last post: by
28 posts views Thread by Steven Bethard | last post: by
7 posts views Thread by Steven Bethard | last post: by
10 posts views Thread by Johs | last post: by
4 posts views Thread by jalqadir | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.