On Tue, Oct 9, 2012 at 1:07 AM, Dean Flory <
deanfl...@gmail.com> wrote:
> I just received this after installing Python 2.7.3:
>
>> # ./configure
>> File "./configure", line 347
>> o['default_configuration'] = 'Debug' if options.debug else 'Release'
>> ^
>> SyntaxError: invalid syntax
>
>
> And I'm guessing it's playing a part in why I can't install the newest
> version of Node.js since I can't get past ./configure (where other
> packages/installs succeeded when ./configure was entered).
You may have installed python 2.7 but you're not using it, otherwise
you wouldn't be getting that error. :-)
Try this:
$ python2.7 configure
$ make PYTHON=python2.7
Replace python2.7 with whatever the binary is really called.