pump points to /usr/lib/pymodules/python2.5/include_server/include_server.py although it is installed in /usr/lib/pymodules/python2.6/include_server/include_server.py

Bug #472201 reported by Nils
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
distcc (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: distcc-pump

1) ubuntu 9.10 Karmic
2) distcc-pump 3.1-2
3) calling pump make results error:
/usr/bin/python: can't open file '/usr/lib/pymodules/python2.5/include_server/include_server.py': [Errno 2] No such file or directory
4) is seems that the include_server.py is installed here:
/usr/lib/pymodules/python2.6/include_server/include_server.py
which is incorrectly written in the /usr/bin/pump script, and can be fixed by hand

Revision history for this message
Jeff Dag (jeff-dagenais) wrote :

a workaround which seems to work is:
 sudo ln -s /usr/lib/pymodules/python2.6 /usr/lib/pymodules/python2.5

It may cause problems elsewhere, I don't know yet.

Revision history for this message
Jeff Dag (jeff-dagenais) wrote :

SORRY! I posted too quickly, the last workaround is a bit too dirty. launchpad admins, feel free to remove this comment and my previous.

Revision history for this message
Jeff Dag (jeff-dagenais) wrote :

 sudo editor /usr/bin/pump
find text "python2.6" and replace with "python2.6"
Works for me.

Revision history for this message
Jeff Dag (jeff-dagenais) wrote :

damnit! find 2.5 -> 2.6... hehe sorry.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.