Christian,

Unfortunately, I can't find a solution to this problem.  We don't have a
Ubuntu system to experiment with, so I can't recreate the problem to
debug it.  We use Linux Centos4.  Have you tried the centos4 freesurfer
distribution?  The rh9 freesurfer distribution is for old Linux systems
(generally).

The only other thing I can suggest is that you build VTK and KWWidgets,
and possibly Tcl/Tk/Tix/BLT, from scratch (or try to get rpm binaries).
You can get the source from here:

ftp://surfer.nmr.mgh.harvard.edu/pub/dist/fs_supportlibs/src

and you'd put your builds/installations linked off the
$FREESURFER_HOME/lib dir.

Nick


On Thu, 2008-03-13 at 01:44 +0100, Christian Scheel wrote:
> Dear FS-Experts,
> 
> I am trying to run Freesurfer on a Ubuntu 7.10 (Gutsy Gibbon) system
> and unfortunately I encounter the same problem that Gonzalo Sanchez
> Benavides and also William McGarry described in earlier emails.
> Copying the new fsgdfPlot.tcl into the $FREESURFER_HOME/lib/tcl
> directory stopped the "FsgdfPlot_IsWindowShowing" error but did not
> save me from getting the other two error messages:
> 
> ERROR:
> In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWApplication.cxx, line 
> 1182
> vtkKWQdecApp (0x8817de0): TclTk error: invalid command name
> "vtkTemp349"
> invalid command name "vtkTemp349"
>     while executing
> "vtkTemp349 FocusInCallback"
>     (command bound to event)
> 
> ERROR:
> In /usr/pubsw/packages/KWWidgets/CVS/src/KWWidgets/vtkKWApplication.cxx, line 
> 1182
> vtkKWQdecApp (0x8817de0): TclTk error: invalid command name
> "vtkTemp347"
> invalid command name "vtkTemp347"
>     while executing
> "vtkTemp347 FinishEditing"
>     (command bound to event)
> 
> 
> Following the advice given in earlier emails I get:
> 
> -------- freesurfer-Linux-rh9-stable-pub-v4.0.2 --------
> Setting up environment for FreeSurfer/FS-FAST (and FSL)
> FREESURFER_HOME   /usr/local/freesurfer
> FSFAST_HOME       /usr/local/freesurfer/fsfast
> FSF_OUTPUT_FORMAT nii
> SUBJECTS_DIR      /home/christian/Promotion/Tutorial/group_analysis_tutorial
> MNI_DIR           /usr/local/freesurfer/mni
> christian-laptop:~/Promotion/Tutorial/group_analysis_tutorial> source
> $FREESURFER_HOME/bin/tcl_setup
> christian-laptop:~/Promotion/Tutorial/group_analysis_tutorial> source
> $FREESURFER_HOME/bin/vtk_setup
> christian-laptop:~/Promotion/Tutorial/group_analysis_tutorial> source
> $FREESURFER_HOME/bin/kww_setup
> christian-laptop:~/Promotion/Tutorial/group_analysis_tutorial> ldd
> $FREESURFER_HOME/bin/qdec.bin
>         linux-gate.so.1 =>  (0xffffe000)
>         libtix8.1.8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtix8.1.8.4.so
> (0xb7f0a000)
>         libtk8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtk8.4.so (0xb7e4a000)
>         libtcl8.4.so
> => /usr/local/freesurfer/lib/tcltktixblt/lib/libtcl8.4.so (0xb7db0000)
>         libGLU.so.1 => /usr/lib/libGLU.so.1 (0xb7d1f000)
>         libGL.so.1 => /usr/lib/libGL.so.1 (0xb7c89000)
>         libX11.so.6 => /usr/lib/libX11.so.6 (0xb7b98000)
>         libXmu.so.6 => /usr/lib/libXmu.so.6 (0xb7b82000)
>         libverdict.so.1.2
> => /usr/local/freesurfer/lib/vtk/lib/libverdict.so.1.2 (0xb7b53000)
>         libvtkGraphics.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkGraphics.so.5.1
> (0xb7535000)
>         libvtkfreetype.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkfreetype.so.5.1
> (0xb74d3000)
>         libvtkmetaio.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkmetaio.so.5.1 (0xb744d000)
>         libvtkpng.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkpng.so.5.1 (0xb742d000)
>         libvtkzlib.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkzlib.so.5.1 (0xb741d000)
>         libvtkImaging.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkImaging.so.5.1 (0xb70ed000)
>         libvtkFiltering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkFiltering.so.5.1
> (0xb6e2e000)
>         libvtkCommon.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkCommon.so.5.1 (0xb6c65000)
>         libvtksys.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtksys.so.5.1 (0xb6c2c000)
>         libvtkexoIIc.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkexoIIc.so.5.1 (0xb6bea000)
>         libvtkNetCDF.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkNetCDF.so.5.1 (0xb6bb6000)
>         libvtkVolumeRendering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkVolumeRendering.so.5.1
> (0xb66b1000)
>         libvtkRendering.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkRendering.so.5.1
> (0xb63d0000)
>         libvtkftgl.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkftgl.so.5.1 (0xb63c5000)
>         libvtkWidgets.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkWidgets.so.5.1 (0xb6255000)
>         libvtkHybrid.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkHybrid.so.5.1 (0xb5faa000)
>         libvtkIO.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkIO.so.5.1 (0xb5b3a000)
>         libvtkDICOMParser.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkDICOMParser.so.5.1
> (0xb5b1b000)
>         libvtkVolumeRenderingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkVolumeRenderingTCL.so.5.1
> (0xb5aec000)
>         libvtkRenderingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkRenderingTCL.so.5.1
> (0xb5a30000)
>         libvtkFilteringTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkFilteringTCL.so.5.1
> (0xb593e000)
>         libvtkWidgetsTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkWidgetsTCL.so.5.1
> (0xb58ca000)
>         libvtkHybridTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkHybridTCL.so.5.1
> (0xb5869000)
>         libvtkGraphicsTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkGraphicsTCL.so.5.1
> (0xb5756000)
>         libvtkImagingTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkImagingTCL.so.5.1
> (0xb56e7000)
>         libvtkIOTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkIOTCL.so.5.1 (0xb5661000)
>         libvtkCommonTCL.so.5.1
> => /usr/local/freesurfer/lib/vtk/lib/libvtkCommonTCL.so.5.1
> (0xb55d4000)
>         libKWWidgets.so
> => /usr/local/freesurfer/lib/KWWidgets/lib/KWWidgets/libKWWidgets.so
> (0xb5097000)
>         libz.so.1 => /usr/lib/libz.so.1 (0xb5082000)
>         libcrypt.so.1 => /lib/tls/i686/cmov/libcrypt.so.1 (0xb5054000)
>         libdl.so.2 => /lib/tls/i686/cmov/libdl.so.2 (0xb504f000)
>         libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0
> (0xb5037000)
>         libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb4f7d000)
>         libm.so.6 => /lib/tls/i686/cmov/libm.so.6 (0xb4f58000)
>         libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb4f4d000)
>         libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb4e03000)
>         libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb4d0f000)
>         libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb4377000)
>         libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1
> (0xb4375000)
>         libXext.so.6 => /usr/lib/libXext.so.6 (0xb4367000)
>         libXau.so.6 => /usr/lib/libXau.so.6 (0xb4364000)
>         libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xb435e000)
>         libXt.so.6 => /usr/lib/libXt.so.6 (0xb430d000)
>         libSM.so.6 => /usr/lib/libSM.so.6 (0xb4305000)
>         libICE.so.6 => /usr/lib/libICE.so.6 (0xb42ed000)
>         libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0xb42cd000)
>         libtiff.so.3 => /usr/lib/libtiff.so.3 (0xb4278000)
>         libexpat.so.0 => /usr/lib/libexpat.so.0 (0xb4258000)
>         /lib/ld-linux.so.2 (0xb7f46000)
> christian-laptop:~/Promotion/Tutorial/group_analysis_tutorial> 
> 
> But still the error messages do not want to disappear...
> Any idea where my mistake might be?
> 
> I am not sure if this is of any relevance but I have added "setenv
> XLIB_SKIP_ARGB_VISUALS 1" to my SetUpFreeSurfer.csh as without it I
> was not able to open Qdec at all.
> 
> Best wishes and thanks a lot in advance,
> Christian
> 
> 
> _______________________________________________
> Freesurfer mailing list
> [email protected]
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to