View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0007501 | VTK | (No Category) | public | 2008-08-19 11:20 | 2016-08-12 09:55 | ||||
Reporter | Paul Melis | ||||||||
Assigned To | Kitware Robot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | closed | Resolution | moved | ||||||
Platform | GNU/Linux | OS | Fedora Core 8 | OS Version | |||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0007501: Error installing Python bindings | ||||||||
Description | With the VTK 5.2 branch I get an error during "make install", after an otherwise successful build. The installation of the Python bindings fails, see the build output under "Additional Information". The problem is that the setup.py script seems to try to copy stuff to $CMAKE_INSTALL_PREFIX/lib/python2.5/site-packages, but the python2.5 subdirectory does not even exist at that point, let alone the site-packages one. Creating python2.5/site-packages by hand (AND setting the relevant directory on PYTHONPATH to get through the check) fixes this. (Unrelated to the problem here, but, blegh, why does VTK default to using those stupid eggs...) | ||||||||
Steps To Reproduce | 1. Run ccmake 2. If have set CMAKE_INSTALL_PREFIX to /home/stud/scivis/vtk5.2, and am building in a separate build directory (which is not a subdir of the source dir), and VTK_WRAP_PYTHON to ON, CMAKE_BUILD_TYPE is Release 3. press configure until generation is enabled, then generate makefiles 4. make 5. make install --> error as below | ||||||||
Additional Information | -- Installing /home/stud/scivis/vtk5.2/lib/vtk-5.2/tcl/vtkvolumerendering/vtkvolumerendering.tcl -- Installing /home/stud/scivis/vtk5.2/lib/vtk-5.2/tcl/vtkrendering/vtkrendering.tcl -- Installing /home/stud/scivis/vtk5.2/bin/vtkpython running cd "/home/stud/scivis/vtk-5.2-build/Wrapping/Python" && /usr/bin/python2.5 setup.py install --prefix="/home/stud/scivis/vtk5.2" 2>&1 running install Checking .pth file support in /home/stud/scivis/vtk5.2/lib/python2.5/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/stud/scivis/vtk5.2/lib/python2.5/site-packages/test-easy-install-30864.pth' The installation directory you specified (via --install-dir, --prefix, or the distutils default setting) was: /home/stud/scivis/vtk5.2/lib/python2.5/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). -- Installing /home/stud/scivis/vtk5.2/lib/vtk-5.2/java/vtk/vtk.jar -- Installing /home/stud/scivis/vtk5.2/lib/vtk-5.2/VTKConfig.cmake | ||||||||
Tags | No tags attached. | ||||||||
Project | |||||||||
Type | |||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037010) Kitware Robot (administrator) 2016-08-12 09:55 |
Resolving issue as `moved`. This issue tracker is no longer used. Further discussion of this issue may take place in the current VTK Issues page linked in the banner at the top of this page. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2008-08-19 11:20 | Paul Melis | New Issue | |
2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) |
2016-08-12 09:55 | Kitware Robot | Note Added: 0037010 | |
2016-08-12 09:55 | Kitware Robot | Status | expired => closed |
2016-08-12 09:55 | Kitware Robot | Resolution | open => moved |
2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |