Author |
Message |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sat 08 Oct 2011, 05:28 Post subject:
Getting Arduino run properly on Puppy 5.28 and 5.3 and 5.31 |
|
As was the case in the past trying to get the Arduino IDE set up in Linux can be a nightmare of download and mismatch and directories not found etc
Below is how I did it
Last edited by tytower on Thu 05 Jan 2012, 19:10; edited 2 times in total
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sat 08 Oct 2011, 07:01 Post subject:
|
|
moved
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Last edited by aarf on Mon 10 Oct 2011, 08:11; edited 1 time in total
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sat 08 Oct 2011, 18:10 Post subject:
|
|
Hmm I'd be a little careful with aarf's suggestions above. He makes the statement " if its avr download it" --Not so
Go to the Arduino.cc install page and follow through carefully
http://www.arduino.cc/playground/Learning/Linux
Here is a list of what I installed and mine is up and running in Puppy 5.28
binutils-avr_2.20-2
gcc-avr_4.3.4-1
avr-libc_1.6.7
jre-1.6.0-21-lucid
arduino-0022
libmpfr1ldbl_2.3.1.dfsg.1
libgmp3c2_4.3.2+dfsg
The last two from Ubuntu repo
Last edited by tytower on Thu 10 Nov 2011, 16:27; edited 5 times in total
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sat 08 Oct 2011, 19:42 Post subject:
|
|
moved
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Last edited by aarf on Mon 10 Oct 2011, 08:11; edited 1 time in total
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sat 08 Oct 2011, 20:20 Post subject:
|
|
moved
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Last edited by aarf on Mon 10 Oct 2011, 08:12; edited 4 times in total
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sun 09 Oct 2011, 04:26 Post subject:
|
|
moved
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
Last edited by aarf on Mon 10 Oct 2011, 08:16; edited 1 time in total
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sun 09 Oct 2011, 06:39 Post subject:
|
|
Continuing .... I suggest when you get the arduino window working you go to your Arduino directory and drag the arduino icon on to your desktop. It will then start up without the terminal behind it.. Much neater
I don't know how to make a pet but I'll go have a read and if I can understand how I'll make a pet for this.
EDIT err looks like too much messing about for me atm-dont have the time . Perhaps someone might have a go at it ?
Arduino is a little $5 chip that can be programmed to do amazing things by people who are just ordinary when it comes to electronics or C++ programming. Full startup kits cost $50 or so and with a breadboard you wire up various sensors and devices to it and the info you wish is sent to your computer screen via a USB lead. Many many programs are already written fo you and you download them for free and just plug em in and away you go.
http://www.arduino.cc/
Last edited by tytower on Thu 10 Nov 2011, 16:29; edited 3 times in total
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3613 Location: around the bend
|
Posted: Sun 09 Oct 2011, 10:51 Post subject:
|
|
Sorry for messing you thread. i will move the mess.
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Mon 17 Oct 2011, 02:37 Post subject:
|
|
Thanks for moving that.
Now I have delved a little further and found this page for Compiling in Puppy
http://puppylinux.org/wikka/Compiling
I'm downloading the sfs file from http://ftp.nluug.nl/ftp/pub/os/Linux/distr/puppylinux/puppy-5.2.8/lupu_devx_528-3.sfs atm and suspect some of the Arduino linux list above may not be needed
More on this as I experiment
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Sat 05 Nov 2011, 18:38 Post subject:
|
|
I have also noted that the java sfs download and install sfs on boot seems to take care of the java side also.So you only need load the sfs file when you want to run Arduino
However I'm just messing with 5.3 Slacko (What a name?)
and am not getting the serial ports up right atm. Its almost running but there are a couple of dependencies missing
libmpc.so.2 libelf.so.0
these can be downloaded from slacko repository
And the choose port and choose board don't come up and it cant compile cause it cant find avr-gcc
Nothing is running right yet
Slacko stinks !
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7909 Location: World_Hub
|
Posted: Sat 05 Nov 2011, 20:04 Post subject:
|
|
Ty, aboard 528 grab libmpc2 and libelfg0- try again..
To deal with gcc-avr, add it to your PATH variable..
*You'll need this if choosing the bashrc method..
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Tue 08 Nov 2011, 07:19 Post subject:
|
|
Yeh thanks I got those already from
Quote: | libmpc.so.2 libelf.so.0
these can be downloaded from slacko repository
|
As far as Quote: | To deal with gcc-avr, add it to your PATH variable.. | I played around a bit with various path solutions to no avail
I think it is a library not found for sure but why puzzles me . Each program has downloaded and installed supposedly correctly. I cant copy the error section bel;ow the sketch window but Ill try a screenshot.
Description |
|
Filesize |
94.24 KB |
Viewed |
3043 Time(s) |

|
Last edited by tytower on Thu 10 Nov 2011, 04:09; edited 1 time in total
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Wed 09 Nov 2011, 17:56 Post subject:
|
|
Been looking deeper into this issue.
Its not the path that I can see
It installs to a directory "avr" in the /usr dir.
So to be sure I adjusted my Path to include /avr /avr/bin /avr/lib avr/includes.
"Env" confirms that, so its looking in all those areas to find what it seeks to no avail.
Anyone have any other ideas ? The window loads perfectly except under tools there are no Serial Ports , no Processors and no bootloaders and compiling a simple program gives the above errors in red ?
|
Back to top
|
|
 |
Semme

Joined: 07 Aug 2011 Posts: 7909 Location: World_Hub
|
Posted: Wed 09 Nov 2011, 20:50 Post subject:
|
|
Ty, before I say I'm out (for lack of a device to mess with)- which set of distro pkgs did you install.. these?
|
Back to top
|
|
 |
tytower
Joined: 24 Feb 2007 Posts: 440 Location: Green Island Cairns for the winter
|
Posted: Thu 10 Nov 2011, 03:47 Post subject:
|
|
I still have it running flawlessly on a 5.28 USB. I just want to get it up on 5.3
I did the same as my previous post for 5.28 except with latest
binutils-avr_2.21
gcc-avr_4.5.3
avr-libc_1.6.7
jre-1.7.0-20110811 which is extra SFS installed by sfs-load
arduino-0022
libmpfr1ldbl_2.3.1.dfsg.1
libgmp3c2_4.3.2+dfsg
libmpc-0.8.2
and the two files mentioned above .
libmpc.so.2 libelf.so.0 but I think these are not needed when I find the fault
aarf seems to get himself in an almighty mess and that's what all the deleted posts are in this thread. What he has on his thread now seems to be taken from mine. He says things like "if its avr download it " and he does that and downloads "dude" I noticed too but "dude" comes down with Arduino 0022 so that's not necessary- he's very confused and writing how-to's ?
Now I'm going to start again and wipe this particular USB stick because I think it has errors. I'll post back when I set up the new stuff
Don't understand what you mean by "for lack of a device to mess with" ?
Don't have arduino or dont have linux box?
|
Back to top
|
|
 |
|