Networkmanager-openconnect with --no-xmlpost

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux