From: Kevin K. <kev...@ch...> - 2005-05-25 21:43:25
|
> > How are you invoking TiEmu? Are you running it as "bin/tiemu"? If so, > > the > > problem is probably that it tries to complete argv[0] using the > > current path > > at a point where a chdir has already happened. > > I think that's exactly what happens. When I invoke it as "./bin/tiemu" > from /Users/cwalther/tiemu-debug, it tries "/Users/cwalther/bin/tiemu"; > when I do "./tiemu" from /Users/cwalther/tiemu-debug/bin, it tries > "/Users/cwalther/tiemu"... and TiEmu does indeed > "chdir(inst_paths.home_dir);" in init_linux_paths() in > src/misc/paths.c. OK, I'll try to fix that. I guess I'll have to postpone that chdir somehow. > Itcl_Init failed: Can't find a usable itcl.tcl in the following > directories: > /sw/lib/itcl3.2 /Users/cwalther/tiemu-debug/bin/../lib/itcl3.2 > /Users/cwalther/tiemu-debug/bin/../library > /Users/cwalther/tiemu-debug/bin/../../library > /Users/cwalther/tiemu-debug/bin/../../itcl/library > /Users/cwalther/tiemu-debug/bin/../../../itcl/library > This probably means that Itcl/Tcl weren't installed properly. > If you know where the Itcl library directory was installed, > you can set the environment variable ITCL_LIBRARY to point > to the library directory. > ... > > itcl.tcl is in tiemu-debug/share/itcl3.2, not in > tiemu-debug/lib/itcl3.2. Is that a bug in the installation process? Do you have ITCL_LIBRARY set to something? I think it is, because otherwise I don't know what /sw/lib/itcl3.2 would come from. (Note that Tcl also tries to "helpfully" change something like /sw/lib/itcl3.1 to point to the proper version, which would explain why it doesn't find anything in that directory.) If so, please either unset it or set it to the correct path. Kevin Kofler |