Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Meino . Cramer
Hi Ming-Che Lee

> Hi Meino
> 
> Am 30.04.2016 um 12:13 schrieb meino.cra...@gmx.de:
> 
> > One question: 
> > Did you download the arduino-1.6.8 binary distribution or
> > the sources and compile those locally on your GENTOO box?
> 
> I wanted a quick start so I downloaded the binary distribution:
> 
> https://www.arduino.cc/download_handler.php?f=/arduino-1.6.8-linux64.tar.xz
> 
> It's good enough for me to start with as a newbie to Arduino :-)

  ...I will take them too. :)

> 
> > PS: In a few minutes I will send you a mail offlist
> > with some infos about what I have found and for what
> > I will use the arduino. I would be happy, if you
> > can use it for you arduino project also!
> 
> Thank you for the infos!

  ...you are welcome! :)

> Best regards,
> 
> Ming-Che
> 

Best regards,

Meino





Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Corbin



On 04/30/2016 12:36 AM, meino.cra...@gmx.de wrote:


but
 eix sun-jre-bin
says "not found".

So I /think/ this page is a little outdated...?



All of the Java 1.6 JREs/JDKs have been depreciated.

more info ... https://packages.gentoo.org/packages/virtual/jdk

Replacement(s) : ( Java 1.8 )
"dev-java/oracle-jdk-bin" OR "dev-java/oracle-jre-bin"




Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Ming-Che Lee
Hi Meino

Am 30.04.2016 um 12:13 schrieb meino.cra...@gmx.de:

> One question: 
> Did you download the arduino-1.6.8 binary distribution or
> the sources and compile those locally on your GENTOO box?

I wanted a quick start so I downloaded the binary distribution:

https://www.arduino.cc/download_handler.php?f=/arduino-1.6.8-linux64.tar.xz

It's good enough for me to start with as a newbie to Arduino :-)

> PS: In a few minutes I will send you a mail offlist
> with some infos about what I have found and for what
> I will use the arduino. I would be happy, if you
> can use it for you arduino project also!

Thank you for the infos!

Best regards,

Ming-Che



Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Meino . Cramer
Ming-Che Lee  [16-04-30 12:04]:
> Hi Meino
> 
> Am 30.04.2016 um 07:36 schrieb meino.cra...@gmx.de:
> > Hi,
> >
> > WARNING! I AM __VERY__ NEW TO ARDUINO!  :)
> >
> > For a little project I need to program an Arduino board.
> > Since all needed lib/scatched/script - or whatever it
> > is called in case of the Arduino - are already implemented
> > by someone else I will not reinvent the wheel a second time :)
> >
> > Therefore I need the Arduino IDE.
> >
> 
> I am also new to Arduino, so here is what I did last week to install the
> latest Arduino IDE 1.6.8.
> 
> I started with installing Arduino IDE 1.0.5 from GENTOO:
> 
> $ emerge arduino
> 
> It pulled in all needed dependent packages for the IDE. Look carefully
> at the information displayed at the end of the emerge. You have to run
> 
> $ crossdev -s4 avr
> 
> to have the Tool-Chain for Arduino compiled.
> 
> Unfortunately I could not use IDE 1.0.5 because it didn't show some
> highlighted commands in the IDE correctly. So I downloaded IDE 1.6.8 and
> unzipped it in /opt. Next step was to run the installer
> 
> $ /opt/arduino-1.6.8/install.sh
> 
> To start IDE 1.6.8: /opt/arduino-1.6.8/arduino or via menu item.
> 
> Hope this helps.
> 
> Beste regards,
> 
> Ming-Che
> 
> 

Hi Ming-Che,


WHOW! :)

Thanks a LOT for the explanations! 8)
That will help to start programming the Arduino!

One question: 
Did you download the arduino-1.6.8 binary distribution or
the sources and compile those locally on your GENTOO box?

Best regards

Meino

PS: In a few minutes I will send you a mail offlist
with some infos about what I have found and for what
I will use the arduino. I would be happy, if you
can use it for you arduino project also!





Re: [gentoo-user] Arduino development on GENTOO Linux

2016-04-30 Thread Ming-Che Lee
Hi Meino

Am 30.04.2016 um 07:36 schrieb meino.cra...@gmx.de:
> Hi,
>
> WARNING! I AM __VERY__ NEW TO ARDUINO!  :)
>
> For a little project I need to program an Arduino board.
> Since all needed lib/scatched/script - or whatever it
> is called in case of the Arduino - are already implemented
> by someone else I will not reinvent the wheel a second time :)
>
> Therefore I need the Arduino IDE.
>

I am also new to Arduino, so here is what I did last week to install the
latest Arduino IDE 1.6.8.

I started with installing Arduino IDE 1.0.5 from GENTOO:

$ emerge arduino

It pulled in all needed dependent packages for the IDE. Look carefully
at the information displayed at the end of the emerge. You have to run

$ crossdev -s4 avr

to have the Tool-Chain for Arduino compiled.

Unfortunately I could not use IDE 1.0.5 because it didn't show some
highlighted commands in the IDE correctly. So I downloaded IDE 1.6.8 and
unzipped it in /opt. Next step was to run the installer

$ /opt/arduino-1.6.8/install.sh

To start IDE 1.6.8: /opt/arduino-1.6.8/arduino or via menu item.

Hope this helps.

Beste regards,

Ming-Che




[gentoo-user] Arduino development on GENTOO Linux

2016-04-29 Thread Meino . Cramer
Hi,

WARNING! I AM __VERY__ NEW TO ARDUINO!  :)

For a little project I need to program an Arduino board.
Since all needed lib/scatched/script - or whatever it
is called in case of the Arduino - are already implemented
by someone else I will not reinvent the wheel a second time :)

Therefore I need the Arduino IDE.

Here http://playground.arduino.cc/Linux/Gentoo I found
some instructions, how to install it on GENTOO (I am on
a 64 bit AMD machine...)

But I found this:
| 64-bit users:
| librxtx is reported to cause some problems on gentoo linux because of an 
overflow, 
| causing the IDE to fail. This problem is noted at rxtx here. Please go here 
for fixed binaries.

Above, "here" is a link ... which cannot be resolved.

Furthermore:
| Installing the Basics:
| First you need to log in as the superuser and install some necessary packages:
| emerge -avq sun-jre-bin crossdev

but
eix sun-jre-bin
says "not found".

So I /think/ this page is a little outdated...? 

An

eix arduino

gives two matches:

* dev-embedded/arduino
 Available versions:  1.0.5-r1^bs {doc examples ELIBC="FreeBSD"}
 Homepage:http://arduino.cc/ https://arduino.googlecode.com/
 Description: An open-source AVR electronics prototyping platform

* dev-ros/rosserial_arduino
 Available versions:  ~0.7.1 ** {test PYTHON_TARGETS="python2_7" 
ROS_MESSAGES="+cxx eus lisp +python"}
 Homepage:http://wiki.ros.org/rosserial_arduino
 Description: Libraries and examples for ROSserial usage on 
Arduino/AVR Platforms


If the first one is the IDE it is outdated. 
The current version is 1.6.8.

The second match seems not to be relevant in my case.

Question:
What software do I need for programming an Arduino board "the arduino
way to do it" -- preverable installing it "the GENTOO way to do it"
(read: I like sources and compilations, I dont like bin blobs from
unknown sources that much...)

Thank you very much for any help in advance!
Have a nice weekend! :)
Best regards,
Meino