MantisBT - ParaView | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0010685 | ParaView | Bug | public | 2010-05-06 15:49 | 2010-08-30 15:09 |
| Reporter | Eric Monson | ||||
| Assigned To | David Partyka | ||||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | won't fix | ||
| Platform | Mac | OS | OS X | OS Version | |
| Product Version | Development | ||||
| Target Version | Fixed in Version | 3.8.1 | |||
| Project | |||||
| Topic Name | |||||
| Type | |||||
| Summary | 0010685: PV build errors on OS X with VTK_USE_RPATH: OFF | ||||
| Description | Mike Jackson described the problem (http://www.mail-archive.com/paraview@paraview.org/msg07520.html [^]) when trying to build PV on OS X when VTK_USE_RPATH = OFF: Checkout/updated from CVS this afternoon and a fresh configure and compile I get the following error on OS X 10.5.8: [ 23%] Generating vtkSocketCommunicatorHash.h dyld: Library not loaded: libvtksys.pv3.8.dylib Referenced from: /Users/Shared/Kitware-CVS/ParaView3/Build/VTK/Parallel/../../bin/vtkHashSource Reason: image not found /bin/sh: line 1: 19254 Trace/BPT trap ../../bin/vtkHashSource /Users/Shared/Kitware-CVS/ParaView3/VTK/Parallel/vtkSocketCommunicator.cxx vtkSocketCommunicatorHash vtkSocketCommunicatorHash.h make[2]: *** [VTK/Parallel/vtkSocketCommunicatorHash.h] Error 133 make[1]: *** [VTK/Parallel/CMakeFiles/vtkParallel.dir/all] Error 2 make: *** [all] Error 2 The issue is that the libraries do not have a full install_name on them which forces me to remember to "export DYLD_LIBRARY_PATH=`pwd`/bin" from the build folder. Can this be added to the CMake custom command for OS X? I seem to hit this error every time I do a fresh configure. | ||||
| Steps To Reproduce | |||||
| Additional Information | Mike proposed this change to VTK\Parallel\CMakeLists.txt that works for me, too: # Generate "vtkSocketCommunicatorHash.h". if (APPLE AND NOT VTK_USE_RPATH) file(WRITE ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh "#!/bin/sh\n" ) file(APPEND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh "export DYLD_LIBRARY_PATH=${ParaView_BINARY_DIR}/bin\n" ) file(APPEND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh "cd ${ParaView_BINARY_DIR}/bin\n" ) file(APPEND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh "./vtkHashSource ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkSocketCommunicatorHash ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h\n") ADD_CUSTOM_COMMAND( OUTPUT ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h DEPENDS ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkHashSource COMMAND /bin/chmod ugo+rx ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh COMMAND ${ParaView_BINARY_DIR}/bin/vtkHashSource.sh) else() ADD_CUSTOM_COMMAND( OUTPUT ${VTK_BINARY_DIR}/Parallel/vtkSocketCommunicatorHash.h DEPENDS ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkHashSource COMMAND vtkHashSource ${VTK_SOURCE_DIR}/Parallel/vtkSocketCommunicator.cxx vtkSocketCommunicatorHash vtkSocketCommunicatorHash.h ) endif() | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2010-05-06 15:49 | Eric Monson | New Issue | |||
| 2010-05-06 15:53 | David Partyka | Status | backlog => tabled | ||
| 2010-05-06 15:53 | David Partyka | Assigned To | => David Partyka | ||
| 2010-08-05 13:38 | Utkarsh Ayachit | Note Added: 0021667 | |||
| 2010-08-05 13:38 | Utkarsh Ayachit | Status | tabled => @80@ | ||
| 2010-08-05 13:38 | Utkarsh Ayachit | Fixed in Version | => 3.8.1 | ||
| 2010-08-05 13:38 | Utkarsh Ayachit | Resolution | open => won't fix | ||
| 2010-08-30 15:09 | Alan Scott | Note Added: 0022005 | |||
| 2010-08-30 15:09 | Alan Scott | Status | @80@ => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||