Networkmanager-openconnect with --no-xmlpost
Mike Miller
mtmiller at ieee.org
Mon Feb 17 14:18:26 EST 2014
On Mon, Feb 17, 2014 at 20:04:17 +0100, Darius Berghe wrote:
> But building openconnect after I configured it without flags returns
> this; it seems like a python related thing (one of the flags pointed to
> Python 2.7):
>
> make[2]: Entering directory '/home/darius/Birou/web/openconnect-5.02/www'
> /usr/bin/python "./html.py" -d . csd.xml > csd.html || (rm csd.html; exit 1)
> File "./html.py", line 32
> print "USAGE:"
> ^
> SyntaxError: invalid syntax
> Makefile:711: recipe for target 'csd.html' failed
> make[2]: *** [csd.html] Error 1
>
> Anyway, it could be some Arch related thing, that's why whoever made the
> PKGBUILD put it in there probably. So yes, maybe you need not put
> instructions after all.
This is most likely because Arch has jumped the gun and made
/usr/bin/python be python3, while most other distros have not. The
html.py script apparently doesn't like python3. I suppose configure
could prefer python2 to python if it exists in PATH...
--
mike
More information about the openconnect-devel
mailing list