![]() |
problem with missing toolchains
Hi;
I'm a noob when it come to maemo and scratchbox. Having a problem with missing toolchains after installing the new scratchbox for Diablo. I'm using the Xubunto VM maemo-sdk-0.6. The scratchbox installs OK, but when I try to install the SDK using the shell script, it complains about missing toolchains: Quote:
I read more about scratchbox here: http://scratchbox.org/documentation/...nstalldoc.html There is a walk-through of the process for creating a new target. In that walk-through, after step 4, it says: "We use "MYTARGET" as the target name in this example. Next, the setup will ask which toolchain should be used to compile programs" If I try those steps, it never prompts me to select a toolchain, but instead goes to the next screens for selecting devkits. So, I'm baffled about how to get the toolchains installed. Any suggestions most welcome. Thanks, Steve |
Re: problem with missing toolchains
Not sure - did you follow the "install" directions specifically for the maemo sdk? I just use the SDK vmware image so I don't have to mess with installing scratchbox :D
|
Re: problem with missing toolchains
These were my steps (from the install.txt):
http://tablets-dev.nokia.com/4.1/INSTALL.txt download http://repository.maemo.org/stable/d...install_4.1.sh Run: sudo chmod a+x ./maemo-scratchbox-install_4.1.sh sudo ./maemo-scratchbox-install_4.1.sh Note you will need to specify users - this paragraph from install is a bit vague but describes it. See the scratchbox documentation. You will need to logout (I would suggest logging out of X) and login again for it to work after doing this. You may be able to do this after installling the rootstraps Quote:
http://repository.maemo.org/stable/d...install_4.1.sh (this installs the rootstrap toolchains) Run: (you need the -y if you've already run this) sh maemo-sdk-install_4.1.sh -y In the above cases, tell it to install everything including any nokia binary-only packages and all the debug stuff. "Runtime Environment + All Dev and Dbg Packages." |
Re: problem with missing toolchains
Well, things are not any better. tz1, thanks for the tip about scratchbox users, but my attempt to apply that just hosed my vm. Mega, I'm going through all this because the vm is not equipped with the Diablo versions of scratchbox and SDK.
Here are the details of what I am doing - clearly I am thrashing around in the dark: * Download the VM, extract, run it in either VMware workstation 6.x or VMware Player * Bring up these links, follow instructions: http://maemo.org/development/sdks/maemo-4-1-diablo-sdk/ http://tablets-dev.nokia.com/4.1/INSTALL.txt From INSTALL.txt: Quote:
tz1, you are correct that the part about adding users in vague! These instructions from the INSTALL.txt are very confusing: Specify users to be added to scratchbox users with '-u USER' option. What command is used to specify '-u USER' ? Do they mean to feed that to the maemo-scratchbox-install_4.1.sh ??!? If so, I wish they had put that up higher in the instructions! I looked at the script, and the Options section says that -u will accept a comma-separated list of users. But, now that scratchbox has already been installed, I can't just run it again with -u maemo', so I delete /scratchbox and start again, this time with the 'u maemo option <grrrrr> But, now the script fails, with: Quote:
so, I run Quote:
It removes a bunch of stuff - but things are just getting worse. I'm presented with windows asking me to pick dictionaries to remove, and lots of frightening stuff scrolls by. When it is all over, and I try the scratchbox script again, it will not run at all - page afer page of alarming errors such as: Quote:
I'm going to re-install the downloaded VM and try again. <sigh> Steve |
Re: problem with missing toolchains
stevecrye: I am running the VMWare image and using chinook and diablo SDKs in scratchbox. Here is what I did:
First, upgraded xubuntu to Hardy (just a personal choice, but it did present a small issue that is solved later on, read the following link). I also got rid of the 'user' user and added my own (again, just a personal choice). Second, followed these instructions to install the diablo sdk: http://linuxuk.org/node/38. I used the scratchbox install that came with the VMWare image (although I think I updated the debs when upgrading to hardy). Now I have my personal user as the Xubuntu user, and I added that user as the scratchbox user as well (that is covered in the article linked). I can develop for chinook and diablo quite easily. I did have to recompile open-vm-tools (http://open-vm-tools.sourceforge.net/)for the newer hardy kernel before things like network, clipboard, and auto-resizing would work. Hope this helps! |
Re: problem with missing toolchains
Man, I must be missing something obvious that perhaps is not in the instructions or will not work in this VM - something that everyone assumes a developer will know to do but I don't because I'm such a noob. I sense I am very close to getting it to work - the problem will turn out to be something trivial.
I'm working with the scripts and instructions found here: http://repository.maemo.org/stable/diablo/ I'm trying yet again from yet again a fresh download of the VM... this will be my 5th attempt in 3 days. Questions and results of latest attempt: * Can't I just use user 'maemo' as both the scratchbox user and the default user of the Xubunto vm? Must I create a new user? I'm not going to use this VM for anything else, and I want to keeps things as simple as possible. * Did you have to delete /scratchbox before running Quote:
Because if I don't, I get this error: Quote:
Quote:
Quote:
Quote:
So, I try the slightly different instructions provided by your link: Quote:
Well, lets see if the SDK will install: Quote:
Quote:
Quote:
Quote:
It never takes me to the screens that are listed in section 3.3.4 of http://maemo.org/maemo_release_docum...1.x/node4.html I'm not certain if this is a clue, because it happens in the unmodified VM also: Quote:
Steve |
Re: problem with missing toolchains
News Flash! Victory! I knew it would be something silly.
I started over with the fresh VM. This time, instead of deleting the exisiting /scratchbox, I instead stopped the scratchbox service, and then installed to a fresh path /d-s/scratchbox, using the -s PATH option. I also used the -u USER option, specifying user maemo. Quote:
Happy, Happy Joy Joy! Steve |
Re: problem with missing toolchains
Diablo SDK installed and working! GUI 'Hello World' compiled and running.
http://www.panoramio.com/photos/original/11822287.jpg Well, now the fun really starts ... trying to get Kismet working properly under Diablo, with the n810 drivers, correctly displaying signal strength, 'r' option working, able to capture packets without stalling after a while .. Wish me luck! Steve |
Re: problem with missing toolchains
I noticed you didn't say you logged out and logged back in after doing the -user, though it probably worked to set the value, but sometime in this process you did and it took. Also if you are using 8.04 (heron) derived xubuntu, there is a note in the INSTALL.txt. You do need to read the whole thing - the manual/automatic stuff is interleaved so you can't always find it easily.
|
Re: problem with missing toolchains
Quote:
However, I *think* the trick was some combo of: - picking a new install path - shutting down the scratchbox server during the install - running the scratchbox script with -u USER the first time through. When I have time, I'll try it again with a fresh VM and see if I can get it to install to the default path. Thanks again to all for suggestions, and putting up with my lengthy hollering for help! Steve |
All times are GMT. The time now is 12:11. |
vBulletin® Version 3.8.8