Rockbox Development > Starting Development and Compiling
Rockboxdev.sh on ubuntu 12.04 LTS not running
Here we are:
I just installed Ubuntu 12.04 LTS and tried to run the script rockboxdev.sh using the commands:
chmod +x rockboxdev.sh
then
sudo ./rockboxdev.sh
This is what you see on the terminal when I run the two commands:
Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$ chmod +x ./rockboxdev.sh
Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$ sudo ./rockboxdev.sh
[sudo] password for Username:
Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$
Why does nothing happen am I doing something wrong ?
Or is it that Ubuntu 12.04 LTS doesnt work for compiling rockbox ?
wodz:
I use 12.04 for rb development so this should just work. Try calling it explicitely with sh ./rockboxdev.sh. In general you don't need to run it as root (but if you run it as regular user you need to set installation dir correctly - see the very begining of the script for reference).
Here we are:
Thanks for the reply :)
I tried this sh ./rockboxdev.sh
This is what happened :
Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$ sh ./rockboxdev.sh
: not foundv.sh: 2: ./rockboxdev.sh:
./rockboxdev.sh: 7: set: Illegal option -
Then I tried to use root just in case but yet again:
Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$ sudo sh ./rockboxdev.sh
[sudo] password for Username:
: not foundv.sh: 2: ./rockboxdev.sh:
./rockboxdev.sh: 7: set: Illegal option -
Anymore advice I could try ?
gevaerts:
Is that on FAT or NTFS, or did you copy the rockbox directory from FAT or NTFS?
bluebrother:
--- Quote from: Here we are on January 03, 2013, 09:43:32 PM ---Username@Username-GA-970A-UD3:~/Documents/rockbox/tools$ sh ./rockboxdev.sh
: not foundv.sh: 2: ./rockboxdev.sh:
./rockboxdev.sh: 7: set: Illegal option -
--- End quote ---
Sounds more like a bashism issue to me. Do not run it explicitly with sh, use bash instead:
bash rockboxdev.sh
(and check where /bin/sh is pointing to)
Navigation
[0] Message Index
[#] Next page
Go to full version