Hi all. I'm installing git latest (1.8.1.12) on a Solaris 10 system
that previously didn't have python.
The GIT documentation requires Asciidoc to build, and Asciidoc
requires Python. I installed Python 3.1.2 from sunfreeware.com,
and softlinked python3 to python.
Running 'asciidoc' then gives the error:
------------------
File "/usr/local/bin/asciidoc", line 101
except KeyError, k: raise AttributeError, k
^
SyntaxError: invalid syntax
------------------
I uninstalled Python3 and added Python2 (the sunfreeware.com Python
packages are both called SMCpython so I can't install both at once),
and
it seems to work. However, I now couldn't use Python 3 if some other
program needed it - unless I build python from source.
I would suggest a nicer error message if it detects that only
Python 3 is installed, with explanation that Python 2 is required.
--
You received this message because you are subscribed to the Google Groups
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.