Bug with make altinstall ?

bravo.loic at gmail.com bravo.loic at gmail.com
Mon Jul 16 21:03:03 CEST 2007


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




More information about the Python-list mailing list