Rockbox Development > Starting Development and Compiling

Problems with compiling / installing compiler

(1/2) > >>

Tiptoe:
Hey, I'm trying to get rockbox onto my gogear 6330 and I'm having a few problems. It's pretty much my first time using any type of linux based OS and I can't seem to get a certain part to work.

Basically, I've managed to get to step 8 in this guide http://www.rockbox.org/wiki/GoGearHDD6330#Installation_steps_for_HDD63x0 and then I get errors that tell me that the arm-elf compiler or something along those lines is not in the path so it's an improper command. After searching a bit and finding this http://www.rockbox.org/wiki/CrossCompiler , I saw that I apparently had to run the shell script in the rockbox/tools directory but when I try to do this I get the message:

ROCKBOXDEV: No write permission for /usr/local

Just wondering how I would go about fixing this since I don't really know much at all about debian.

Also the shell script is rockboxdev.sh

saratoga:
try 'sudo ./rockboxdev.sh'.

This may also be helpful:

http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling

Tiptoe:
I'm running debian through vmware and I get that sudo doesn't work. I tried to use "su" though but after typing "su ./rockboxdev.sh" I still get an error(not on my main computer at the moment so I can't say exactly what the error was because I'm just going off memory of what I did a few hours ago). Also thanks for the link, I'll check it out sometime tomorrow when I have time go get back on my main.

saratoga:
If you want help, you should say what happened in more detail then "doesn't work".

bluebrother:

--- Quote from: Tiptoe on October 19, 2010, 01:01:54 AM ---"su ./rockboxdev.sh"

--- End quote ---

That's not the correct syntax for su. If you want to run a command directly with su, you need to use the -c option, i.e. "su -c ./rockboxdev.sh". Or switch to a root shell first ("su -", enter password when asked, then run rockboxdev.sh)

Please also check the man page of su(1).

Navigation

[0] Message Index

[#] Next page

Go to full version