Re: [sage-devel] Re: Bug: Python scripts try to run before Python is built.

2010-09-23 Thread David Kirkby
On 23 September 2010 17:55, John H Palmieri wrote: > The script searches the files in the current directory, checking > whether the first line contains "python" and "#!".  If so, it replaces > that line with "#!/usr/bin/env python".  So if the package has > installed a python script, this makes su

[sage-devel] Re: Bug: Python scripts try to run before Python is built.

2010-09-23 Thread John H Palmieri
The script searches the files in the current directory, checking whether the first line contains "python" and "#!". If so, it replaces that line with "#!/usr/bin/env python". So if the package has installed a python script, this makes sure it calls Sage's python. I suppose it is possible that a

Re: [sage-devel] Re: Bug: Python scripts try to run before Python is built.

2010-09-23 Thread Dr. David Kirkby
On 09/23/10 04:29 PM, John H Palmieri wrote: Notice two of the last last 3 lines above say Making Sage/Python scripts relocatable... python: No such file or directory This is from the script sage-spkg: echo "Making Sage/Python scripts relocatable..." cd "$SAGE_LOCAL"/bin ./sage-mak

Re: [sage-devel] Re: Bug: Python scripts try to run before Python is built.

2010-09-23 Thread Dr. David Kirkby
On 09/23/10 04:29 PM, John H Palmieri wrote: On Sep 23, 8:14 am, "Dr. David Kirkby" wrote: Readline is a package which has no dependences other than BASE (see $SAGE_ROOT/spkg/standard/deps). So it can be built very early - before Python. This is part of the log from a successful installation

[sage-devel] Re: Bug: Python scripts try to run before Python is built.

2010-09-23 Thread John H Palmieri
On Sep 23, 8:14 am, "Dr. David Kirkby" wrote: > Readline is a package which has no dependences other than BASE (see > $SAGE_ROOT/spkg/standard/deps). So it can be built very early - before Python. > > This is part of the log from a successful installation of readline. > > ===