Dear everyone,
When trying to install fenics from the ppa (running Kubuntu 14.04), I am getting an error for unmet dependencies: it seems to require vtk5, but I need vtk6 for other applications. Is there a build available that will work with vtk6? Is there a way to force the installation? Do I have to build fenics from source? Thanks for helping.
Martin
EDIT: For now I simply downloaded all fenics packages from the ppa using sudo apt-get download libdolfin-dev python-dolfin dolfin-doc dolfin-bin libmshr-dev python-mshr mshr-demos
, then I installed them using sudo dpkg -i *.deb
, then in /var/lib/dpkg/status
I changed the dependencies from libvtk5-dev
to libvtk6-dev
, then I finished the installation with sudo apt-get -f install
. I had to make some sym links using for i in /usr/lib/libvtk*.so.5.8; do sudo ln -s $i ${i/.5.8/}; done
and sudo ln -s /usr/lib/libQVTK.so.5.8 /usr/lib/libQVTK.so
. I don't think it's really recommended to do that, but for now it seems to work fine.
EDIT: This workaround has some issue (see http://fenicsproject.org/qa/9320/import-both-vtk-and-dolfin), so the best is definitely to build a custom fenics.