Getting the trial to work on linux

I’ve been working with q on my windows 7 partition for a while now, and everything is fine.

But recently I install linux mint for development and I can’t get q to work.

I’ve placed the folder in the root (home/adnan/) and after changing into /q/l32, running q in the terminal doesn’t work.

./q gives “bash: ./: Is a directory”

and

open q gives “Couldn’t get a file descriptor referring to the console”

any help would be greatly appreciated

if you have a space between “./” and “q”, you get:

~/q/l32$ ./ q

bash: ./: Is a directory

On Saturday, August 24, 2013 10:46:08 AM UTC+1, effbiae wrote:

if you have a space between “./” and “q”, you get:

~/q/l32$ ./ q

bash: ./: Is a directory

On 24 August 2013 09:55, <adnan…@gmail.com> wrote:

I’ve been working with q on my windows 7 partition for a while now, and everything is fine.

But recently I install linux mint for development and I can’t get q to work.

I’ve placed the folder in the root (home/adnan/) and after changing into /q/l32, running q in the terminal doesn’t work.

./q gives “bash: ./: Is a directory”

and

open q gives “Couldn’t get a file descriptor referring to the console”

any help would be greatly appreciated


Submitted via Google Groups

yeah you’re right sorry,

I meant bash: ./q: no such file or directory

EDIT: I meant to say the bash error gives “:/q: is not a directory”

EDIT:? I meant to say the bash error gives ":/q: is not

You are using a colon " : "

You should be using a dot " . "

Try ? ?./q

ahh no I did use dot, sorry the error was this:

“bash: ./q: No such file or directory”

Are you still getting the error?

Note:

tom@xps ~/q/l32 $ ls

q

tom@xps ~/q/l32 $ ./q

KDB+ 3.1 2013.08.19 Copyright (C) 1993-2013 Kx Systems

l32/ 2()core 2017MB tom xps 127.0.0.1 PLAY 2013.11.17?

q)

Do you get the response of

q

when you key in the command ? ? ? ls ? ? ? ??

chmod 755 ?

Not clear whether adnan is still getting the error.

yes, sorry again. I am. I’m typing ./q at the command line and nothing is happening.

yeah when I type ls at the l32 directory it lists “q” only.
and then when I type ./q it gives the bash error

On 25 August 2013 07:34, <adnan.gazi01> wrote:> yeah when I type ls at the l32 directory it lists “q” only.> and then when I type ./q it gives the bash errorwhat error?it’s as easy as this:jack@uv:~$ unzip linux.zipArchive: linux.zip inflating: q/README.txt inflating: q/l32/q inflating: q/q.k inflating: q/s.k inflating: q/trade.q inflating: q/sp.qjack@uv:~$ cd q/l32jack@uv:~/q/l32$ ./qKDB+ 3.1 2013.08.19 Copyright (C) 1993-2013 Kx Systemsl32/ 2()core 1763MB jack uv 127.0.1.1 PLAY 2013.11.17q)</adnan.gazi01>

i opened the zip file with archive manager an extracted it to ~/, the bash error I’m talking about is the one i mentioned above:

“bash: ./q: No such file or directory”

here’s a screenshot of my terminal http://i.imgur.com/g12fjbj.png

Can you run the following, telling us what the output looks like:

find ~/q |xargs ls -l

You may need to install ia32-libs. Try:

sudo apt-get install ia32-libs

Chris

adnan@adnan-SAT ~ $ find ~/q |xargs ls -l
-rwxr-xr-x 1 adnan adnan 542819 Aug 20 12:10 /home/adnan/q/l32/q
-rw-r–r-- 1 adnan adnan  18443 Aug 20 12:10 /home/adnan/q/q.k
-rw-r–r-- 1 adnan adnan   2911 Jun  9 12:36 /home/adnan/q/README.txt
-rw-r–r-- 1 adnan adnan   4247 Jun  9 12:36 /home/adnan/q/s.k
-rw-r–r-- 1 adnan adnan    821 Jun  9 12:36 /home/adnan/q/sp.q
-rw-r–r-- 1 adnan adnan    150 Jun  9 12:36 /home/adnan/q/trade.q

/home/adnan/q:
total 44
drwxr-xr-x 2 adnan adnan  4096 Aug 25 12:21 l32
-rw-r–r-- 1 adnan adnan 18443 Aug 20 12:10 q.k
-rw-r–r-- 1 adnan adnan  2911 Jun  9 12:36 README.txt
-rw-r–r-- 1 adnan adnan  4247 Jun  9 12:36 s.k
-rw-r–r-- 1 adnan adnan   821 Jun  9 12:36 sp.q
-rw-r–r-- 1 adnan adnan   150 Jun  9 12:36 trade.q

/home/adnan/q/l32:
total 532
-rwxr-xr-x 1 adnan adnan 542819 Aug 20 12:10 q

ahhh thanks a lot, its working now!
only issue is that it doesn’t keep a history, so when i press the up and down arrows it enters ^[[A and ^[[B respectively, instead of the last commands i entered. Any solutions for that?

Please see the README.txt included with the trial for this and other information on using the system.

Chris