superbuild install scripts are incompatible with python3
Hi,
it appears that a few of the superbuild scripts do not work with python 3 due to wrong print syntax:
e.g.:
CMake Error at cmake_install.cmake:60 (message):
Failed to install pvdataserver:
File "[...]/paraview-superbuild/superbuild/cmake/scripts/fixup_bundle.unix.py", line 346
print 'Creating symlink to %s/%s ==> %s' % (libdir, library.name, symlink)
^
SyntaxError: invalid syntax
gmake[1]: *** [install] Error 1
2to3 does not fix everything, I had to add .decode() a few times as well. My diff is here: python3_bugfix.diff
I am not sure if this is backwards compatible with python2. Also I think this does not cover all cases that need a .decode().
Regards, Simon
Edited by Simon Michalke