Installing Toolchain In Ubuntu 8.10 Errors

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello Everyone,
I'm installing avr32_gnu_toolchain_ubuntu_804.zip in under Ubuntu 8.10. I get the following errors but I'm not sure how to install the libraries it's asking for. I know my version of Ubuntu is "not supported" but is it possible to get it to work?


chiques@chiques-laptop:~$ lsb_release -a

No LSB modules are available.

Distributor ID: Ubuntu

Description: Ubuntu 8.10

Release: 8.10

Codename: intrepid

chiques@chiques-laptop:~$

root@chiques-laptop:/home/chiques/Desktop/avr_toolchain/avr32_gnu_toolchain_ubuntu_804# ls

avr32-binutils_2.17.atmel.1.2.6-2_i386.deb

avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb

avr32-gdb_6.7.1.atmel.1.0.3-1_i386.deb

avr32gdbproxy_3.0.11-1_i386.deb

avr32-gnu-toolchain_2.0.3-2_i386.deb

avr32headers_1.9.11-1_all.deb

avr32-linux-binutils_2.17.atmel.1.2.6-2_i386.deb

avr32-linux-gcc_4.2.2-atmel.1.0.8-1_i386.deb

avr32-linux-gdb_6.7.1.atmel.1.0.3-1_i386.deb

avr32parts_1.9.9-1_all.deb

avr32program_3.0.4-1_i386.deb

avr32trace_2.0.3-1_i386.deb

avr32-uclibc_0.9.28.atmel.0.0.20070516-1_i386.deb

avr32-uclibc-kernheaders_2.6.18.atmel.0.0.20070516_i386.deb

avrfwupgrade_1.0.3-2_i386.deb

libavr32ocd1_3.0.9-1_i386.deb

libavr32sim_0.2.1-1_i386.deb

libavrtools1_3.0.9-1_i386.deb

libelfdwarfparser_2.0.7-1_i386.deb

root@chiques-laptop:/home/chiques/Desktop/avr_toolchain/avr32_gnu_toolchain_ubuntu_804# sudo dpkg -i *.deb

Selecting previously deselected package avr32-binutils.

(Reading database ... 117120 files and directories currently installed.)

Unpacking avr32-binutils (from avr32-binutils_2.17.atmel.1.2.6-2_i386.deb) ...

Selecting previously deselected package avr32-gcc-newlib.

Unpacking avr32-gcc-newlib (from avr32-gcc-newlib_4.2.2-atmel.1.0.8-2_i386.deb) ...

Selecting previously deselected package avr32-gdb.

Unpacking avr32-gdb (from avr32-gdb_6.7.1.atmel.1.0.3-1_i386.deb) ...

Selecting previously deselected package avr32gdbproxy.

Unpacking avr32gdbproxy (from avr32gdbproxy_3.0.11-1_i386.deb) ...

Selecting previously deselected package avr32-gnu-toolchain.

Unpacking avr32-gnu-toolchain (from avr32-gnu-toolchain_2.0.3-2_i386.deb) ...

Selecting previously deselected package avr32headers.

Unpacking avr32headers (from avr32headers_1.9.11-1_all.deb) ...

Selecting previously deselected package avr32-linux-binutils.

Unpacking avr32-linux-binutils (from avr32-linux-binutils_2.17.atmel.1.2.6-2_i386.deb) ...

Selecting previously deselected package avr32-linux-gcc.

Unpacking avr32-linux-gcc (from avr32-linux-gcc_4.2.2-atmel.1.0.8-1_i386.deb) ...

Selecting previously deselected package avr32-linux-gdb.

Unpacking avr32-linux-gdb (from avr32-linux-gdb_6.7.1.atmel.1.0.3-1_i386.deb) ...

Selecting previously deselected package avr32parts.

Unpacking avr32parts (from avr32parts_1.9.9-1_all.deb) ...

Selecting previously deselected package avr32program.

Unpacking avr32program (from avr32program_3.0.4-1_i386.deb) ...

Selecting previously deselected package avr32trace.

Unpacking avr32trace (from avr32trace_2.0.3-1_i386.deb) ...

Selecting previously deselected package avr32-uclibc.

Unpacking avr32-uclibc (from avr32-uclibc_0.9.28.atmel.0.0.20070516-1_i386.deb) ...

Selecting previously deselected package avr32-uclibc-kernheaders.

Unpacking avr32-uclibc-kernheaders (from avr32-uclibc-kernheaders_2.6.18.atmel.0.0.20070516_i386.deb) ...

Selecting previously deselected package avrfwupgrade.

Unpacking avrfwupgrade (from avrfwupgrade_1.0.3-2_i386.deb) ...

Selecting previously deselected package libavr32ocd1.

Unpacking libavr32ocd1 (from libavr32ocd1_3.0.9-1_i386.deb) ...

Selecting previously deselected package libavr32sim.

Unpacking libavr32sim (from libavr32sim_0.2.1-1_i386.deb) ...

Selecting previously deselected package libavrtools1.

Unpacking libavrtools1 (from libavrtools1_3.0.9-1_i386.deb) ...

Selecting previously deselected package libelfdwarfparser.

Unpacking libelfdwarfparser (from libelfdwarfparser_2.0.7-1_i386.deb) ...

Setting up avr32-binutils (2.17.atmel.1.2.6-2) ...

dpkg: dependency problems prevent configuration of avr32gdbproxy:

 avr32gdbproxy depends on libboost-date-time1.34.1 | libboost-date-time1.33.1; however:

  Package libboost-date-time1.34.1 is not installed.

  Package libboost-date-time1.33.1 is not installed.

 avr32gdbproxy depends on libboost-filesystem1.34.1 | libboost-filesystem1.33.1; however:

  Package libboost-filesystem1.34.1 is not installed.

  Package libboost-filesystem1.33.1 is not installed.

 avr32gdbproxy depends on libboost-thread1.34.1 (>= 1.34.1-2.1); however:

  Package libboost-thread1.34.1 is not installed.

 avr32gdbproxy depends on libxerces27; however:

  Package libxerces27 is not installed.

dpkg: error processing avr32gdbproxy (--install):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of avr32-gnu-toolchain:

 avr32-gnu-toolchain depends on avr32gdbproxy (>= 3.0.11); however:

  Package avr32gdbproxy is not configured yet.

dpkg: error processing avr32-gnu-toolchain (--install):

 dependency problems - leaving unconfigured

Setting up avr32headers (1.9.11-1) ...

Setting up avr32-linux-binutils (2.17.atmel.1.2.6-2) ...

Setting up avr32parts (1.9.9-1) ...

Setting up avr32-uclibc (0.9.28.atmel.0.0.20070516-1) ...

Setting up avr32-uclibc-kernheaders (2.6.18.atmel.0.0.20070516) ...

dpkg: dependency problems prevent configuration of avrfwupgrade:

 avrfwupgrade depends on libboost-filesystem1.34.1 (>= 1.34.1-2.1); however:

  Package libboost-filesystem1.34.1 is not installed.

 avrfwupgrade depends on libxerces27; however:

  Package libxerces27 is not installed.

dpkg: error processing avrfwupgrade (--install):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of libavr32ocd1:

 libavr32ocd1 depends on libxerces27; however:

  Package libxerces27 is not installed.

dpkg: error processing libavr32ocd1 (--install):

 dependency problems - leaving unconfigured

Setting up libavr32sim (0.2.1-1) ...



Setting up libavrtools1 (3.0.9-1) ...



Setting up libelfdwarfparser (2.0.7-1) ...

dpkg: dependency problems prevent configuration of avr32program:

 avr32program depends on libavr32ocd1 (>= 3.0.0); however:

  Package libavr32ocd1 is not configured yet.

dpkg: error processing avr32program (--install):

 dependency problems - leaving unconfigured

dpkg: dependency problems prevent configuration of avr32trace:

 avr32trace depends on libavr32ocd1 (>= 3.0.0); however:

  Package libavr32ocd1 is not configured yet.

dpkg: error processing avr32trace (--install):

 dependency problems - leaving unconfigured

Processing triggers for man-db ...

Setting up avr32-linux-gcc (4.2.2-atmel.1.0.8-1) ...

Setting up avr32-linux-gdb (6.7.1.atmel.1.0.3-1) ...

Setting up avr32-gcc-newlib (4.2.2-atmel.1.0.8-2) ...

Setting up avr32-gdb (6.7.1.atmel.1.0.3-1) ...

Processing triggers for libc6 ...

ldconfig deferred processing now taking place

Errors were encountered while processing:

 avr32gdbproxy

 avr32-gnu-toolchain

 avrfwupgrade

 libavr32ocd1

 avr32program

 avr32trace

root@chiques-laptop:/home/chiques/Desktop/avr_toolchain/avr32_gnu_toolchain_ubuntu_804# 


Any help would be greatly appreciated.

:roll: :roll: :roll:

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I also get this error when running updates.

Attachment(s): 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I found that the install of avr32-gnu-toolchain depends on libxerces27, which intrepid does not contain anymore.

So I did the following.
sudo apt-get install equivs

After this installs

cp -r /usr/share/equivs/template/debian ~

then cd ~/debian
vi control.in or nano whichever you prefer
in the editor replace equivs-dummy with libxerces27
there are 2 places.
Then on the next line after Package: libxerces27
Add the line
Depends: libxerces-c28

Here is what my control.in file looks like
Source: libxerces27
Section: misc
Priority: optional
Build-Depends: debhelper (>= 4)
Maintainer: root
Standards-Version: 3.6.2

Package: libxerces27
Depends: libxerces-c28
Architecture: all
Description: Dummy package to fulfill package dependencies

Save and quit

then
equivs-build control.in

that will build a deb file called libxerces27_1.0_all.deb
so now do
sudo apt-get install libxerces-c28
this actually installs xerces library
then
sudo dpkg -i libxerces27_1.0_all.deb
this installs the equiv package to trick the package manager

after that
sudo apt-get install avr32-gnu-toolchain

Now I am off to trying this out, but at least I was able to install !

Hope this helps,
John

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ok After that I get errors when actually trying to use it because the version 28 has changes that effect the tools compiled against 27. In any event it is even easier to fix then the hack above.
First if you did the above then do
sudo apt-get remove libxerces27
sudo apt-get autoremove

these will remove the libxerces and all the avr32 programs

then goto
http://packages.ubuntu.com/hardy...
choose a mirror and open with gdebi
it will ask you too install the package. Do it
now do
sudo apt-get install avr32-gnu-toolchain
and tools will install without any fake hack.

If you kept reading posts and did not do the equivs (bad hack)
then skip the remove steps

John

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

-------------:shock:--------------