Rockbox Development > Starting Development and Compiling

Setting up Build Environment

(1/2) > >>

Stringrazor:
I have been trying to follow the guide at http://www.rockbox.org/wiki/LinuxSimpleGuideToCompiling and it's anything but simple. I am using a Virtualbox Unbuntu 9.10 image. First off, I could not install SVN. apt-get would download some libs but not others("unable to fetch some archives"). Yes, I googled and tried a bunch of suggested fixes bit nothing worked. I finally installed RapidSVN and succeeded in checking out the code.

Now, sudo apt-get install build-essential libc6-dev texinfo libgmp3-dev libmpfr-dev is giving me the same "unable to fetch some archives" messages.

I've already spent way more time than I should have on this. I am not  a Linux app dev. Can someone please help me out?

Chronon:
Just to be sure, you were trying to install "subversion" not "SVN", right?

People will be able to provide more detailed help if you tell us exactly which packages aren't installing.

Stringrazor:
Yes, I meant subversion.

Here's the latest roadblock:


ubuntu@ubuntu-desktop:~/tools$ sudo apt-get install build-essential libc6-dev texinfo libgmp3-dev libmpfr-dev
[sudo] password for ubuntu:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  cpp-4.4 dpkg-dev fakeroot g++ g++-4.4 gcc-4.4 gcc-4.4-base libc-bin
  libc-dev-bin libc6 libc6-i686 libgcc1 libgomp1 libstdc++6 libstdc++6-4.4-dev
Suggested packages:
  gcc-4.4-locales debian-keyring debian-maintainers g++-multilib
  g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg gcc-4.4-multilib
  libmudflap0-4.4-dev libgcc1-dbg libgomp1-dbg libmudflap0-dbg libcloog-ppl0
  libppl-c2 libppl7 glibc-doc manpages-dev libgmp3-doc libstdc++6-4.4-doc
  texlive-base texlive-latex-base texlive-generic-recommended
  texinfo-doc-nonfree
Recommended packages:
  libstdc++-dev
The following NEW packages will be installed:
  build-essential dpkg-dev fakeroot g++ g++-4.4 libgmp3-dev libmpfr-dev
  libstdc++6-4.4-dev texinfo
The following packages will be upgraded:
  cpp-4.4 gcc-4.4 gcc-4.4-base libc-bin libc-dev-bin libc6 libc6-dev
  libc6-i686 libgcc1 libgomp1 libstdc++6
11 upgraded, 9 newly installed, 0 to remove and 328 not upgraded.
Need to get 19.1MB/26.4MB of archives.
After this operation, 28.7MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com karmic-updates/main libc-bin 2.10.1-0ubuntu18 [714kB]
Get:2 http://archive.ubuntu.com karmic-updates/main libc6 2.10.1-0ubuntu18 [3,871kB]
Get:3 http://archive.ubuntu.com karmic-updates/main libc-dev-bin 2.10.1-0ubuntu18 [206kB]
Get:4 http://archive.ubuntu.com karmic-updates/main libc6-dev 2.10.1-0ubuntu18 [4,772kB]
Get:5 http://archive.ubuntu.com karmic-updates/main gcc-4.4 4.4.1-4ubuntu9 [2,976kB]
Get:6 http://archive.ubuntu.com karmic-updates/main g++-4.4 4.4.1-4ubuntu9 [4,701kB]
Get:7 http://archive.ubuntu.com karmic-updates/main dpkg-dev 1.15.4ubuntu2.2 [572kB]
Get:8 http://archive.ubuntu.com karmic/main fakeroot 1.12.4ubuntu1 [126kB]
Get:9 http://archive.ubuntu.com karmic/main libgmp3-dev 2:4.3.1+dfsg-1ubuntu3 [666kB]
Get:10 http://archive.ubuntu.com karmic/main texinfo 4.13a.dfsg.1-4ubuntu1 [533kB]
Fetched 15.1kB in 58s (257B/s)               
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-bin_2.10.1-0ubuntu18_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6_2.10.1-0ubuntu18_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc-dev-bin_2.10.1-0ubuntu18_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/e/eglibc/libc6-dev_2.10.1-0ubuntu18_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/gcc-4.4_4.4.1-4ubuntu9_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-4.4/g++-4.4_4.4.1-4ubuntu9_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/dpkg-dev_1.15.4ubuntu2.2_all.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/f/fakeroot/fakeroot_1.12.4ubuntu1_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/gmp/libgmp3-dev_4.3.1+dfsg-1ubuntu3_i386.deb  Size mismatch
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/t/texinfo/texinfo_4.13a.dfsg.1-4ubuntu1_i386.deb  Size mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

saratoga:
Do you have internet access in the VM?  It looks like nothing downloaded.

Stringrazor:
yes, I have access. Some things had already downloaded. That was the 4th or 5th time I ran the command. As I mentioned, I was able to Dl & install RapidSVN and using that checkout the RB code, so I indeed have internet access.

Navigation

[0] Message Index

[#] Next page

Go to full version