| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0009563 | ParaView | Bug | public | 2009-09-17 16:52 | 2011-02-18 20:29 | ||||
| Reporter | Tyson Whitehead | ||||||||
| Assigned To | David Partyka | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 3.6 | ||||||||
| Target Version | Fixed in Version | 3.10 | |||||||
| Summary | 0009563: The CMake file for StreamingParaview doesn't work with DESTDIR under Linux in copying the QT libraries | ||||||||
| Description | Do a "make install" with "DESTDIR" set and you will get many tar "Cannot chdir: No such file or directory" error messages when it tries to copy the various QT libraries over for StreamingParaview. The problem is in the following code in Applications/StreamingParaView/CMakeLists.txt which doesn't take DESTDIR into account IF(NOT Q_WS_MAC) FOREACH(qtlib ${QTLIBLIST}) IF (NOT WIN32) #INSTALL(FILES ${QT_${qtlib}_LIBRARY_RELEASE} DESTINATION ${PV_INSTALL_LIB_DIR}) GET_FILENAME_COMPONENT(QT_LIB_DIR_tmp ${QT_${qtlib}_LIBRARY_RELEASE} PATH) GET_FILENAME_COMPONENT(QT_LIB_NAME_tmp ${QT_${qtlib}_LIBRARY_RELEASE} NAME) FILE(GLOB QT_LIB_LIST RELATIVE ${QT_LIB_DIR_tmp} "${QT_${qtlib}_LIBRARY_RELEASE}*") INSTALL(CODE " MESSAGE(STATUS \"Installing \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR}/${QT_LIB_NAME_tmp}\") EXECUTE_PROCESS (WORKING_DIRECTORY ${QT_LIB_DIR_tmp} COMMAND tar c ${QT_LIB_LIST} COMMAND tar -xC \${CMAKE_INSTALL_PREFIX}/${PV_INSTALL_LIB_DIR}) " COMPONENT Runtime) ELSE (NOT WIN32) GET_FILENAME_COMPONENT(QT_DLL_PATH_tmp ${QT_QMAKE_EXECUTABLE} PATH) INSTALL(FILES ${QT_DLL_PATH_tmp}/${qtlib}4.dll DESTINATION ${PV_INSTALL_BIN_DIR} COMPONENT Runtime) ENDIF (NOT WIN32) ENDFOREACH(qtlib) ENDIF(NOT Q_WS_MAC) Note that the installation is not killed though, so you have to capture the output if you wish to see this error. Actually, I'm not sure I understand why we want a personal copy of these libraries in this case in the first place. Why not just use them as is? | ||||||||
| Tags | No tags attached. | ||||||||
| Project | |||||||||
| Topic Name | |||||||||
| Type | |||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0017597) Tyson Whitehead (reporter) 2009-09-17 17:25 |
I should also note that the same code appears twice is in Applications/Client/CMakeLists.txt as well. |
|
(0025464) David Partyka (developer) 2011-02-17 15:23 |
Streaming is no longer it's own application and is instead a native plugin of ParaView itself. |
|
(0025513) Alan Scott (manager) 2011-02-18 20:29 |
Not tested by closer. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2009-09-17 16:52 | Tyson Whitehead | New Issue | |
| 2009-09-17 17:25 | Tyson Whitehead | Note Added: 0017597 | |
| 2010-11-30 22:23 | David Partyka | Assigned To | => David Partyka |
| 2010-11-30 22:23 | David Partyka | Status | backlog => tabled |
| 2011-02-17 15:23 | David Partyka | Note Added: 0025464 | |
| 2011-02-17 15:23 | David Partyka | Status | tabled => @80@ |
| 2011-02-17 15:23 | David Partyka | Fixed in Version | => 3.10 |
| 2011-02-17 15:23 | David Partyka | Resolution | open => fixed |
| 2011-02-18 20:29 | Alan Scott | Note Added: 0025513 | |
| 2011-02-18 20:29 | Alan Scott | Status | @80@ => closed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |