Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problem with rockboxdev.sh
« previous next »
  • Print
Pages: [1]

Author Topic: Problem with rockboxdev.sh  (Read 3340 times)

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Problem with rockboxdev.sh
« on: October 03, 2006, 07:39:28 AM »
Running the rockboxdev.sh script poses problems. I'm runnning it in a terminal window under Ubuntu Dapper ("sudo ./tools/rockboxdev.sh"). This is the outout I get:

Code: [Select]
ROCKBOXDEV: extracting binutils-2.16.1 in /home/mads/build-rbdev
ROCKBOXDEV: extracting gcc-4.0.3 in /home/mads/build-rbdev
ROCKBOXDEV: mkdir build-binu
ROCKBOXDEV: cd build-binu
ROCKBOXDEV: binutils/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: binutils/make
./tools/rockboxdev.sh: line 203: make: command not found
ROCKBOXDEV: binutils/make install to /usr/local/arm-elf
./tools/rockboxdev.sh: line 205: make: command not found
ROCKBOXDEV: mkdir build-gcc
ROCKBOXDEV: cd build-gcc
ROCKBOXDEV: gcc/configure
creating cache ./config.cache
checking host system type... i686-pc-linux-gnuoldld
checking target system type... arm-unknown-elf
checking build system type... i686-pc-linux-gnuoldld
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: gcc/make
./tools/rockboxdev.sh: line 217: make: command not found
ROCKBOXDEV: gcc/make install to /usr/local/arm-elf
./tools/rockboxdev.sh: line 219: make: command not found
done

After which it is done (and misleadingly prints: "Make your PATH include :/usr/local/arm-elf/bin" since the .... darn path has yet to be made)

It seems to be a PATH issue but I don't get it. If the script needs a path to a command that it itself puts onto the system, surely it should create those references itself?

Can anyone tell me what is going wrong? Or just a quick manual fix?

Thanks in advance.
« Last Edit: October 03, 2006, 07:41:44 AM by madsic »
Logged

Offline obo

  • Developer
  • Member
  • *
  • Posts: 55
Re: Problem with rockboxdev.sh
« Reply #1 on: October 03, 2006, 08:06:00 AM »
Quote from: madsic on October 03, 2006, 07:39:28 AM
Code: [Select]
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: binutils/make
./tools/rockboxdev.sh: line 203: make: command not found

You are missing both gcc and make - install those, along with the package build-essential
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Problem with rockboxdev.sh
« Reply #2 on: October 03, 2006, 08:12:00 AM »
Quote from: obo on October 03, 2006, 08:06:00 AM
Quote from: madsic on October 03, 2006, 07:39:28 AM
Code: [Select]
checking for gcc... no
checking for cc... no
configure: error: no acceptable cc found in $PATH
ROCKBOXDEV: binutils/make
./tools/rockboxdev.sh: line 203: make: command not found

You are missing both gcc and make - install those, along with the package build-essential

I thought that was what rockboxdev.sh did? Installing those?
Logged

Offline mikeage

  • Member
  • *
  • Posts: 110
    • mikeage.net
Re: Problem with rockboxdev.sh
« Reply #3 on: October 03, 2006, 08:27:31 AM »
rockboxdev installs the gcc compiler for the arm platform. You still need to install gcc for an x86 (or whatever your build environment is) platform to compile some tools
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Problem with rockboxdev.sh
« Reply #4 on: October 03, 2006, 08:42:56 AM »
Quote from: mikeage on October 03, 2006, 08:27:31 AM
rockboxdev installs the gcc compiler for the arm platform. You still need to install gcc for an x86 (or whatever your build environment is) platform to compile some tools

And how do I go about that....?  :-[
Logged

Offline MoD

  • Member
  • *
  • Posts: 28
Re: Problem with rockboxdev.sh
« Reply #5 on: October 03, 2006, 09:08:35 AM »
Enter in a terminal window:

apt-get install make gcc build-essential

and hit the Return key of course!

New to Linux  ;) ?
« Last Edit: October 03, 2006, 09:10:25 AM by MoD »
Logged

Offline MoD

  • Member
  • *
  • Posts: 28
Re: Problem with rockboxdev.sh
« Reply #6 on: October 03, 2006, 09:34:50 AM »
Sorry, on Ubuntu its actually:

sudo apt-get install make gcc build-essential
Logged

Offline madsic

  • Member
  • *
  • Posts: 110
    • Vi har pander!
Re: Problem with rockboxdev.sh
« Reply #7 on: October 04, 2006, 08:27:22 AM »
Quote from: MoD on October 03, 2006, 09:08:35 AM
Enter in a terminal window:

apt-get install make gcc build-essential

and hit the Return key of course!

Thanks for reply, patience and thoroughness :)

Quote from: MoD on October 03, 2006, 09:08:35 AM
New to Linux  ;) ?

Yes and no.... Actually, I have done all of this before which just makes it all the more embarrasing  :-[ I was just so fixed in thinking about scripts and downloads that I forgot about apt-get...

Thanks  again. Hopefully I'll make a mental note of it, so I wont have to ask again should the need arise....
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Problem with rockboxdev.sh
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.086 seconds with 15 queries.