28 Jul 2011 9:15 AM #1
Ubuntu 10.4 64-bit Errors
I downloaded the Linux Sencha SDK tools and ran through the installer. Threw them in the /opt/ directory and then tried to use them. I got commands not found and figured it was a path issue. Set my path and now I can execute the commands without an issue, but I am left with this:
root@comp:/var/www/helloext# sencha create
/opt/SenchaSDKTools-1.2.2/command/sencha: 3: jsdb: not found
28 Jul 2011 12:14 PM #2
I thought I have the exact same problem, but I wanted to test it before posting and I now see, that jsdb is now running.
Before I could not get jsdb to run, even in standalone mode.
Now I am wondering, what did I change?
Running jsdb from shell aborted with "file could not be found", running "strace jsdb" ended after 3 lines with "command not found".
I'm running 10.10 on my host system and all web development stuff in a virtual LinuxContainer (LXC) with 10.04.
JSDB was running fine on my host system, but not in the virtual server like environment, so I though this is the reason for that and stopped any further debugging.
In the V-server environment I recently installed Googles V8 (and some libs from ubuntu repo to get it working). Maybe this fixed it for me, but I can not say for sure.
All this info will not help you with your problem, I know that
But I still wonder and be very happy that it is working now on my V-Server.
I just remembered that I also installed NodeJS. Maybe the dependencies of NodeJS installed a needed lib to get jsdb to run. Maybe this helps. I'm not an expert in deep linux investigation. So this is just the input I can give, sorry
29 Jul 2011 8:50 AM #3
Getting some movement
I appreciate the response even though it did not provide a clear solution. I went and added some of the same services you had mentioned and seemed to get a little closer. I am not getting the following:
jsdb: error while loading shared libraries: libodbc.so.1: cannot open shared object file: No such file or directory
29 Jul 2011 11:30 AM #4
Oh wow, didn't thought this would help in any way
Try to run JSDB without the ODBC bundling.
Download from the official JSDB site the file and see if it works.
If there is a "js#>" prompt it is working and you can try run jsdb without odbc with the sencha tool.
Backup the original jsdb file and copy the new jsdb to the folder /opt/SenchaSDKTools-1.2.2/ (or where you installed sencha's sdk)
Now the big question: What dependency was the source of the problem
29 Jul 2011 1:21 PM #5
When I tried out the jsdb download from the site I was attempting to use it with the ODBC. It seems that caused me issue because I just tried with the link you provided and got everything to work. Thanks a lot, I really appreciate it.
29 Jul 2011 1:40 PM #6
I'm glad that it works for you.
I cannot use the SDK as far as I tested it, because everything starts with index page or the url to the index page.
My problem is, that before ExtJs is loading, the user has to authenticate with a normal html form and after successfully logged in, an acl controlled redirect to an other page loads the framework. I couln't find a way to pass the login page or I completely have to disable my auth system. Then the "user" eg. the sencha tool, has no rights and no js code is provided to the user, which means the tool cannot do anything (very strict, I know, but never trust a user)
Next week or so, I want to build my own "sdk" tool basicly starting with a js file to inspect and not the index page. Sounds not to much, but I think it's huge.
Nevermind, thats an other problem and has nothing to do with this thread.
Regarding this thread:
@sencha: can you please provide the dependencies to get SDK to run? Is it really NodeJS or some library that comes with NodeJS and Sencha SDK also uses? If so, please put this list next to the download button and add a README file to the download package. Thanks in advance.
3 Aug 2011 7:36 AM #7
Looks like your initial error is just a resource path issue
I had the same initial problem and needed to add
to .bashrc (or .bash_exports depending on how you setup your bashrc file) ((Obviously replace /home/stephen/SnchaSDKTools-1.2.2 with you own install location))
and then the command worked fine, without having to install anything additional. Hope that helps.
Last edited by szabel; 3 Aug 2011 at 7:39 AM. Reason: needed to add jsbuilder to the path as well
3 Aug 2011 9:59 AM #8
shortly I will have time to test this, but I doubt that this will work.
I could not even execute the JSDB file (standalone), of course Sencha SDK failed too. But I will give it a shot
10 Aug 2011 7:01 AM #9
Same problem here... The exports didn't work, the jsdb command fails even when I call it directly.
-bash: ·/jsdb: No such file or directory
16 Aug 2011 5:39 PM #10