PDA

View Full Version : Arduino



susecmail
06-Jun-2014, 09:47
Does anybody have any experience in installing Arduino on SLED 11.3 (or 11.2 or 11.1)? I'm not having much luck with finding any version of it. I've added the 11.2 SLED CrossToolchain:avr repository but still no go...

mikewillis
06-Jun-2014, 10:47
Does anybody have any experience in installing Arduino on SLED 11.3 (or 11.2 or 11.1)? I'm not having much luck with finding any version of it. I've added the 11.2 SLED CrossToolchain:avr repository but still no go...


Did you look at
http://software.opensuse.org/package/arduino
There's a SLE 11 SP1 repo listed there.
http://download.opensuse.org/repositories/home:/seife:/arduino/SLE_11_SP1/
The arduino package installs and runs on SP3 but I've not tried doing anything with it as I don't have an arduino. You could try contacting the repo owner and asking them to add SP3 to the build list.


Can you not just download the .tgz from http://arduino.cc/en/main/software and use that?

susecmail
06-Jun-2014, 16:42
Good morning (at least here),

I tried to build it, even adding the CrossToolchain:avr and met a dependency hell situation. I've never built Arduino from scratch before, so it's new territory for me.

I thought about adding the packman repo; however, I'm not sure what to use. They have the following:

~/SLE_11/

~/sle_11_sp1/

~/openSUSE_11.3/

~/11.3/

NOTE: Found a package install for SLED 11.3 of cross-avr-binutils: http://software.opensuse.org/package/cross-avr-binutils

which is part of the dependency issue.

EDIT: Java SDK is a bit dated, as well; installing the package "ant" I'm getting java_1_5_0, which was released in 2004 and is not generally compatible with Arduino. AFAIR, Arduino needs Java SDK 6 or better... still workiing on this one.

susecmail
06-Jun-2014, 18:18
I tried to install avr-gcc-462 from the CrossToolchain:avr repository and it fails with



Problem: nothing provides avr-libc needed by avr-gcc-462-4.6.2-6.1.x86_64
Solution 1: do not install avr-gcc-462-4.6.2-6.1.x86_64
Solution 2: break avr-gcc-462-4.6.2-6.1.x86_64 by ignoring some of its dependencies


So, I find the avr-libc project, download the source and try to configure it and receive and error that avr-gcc is not compiled. Looking at the home page, I see this warning:


Warning:
If you have CC set to anything other than avr-gcc in your environment, this will cause the configure script to fail. It is best to not have CC set at all.

This seems a little like a catch-22 problem...unless, I'm missing something, which could be the case :P

susecmail
06-Jun-2014, 19:27
Did you look at
http://software.opensuse.org/package/arduino
There's a SLE 11 SP1 repo listed there.
http://download.opensuse.org/repositories/home:/seife:/arduino/SLE_11_SP1/
The arduino package installs and runs on SP3 but I've not tried doing anything with it as I don't have an arduino. You could try contacting the repo owner and asking them to add SP3 to the build list.

Can you not just download the .tgz from http://arduino.cc/en/main/software and use that?

I tried installing the rpm found at the link and received the message that I needed cross-avr-gcc installed. Tried downloading the rpm for that and received:



Not Found

The requested URL /opensuse/repositories/home:/seife:/arduino/SLE_11_SP1/x86_64/cross-avr-gcc-4.3.3_20100125-34.1.x86_64.rpm was not found on this server.
Apache/2.2.15 (Red Hat) DAV/2 mod_auth_kerb/5.4 mod_auth_pgsql/2.0.3 mod_nss/2.2.15 NSS/3.15.1 Basic ECC PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips SVN/1.6.11 mod_wsgi/3.2 Python/2.6.6 mod_perl/2.0.4 Perl/v5.10.1 Server at ftp.utexas.edu Port 80


Look at my other responses for the errors I receive trying to compile from scratch...

susecmail
13-Jun-2014, 20:05
Okay, after a few tries, I found the (surprisingly easy) solution:



$: sudo zypper ar -f http://download.opensuse.org/repositories/home:/seife:/arduino/ Home:seife

$: sudo zypper refresh

NOTE: Accept the package/repository key to the level with which your are comfortable

$: sudo zypper in arduino


It does NOT install via the One-Click install from http://software.opensuse.org. The individual RPMs do not install if downloaded from the repository http site.

If you have any security/privacy addons for Mozilla Firefox, the browser will not be able to navigate the links in http://download.opensuse.org/repositories/*

I am trying to find out which addon produces the error. I'll update this thread once I narrow it down.