Well any python code fails to work as expected: try: sage-python -c "import sys" File "<string>", line 1 import ^ SyntaxError: invalid syntax
... -c "print;print" # will print two line feeds however this came up when trying to configure boost for sage, wherein configure has: $PYTHON -c "import sys; print (\"%d.%d\" % (sys.version_info[0], sys.version_info[1]))"` On Aug 28, 10:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 1:19 PM, Simon Beaumont <[EMAIL PROTECTED]> wrote: > > > got a rather weird one - os x 10.5.2 sage 3.1.1 (binary build) I am > > trying to build boost (python) for this version on os x - so I can get > > pycuda going against the OS X 2.0 cuda. > > > well the python (python-sage) seems not to handle the -c "command" > > like regular python that is "import" fails with a syntax error and > > print 'foo' doesn't... > > > Any ideas? > > For clarification can you post an actual log of what you input and what > happens? > > William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---