*** Can't find KnotPlot home, things will not work! ***
*** You might need to specify a KNOTPLOT_HOME environment variable. ***
To make KnotPlot happy, make sure the distribution is there and that you've set the KNOTPLOT_HOME environment variable correctly.
knotplot -nog -debug
The -nog is for no graphics and the -debug will print out diagnostic information. If you don't have the correct kp-thing file installed, you'll get a bunch of strange messages, but it should include something like the following:
Checking licence file `kp-thing' in resource directory.
Looking for `/where/i/put/knotplot/resource/kp-thing'.
![]()
Found `kp-thing' alright, checking contents.
kp-thing: KnotPlot kp-thing file for Dept. of Computer Science, U.B.C
The first line and second lines tell you where it expects to find the kp-thing file. The third line tells you that it found the file where it expected to (you'll get a different error message if the file is missing). The last line indicates the domain that the kp-thing file is good for. If your output looks similar to the one above (i.e. it says kp-thing for U.B.C.), then you still have the original kp-thing file from the distribution in the resource directory. To fix this just copy the version of kp-thing that I emailed to you over the one in the above location and everything should work fine. One way to do this is the following:
more kp-thing
when you're in that directory and the first line should say some place other than the Dept. of Computer Science, U.B.C.
cp kp-thing /where/i/put/knotplot/resource/kp-thing
Of course, you'll have to replace the full path name
with the actual file name that KnotPlot said
it was looking for in the line marked with a
above.
If things still don't work after you've tried this step, then email me the output from running
knotplot -nog -debug
as well as any other information that might be relevant.
chmod -R ugo+rx *
The -R option is to recursively descend the directory tree. The command syntax may be slightly different on non-IRIX machines, check the man page if in doubt.