[vtkusers] vtk 5.4.2 and packaging

Lic. José M. Rodriguez Bacallao jmrbcu at gmail.com
Fri Nov 13 12:12:12 EST 2009


hi folks, I have build vtk v5.4.2 with Qt, Tcl and python support, in
fact it build fine. Problem is when I try to package with cpack I get
this eror:
CPack: Compress package
CPack: Finalize package
CPack: Package /home/jmrbcu/vtk/VTK-build-ubuntu-9.10/VTK-5.4.2-Linux.sh
generated.
CPack: Create package using TGZ
CPack: Install projects
CPack: - Run preinstall target for: VTK
CPack: - Install project: VTK
running cd "/home/jmrbcu/vtk/VTK-build-ubuntu-9.10/Wrapping/Python" &&
/usr/bin/python2.6 setup.py install
--prefix="/home/jmrbcu/vtk/VTK-build-ubuntu-9.10/_CPack_Packages/Linux/TGZ/VTK-5.4.2-Linux"
 2>&1
running install
Checking .pth file support in
/home/jmrbcu/vtk/VTK-build-ubuntu-9.10/_CPack_Packages/Linux/TGZ/VTK-5.4.2-Linux/lib/python2.6/site-packages/
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory:
'/home/jmrbcu/vtk/VTK-build-ubuntu-9.10/_CPack_Packages/Linux/TGZ/VTK-5.4.2-Linux/lib/python2.6/site-packages/test-easy-install-16352.pth'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    /home/jmrbcu/vtk/VTK-build-ubuntu-9.10/_CPack_Packages/Linux/TGZ/VTK-5.4.2-Linux/lib/python2.6/site-packages/

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

CPack: Compress package
CPack: Finalize package
CPack: Package /home/jmrbcu/vtk/VTK-build-ubuntu-9.10/VTK-5.4.2-Linux.tar.gz
generated.


as U can see, vtk tar.gz or .deb  is generated but python wrapping is
not, any suggestions?


-- 
Lic. José M. Rodriguez Bacallao
Centro de Biofisica Medica
-----------------------------------------------------------------
Todos somos muy ignorantes, lo que ocurre es que no todos ignoramos lo mismo.

Recuerda: El arca de Noe fue construida por aficionados, el titanic
por profesionales
-----------------------------------------------------------------



More information about the vtkusers mailing list