Date: Mon, 26 Jul 2010 14:42:20 +0400 From: Anonymous <swell.k@gmail.com> To: David Southwell <david@vizion2000.net> Cc: avilla@freebsd.org, freebsd-ports@freebsd.org Subject: Re: graphics/opencv build fails on upgrade Message-ID: <86pqya34oj.fsf@gmail.com> References: <201007261057.20370.david@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
David Southwell <david@vizion2000.net> writes: > [ 72%] Building CXX object src/highgui/CMakeFiles/highgui.dir/grfmt_imageio.o > [ 72%] Building CXX object src/highgui/CMakeFiles/highgui.dir/grfmt_pxm.o > Linking CXX shared library ../../lib/libhighgui.so > [ 73%] Built target highgui > [ 73%] Generating generated0.i > File > "/usr/ports/graphics/opencv/work/OpenCV-2.0.0/interfaces/python/gen.py", line > 167 > print "Tuple with kwargs is not allowed, function", name > ^ > SyntaxError: invalid syntax Looks like a typical error when code intended for python2.x is run on python3.x. It's easy to fix, just enclose `print' arguments in braces.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86pqya34oj.fsf>