Hello, Just trying to get an SVN checkout of calendarserver to run. I tried: ./run -s But it said it couldn't find python. /usr/local/bin/python ./run -s gave: File "./run", line 24 wd="$(cd "$(dirname "$0")" && pwd)"; ^ SyntaxError: invalid syntax And updating to python 2.4 gave me the same error. I couldn't see anything about this in the mailing list archives, and IRC seems sleepy right now. Any ideas? Also, am I perhaps better off waiting for leopard, or is it just too far away right now... Cheers, David -- David Plans Casal Digital Technologist School of Arts Brunel University e : david dot plans at brunel.ac.uk t : +44 1895 266 475 m : +44 7803 173 959
Running this on OS X? Is Python within your path? What happens when you do a: which python How about: python -V On Feb 7, 2007, at 12:00 PM, David Plans Casal wrote:
Hello,
Just trying to get an SVN checkout of calendarserver to run.
I tried:
./run -s
But it said it couldn't find python. /usr/local/bin/python ./run -s gave:
File "./run", line 24 wd="$(cd "$(dirname "$0")" && pwd)"; ^ SyntaxError: invalid syntax
And updating to python 2.4 gave me the same error.
I couldn't see anything about this in the mailing list archives, and IRC seems sleepy right now.
Any ideas? Also, am I perhaps better off waiting for leopard, or is it just too far away right now...
Cheers,
David
-- David Plans Casal Digital Technologist School of Arts Brunel University
e : david dot plans at brunel.ac.uk t : +44 1895 266 475 m : +44 7803 173 959
_______________________________________________ calendarserver-users mailing list calendarserver-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/calendarserver-users
----------- Joe Auty NetMusician: web publishing software for musicians http://www.netmusician.org joe@netmusician.org
Hiya On 7 Feb 2007, at 17:01, Joe Auty wrote:
Running this on OS X?
yes
Is Python within your path? What happens when you do a:
yup python's on /usr/local/bin/python (2.4) and /usr/local/bin (2.3.5)
which python
/usr/bin/python
How about:
python -V
2.3.5 d -- David Plans Casal Digital Technologist School of Arts Brunel University e : david dot plans at brunel.ac.uk t : +44 1895 266 475 m : +44 7803 173 959
Hi David, --On February 7, 2007 5:00:06 PM +0000 David Plans Casal <david.plans@brunel.ac.uk> wrote:
Just trying to get an SVN checkout of calendarserver to run.
I tried:
./run -s
But it said it couldn't find python. /usr/local/bin/python ./run -s gave:
File "./run", line 24 wd="$(cd "$(dirname "$0")" && pwd)"; ^ SyntaxError: invalid syntax
./run is a shell script not a python script so your second attempt would never work. Try: export PYTHON=/usr/local/bin/python then do ./run -s. -- Cyrus Daboo
participants (3)
-
Cyrus Daboo
-
David Plans Casal
-
Joe Auty