| View Issue Details [ Jump to Notes ] | [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0006224 | ITK | | public | 2008-01-08 21:17 | 2010-10-21 12:31 |
|
| Reporter | Steve Robbins | |
| Assigned To | | |
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | | |
| Target Version | | Fixed in Version | | |
|
| Summary | 0006224: Installed cswig cannot find support library |
| Description | I'm building a cableswig package for Debian, using CVS sources pulled
from branch ITK-3-4, dated 20080107.
The resulting installed cswig binary cannot find the SWIG_LIB because
SWIG_LIB_INSTALL is unset withn used to create swigconfig.h. Note that since cswig first looks for its support lib in the SOURCE directory, the problem is masked if you keep the sources unpacked on the machine.
|
| Additional Information | Fixed by Brad; see http://www.itk.org/pipermail/insight-users/2009-May/030464.html [^]
|
| Tags | No tags attached. |
|
| Resolution Date | |
| Sprint | |
| Sprint Status | |
|
| Attached Files | 01_SWIG-CMakeLists-SWIG_LIB_INSTALL.diff [^] (1,005 bytes) 2008-01-08 21:17 [Show Content] [Hide Content]diff -u -r cableswig-0.1.0+cvs20080107.orig/SWIG/CMakeLists.txt cableswig-0.1.0+cvs20080107.new/SWIG/CMakeLists.txt
--- cableswig-0.1.0+cvs20080107.orig/SWIG/CMakeLists.txt 2007-01-10 10:31:37.000000000 -0600
+++ cableswig-0.1.0+cvs20080107.new/SWIG/CMakeLists.txt 2008-01-07 22:54:23.000000000 -0600
@@ -25,6 +25,10 @@
SET(SWIG_CXX "\"${CMAKE_CXX_COMPILER}\"")
SET(SWIG_PLATFORM "\"${CMAKE_SYSTEM}-${CMAKE_C_COMPILER}\"")
+# Install support library.
+SET(SWIG_LIB_INSTALL
+ ${CMAKE_INSTALL_PREFIX}/${CableSwig_INSTALL_ROOT}lib/CableSwig/SWIGLib)
+
INCLUDE (${CMAKE_ROOT}/Modules/CheckIncludeFiles.cmake)
INCLUDE (${CMAKE_ROOT}/Modules/CheckLibraryExists.cmake)
@@ -158,7 +162,4 @@
CONFIGURE_FILE(${SWIG_SOURCE_DIR}/SWIGConfig.cmake.in
${SWIG_BINARY_DIR}/SWIGConfig.cmake @ONLY IMMEDIATE)
-# Install support library.
-SET(SWIG_LIB_INSTALL
- ${CMAKE_INSTALL_PREFIX}/${CableSwig_INSTALL_ROOT}lib/CableSwig/SWIGLib)
SUBDIRS(Lib)
Only in cableswig-0.1.0+cvs20080107.new/SWIG: CMakeLists.txt~
|
|