Page 1 of 1

Link Fails

Posted: Mon Nov 08, 2004 11:15 pm
by Tim Johnson
Command is:
(link "newlisp" "hw" "hw.lsp")
[tim@linus test]$which newlisp
shows newlisp at /usr/bin/newlisp, i.e. newlisp
is in the path.
link.lsp and hw.lsp are in the same directory
Error message is
"list or string expected : (file-info orgEx)"
(file-info "newlisp") from the command line gives
nil
NOTE: this is same whether I am user or root.
Looks like file-info is failing to return anything.

Any ideas?
thanks
tim

Posted: Mon Nov 08, 2004 11:22 pm
by Tim Johnson
Posted too quick, full path was needed. Comments are welcome.
Why doesn't newlisp search $PATH?