From: Sean H. <she...@ug...> - 2004-03-25 14:43:52
|
Greetings all, So, I was trying to get MultiTrans and TableTrans working on my Redhat 9.0 machine. But, I seem to be having some difficulty, particularly with MultiTrans. I went through the README file and did all the tests, and nothing went wrong. The wish interpreter can find all the packages discussed in the README. So, I think I'm good to go there. However, when I try to start it up by entering 'wish MultiTrans.tcl,' I get an error message that looks like the following: Error in startup script: unknown option "-wavefill" while executing "error "unknown option \"$opt\""" ("default" arm line 2) invoked from within "switch -- $opt { -background - -foreground - -troughcolor - -cursorcolor { $wid(wavebar) configure $opt $val } -icons { } ..." (procedure "wsurf::configure" line 10) invoked from within "wsurf::configure .surfer.surf -wavefill #000000" ("eval" body line 1) invoked from within "eval wsurf::$cmd .surfer.surf $args" (procedure ".surfer.surf" line 1) invoked from within "$widget configure -wavefill "#000000"" (file "./agtk/multi.conf" line 31) invoked from within "source $configFile" (procedure "loadConfiguration" line 3) invoked from within "loadConfiguration $w $a(-configuration)" (procedure "wsurf::create" line 161) invoked from within "wsurf::create .surfer.surf -configuration ./agtk/multi.conf -messageProc setMsg -progressProc snack::progressCallback" ("eval" body line 1) invoked from within "eval wsurf::create $w $args" (procedure "wsurf" line 1) invoked from within "wsurf $gv(waveForm) -configuration $gv(WaveSurferConfig) \ -messageProc setMsg -progressProc snack::progressCallback " (file "MultiTrans.tcl" line 1155) Ok, so I'm thinking that something went wrong. I looked in the code and saw that the program has two other package requirements that it must find: agtk and ag-wsurf. I tried the commands 'package require ag-wsurf' and 'package require agtk' in wish and it couldn't find either of them. I even tried different version commands and made a copy of the script without the -exact tags. Nada. Now, there is an agtk directory in the same directory as the MultiTrans.tcl script. Within that agtk directory, is an ag-wsurf.tcl file. Now, I'm not very good with Tcl/Tk, so I'm not really sure if those are the packages that it should be looking for. If they are, any ideas why wish can't find them? Sean Hendricks |