Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - vtk-py3-qt4

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: vtk-py3-qt4 7.0.0-2

Git Clone URL: https://aur-dev.archlinux.org/vtk-py3-qt4.git (read-only)
Package Base: vtk-py3-qt4
Description: A software system for 3D computer graphics, image processing, and visualization, build with python3 and qt4 bindings
Upstream URL: http://www.vtk.org/
Keywords: vtk
Licenses: BSD
Submitter: technic93
Maintainer: technic93
Last Packager: technic93
Votes: 3
Popularity: 0.483118
First Submitted: 2016-09-05 11:52
Last Updated: 2016-12-28 18:30

Dependencies (39)

Required by (1)

Sources (9)

Latest Comments

1 2 Next › Last »

nuteater commented on 2017-01-26 14:05

I only need this package to run mayavi-py3 and I had a hunch that those gigabytes of database libraries and MPI and java and whatnot are not really necessary for this purpose. I experimented a bit and made a fork of this package that only builds those VTK modules that are explicitly referenced from the mayavi source. I was able to cut down the dependencies to just python, qt4 and jsoncpp, and the package itself is also much smaller. It still takes forever to compile, but the original package took two forevers. I haven't done extensive testing but for my purposes mayavi works fine with this stripped-down version of VTK.

The fork is available here: https://gitlab.com/luukko/vtk-mayavi-minimal
If there is general interest and the package seems to work for others I'll upload it to AUR.

nuteater commented on 2017-01-10 08:54

After installing vtk-py3-qt4 and removing the build dependencies I had to install unixodbc, jsoncpp, gdal and openmpi again to resolve linking errors when using a simple mayavi script. These packages should probably go to depends instead of makedepends. Or maybe they could be somehow made optional in the build phase.

technic93 commented on 2017-01-10 08:14

Yup, that is weird.

nuteater commented on 2017-01-10 07:41

Installing qt5-webkit (and its dependencies) took care of the error. Odd that cmake couldn't produce a meaningful error message, but instead complained about a macro defined in a file already provided by qt5-base. Thanks for helping in clearing this out!

technic93 commented on 2017-01-09 21:51

On my up to date arch system compilation succeeds.

technic93 commented on 2017-01-09 19:20

do you have /lib/cmake/Qt5Core/Qt5CoreConfig.cmake provided by qt5-base?

in Examples/GUI/Qt/CMakeLists.txt it looks for qt5-webkit
You can try installing qt5-webkit or disable examples in PKGBUILD.

anntzer commented on 2017-01-08 05:59

SRCINFO has a pkgrel out of date.

nuteater commented on 2017-01-05 10:37

Thanks for helping out! The problem still persists even with the added qtwebkit dependency. The error message is quite cryptic, because it refers to a command that is defined in a file provided by qt5-base, which I have installed. Could this issue be caused by some recent change in qt or cmake? Have you tried compiling this package recently?

Here are the relevant build logs:

The logs provided by cmake don't seem to be very helpful though...

technic93 commented on 2016-12-28 18:37

You might need qtwebkit dependency, that I've added to makedepends just now.
You can use my built pkg as another option:

Please provide more info (full configure log), because I think libs installed in the system causes your error.

technic93 commented on 2016-12-19 08:43

I will check it soon.