cross-avr packages on OpenSuse 10.3

I’m having a lot of trouble setting up the avr-gcc packages under openSuse 10.3 I got the various RPMs from the Suse site…

I’ve tried using Yast to install the 3 packages (trying cross-avr-binutils first), and it tells me that cross-avr-binutils depends on cross-avr-binutils being installed!!!

When I try command line installation (rpm -hiv ), all seems to go okay (i.e. no error message with verbose switched on), and I now have an “/opt/cross/avr” directory with stuff in… nothing that looks like an executable compiler though! - could this be somewhere else?

Can anyone offer me any hints? Also, is this SW available as source code that I can build using Make? - I’ve never particularly trusted RPM’s!

:’(

Okay, so I started again....... when trying to install the binutils package (with Yast again), I get the following error:

Subprocess failed. Error: RPM failed: error: unpacking of archive failed on file /opt/cross/bin/avr-readelf;47b48d6a: cpio: read failed - Bad file descriptor


error: unpacking of archive failed on file /opt/cross/bin/avr-readelf;47b4536e: cpio: read failed - Bad file descriptor

2008-02-14 14:52:02 cross-avr-binutils.rpm install failed rpm output: error: unpacking of archive failed on file /opt/cross/bin/avr-readelf;47b45592: cpio: read failed - Bad file descriptor

2008-02-14 18:50:21 cross-avr-binutils.rpm install failed rpm output: error: unpacking of archive failed on file /opt/cross/bin/avr-readelf;47b48d6a: cpio: read failed - Bad file descriptor


Any ideas??

i have installed avr pacckeges (libc, gccc, avrdude, ...) with YasT with no problems at all. i suggest you to remove all the avr packeges you have installed by your own, type avr at the Software Management tool from Yast and install all packges that appear

Thanks for the tip - tried that, but Yast can't vind any packages whose name contains the string "avr".

:'(

Not entirely surprised by that as the initial installation failed (with the error message in my last post).....

The only thing I can think of is uninstalling the cross-avr's and the others you've installed, confirm you've got the latest and uncorrupted downloads from here

http://software.opensuse.org/search

and try again?

Eric.

If you can’t get YasT to install it properly, another option is to simply download the tarball from http://www.arduino.cc/files/arduino-0010-linux.tgz and compile that. IT wouldn’t fit quite as nicely into the Suse system, but at least you’ll be able to use your arduino.

Any luck with your install Calvin?
Arduino-0100 will need the cross-avr and the avr-libc also.
This link helped my install on SLED 10 http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1186739311
If you do this like I did note that the Cross-AVR puts it in OPT/CROSS/AVR as you indicated. The AVR-LIBC puts it in a completely different location. I need to work on making a instructions on how I got this to work on mine. Been too busy to play with this coolz stuff.