I get this error whilst trying to create an alias for q
“rlwrap: error: Cannot execute /m32/q: No such file or directory”.
I have rlwrap version 0.42 and I have successfully installed and launched kdb+, am I missing something else?
I get this error whilst trying to create an alias for q
“rlwrap: error: Cannot execute /m32/q: No such file or directory”.
I have rlwrap version 0.42 and I have successfully installed and launched kdb+, am I missing something else?
how did you define your alias? e.g. what does
$alias q
return at the bash prompt?
you probably want something like
$alias q=“rlwrap $HOME/q/m32/q”
or if q is already in your PATH, then
$alias q=“rlwrap q”
Thank you, this worked.
I was defining the alias as instructed here: http://code.kx.com/wiki/Tutorials/Installation?\_ga=1.133746894.177541208.1473344892 which was
alias q=‘QHOME=~/q rlwrap -r $QHOME/m32/q’
Have not been able to replicate this problem on a Mac, but have amended the alias instruction on the wiki to
alias q='QHOME=~/q rlwrap -r ~/q/m32/q'
Can you tell us which version of Bash you have?
I’m running GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin15).