This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using system tcl/tk version 8.5


Keith Seitz wrote, On 03/31/2010 01:37 AM:
On 03/19/2010 10:33 PM, Gene Smith wrote:
Well, it runs and I can almost debug. (I renamed them to 8.4 to get it
to link then changed the names back to 8.5 to run insight.)

This sounds like something very unexpected happened. The build must have found the wrong versions of the libraries.

I just tried with the real system and openocd server. It runs but is
weird. Sometimes won't step. Keyboard doesn't work in dialogs. Radio
buttons are all highlighted and can't select things. Some strange icons
buttons (a movie camera?). Fonts don't look good.

This is *very* odd. I've never seen this. Could you try starting up with "-nx" to suppress reading the preferences file. Does that get you any further? [I don't think this patch is entirely correct, BTW, but probably close.]

Can you tell me the entire build procedure you used?

Didn't get much time but tried it again this weekend with latest CVS HEAD. Seems like quite a bit has changed, not sure. Anyhow, when I configure like this in my usual way:


../insight_sources/configure -v --quiet --prefix=$PREFIX \
   --target=$TARGET --enable-interwork --enable-multilib \
   --with-gnu-ld --with-gnu-as --with-tcl=/usr/lib64 \
   --with-tk=/usr/lib64 \
   --disable-werror --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu

I get errors when configuring itcl:

mkdir -p -- ./itcl
Configuring in ./itcl
config.status: WARNING: ../../../insight_sources/itcl/itcl/Makefile.in seems to ignore the --datarootdir setting
configure: WARNING: Found Makefile - using build library specs for itcl
config.status: WARNING: ../../../insight_sources/itcl/itk/Makefile.in seems to ignore the --datarootdir setting
configure: error: Can't find Itcl source. Use --with-itcl to specify the the toplevel incr Tcl directory on your system. (This directory should contain itcl/library/itcl.tcl, itk/library/itk.tcl, and config/mkinstalldirs.)
configure: error: ../../../insight_sources/itcl/iwidgets/configure failed for iwidgets
make[1]: *** [configure-itcl] Error 1
make[1]: Leaving directory `/home/gene/addons/insight-cvs/insight_build'
make: *** [all] Error 2


Tried to add --with-itcl=/usr/lib64 and --with-itk=/usr/lib64 with the same result.

Any idea what this could be? Have all the tcl/tk/itcl/itk runtime and dev packages installed. Also, everything for iwidgets intalled. This step worked with the previous HEAD version that I got a couple weeks ago. Do I need source code for itcl?

<snip for now (until configure error resolved)>

-gene


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]