[Pkg-scicomp-devel] paraview/trunk/debian
Ondrej Certik
ondrej at certik.cz
Fri Feb 22 01:46:15 UTC 2008
On Fri, Feb 22, 2008 at 2:00 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> On Fri, Feb 22, 2008 at 1:52 AM, Ondrej Certik <ondrej at certik.cz> wrote:
> > SVN commit 2184 by certik-guest:
> >
> > Huge improvement in python scripting committed. Use it like this:
> >
> > $ LD_LIBRARY_PATH=/usr/lib/paraview PYTHONPATH=/usr/lib/paraview python2.5
>
> To fix PYTHONPATH, the python specific .so files should be moved from
> /usr/lib/paraview into /usr/lib/python2.5/site-packages/
> I think it's as simple as that.
>
> To fix LD_LIBRARY_PATH, I think we could use rpath to hardwire the path.
Actually, the fix is easier than I thought, just using these commands
fixes the issue:
$ sudo ln -s /usr/lib/paraview/libvtkPVServerCommonPython.so
/usr/lib/python2.5/site-packages/paraview/
$ sudo ln -s /usr/lib/paraview/libvtkCommonPython.so
/usr/lib/python2.5/site-packages/paraview/
$ sudo ln -s /usr/lib/paraview/libvtkPVServerManagerPython.so
/usr/lib/python2.5/site-packages/paraview/
Now even the python shell in paraview works like a charm. Excellent.
The remaining issues with paraview are rather minor.
Ondrej
More information about the Pkg-scicomp-devel
mailing list