Arjen Markus wrote:
>>> There is some effort by the Fedora maintainer to get it working:
>>> https://bugzilla.redhat.com/show_bug.cgi?id=428083
>>>
>> I have heard that two members of the Tcl Core Team are working
>> on this issue as well. I will keep you posted about progress.
>>
> 
> Orion,
> 
> can you get Itcl/Itk from the CVS HEAD and try that against PLplot?
> According to Miguel Sofer, that version of Itcl/Itk is compatible
> with Tcl 8.5, so that should solve the problem.
> 
> Regards,
> 
> Arjen

The latest version of itcl/itk in Fedora development shows up as version 
3.4, so the following patch is needed:

Index: tcl-related.cmake
===================================================================
--- tcl-related.cmake   (revision 8135)
+++ tcl-related.cmake   (working copy)
@@ -94,7 +94,7 @@
          message(STATUS "Looking for itcl.h - found")
          message(STATUS "Looking for itcl library")
         get_filename_component(TCL_LIBRARY_PATH ${TCL_LIBRARY} PATH)
-        set(itcl_library_versions 3.3 3.2 3.1 3.0 2.1 2.0)
+        set(itcl_library_versions 3.4 3.3 3.2 3.1 3.0 2.1 2.0)
          foreach(version ${itcl_library_versions})
            find_library(ITCL_LIBRARY itcl${version} PATHS 
${TCL_LIBRARY_PATH}
                         PATH_SUFFIXES itcl${version})
@@ -155,7 +155,7 @@
        if(ITK_INCLUDE_PATH)
          message(STATUS "Looking for itk.h - found")
          message(STATUS "Looking for itk library")
-        set(itk_library_versions 3.3 3.2 3.1 3.0 2.1 2.0)
+        set(itk_library_versions 3.4 3.3 3.2 3.1 3.0 2.1 2.0)
          foreach(version ${itk_library_versions})
            find_library(ITK_LIBRARY itk${version} ${TK_LIBRARY}
                         PATH_SUFFIXES itk${version})


Note that I have to define ITCL_LIBRARY to /usr/lib/tcl8.5/libitcl3.4 
when I run the test as part of the rpm build process.  Not sure if this 
can be fixed somehow.

With the above, everything runs fine.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [EMAIL PROTECTED]
Boulder, CO 80301              http://www.cora.nwra.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to