LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-18-2020, 01:40 PM   #1
TheTKS
Member
 
Registered: Sep 2017
Location: The deep south... of Canada
Distribution: Slackware, Xubuntu, OpenBSD, elementary, Raspberry Pi OS, Puppy, TinyCore
Posts: 251

Rep: Reputation: 152Reputation: 152
Arduino IDE on RPi4 SlackwareARM -current using modified Slackbuild


That went well, I'm quite pleased.

I installed the Arduino IDE ver 1.8.10 on RPi4 on SlackwareARM -current, and it seems to be working fine.

1. Installed Sarpi's jdk-8u221 (thanks Exaga)

2. Modified the arduino Slackbuild files arduino.info [ver 1.8.3 => 1.8.10] and arduino.SlackBuild [ver update and added arm architecture] (thanks Mario Preksavec for the arduino Slackbuild)

TKS
 
Old 01-19-2020, 08:47 AM   #2
TheTKS
Member
 
Registered: Sep 2017
Location: The deep south... of Canada
Distribution: Slackware, Xubuntu, OpenBSD, elementary, Raspberry Pi OS, Puppy, TinyCore
Posts: 251

Original Poster
Rep: Reputation: 152Reputation: 152
Followup: didn’t modify the libtinfo/libncurses section of arduino.Slackbuild, need to check if a symlink to a newer lib should be added somewhere
 
Old 02-15-2020, 12:36 PM   #3
TheTKS
Member
 
Registered: Sep 2017
Location: The deep south... of Canada
Distribution: Slackware, Xubuntu, OpenBSD, elementary, Raspberry Pi OS, Puppy, TinyCore
Posts: 251

Original Poster
Rep: Reputation: 152Reputation: 152
The Slackbuild symlinks /opt/arduino/hardware/tools/avr/lib/libtinfo.so.5 to /lib/libncurses.so.5 (for 32 bit; /lib64/... if 64 bit.)

In -current, libtinfo has been split from libncurses, so I disabled the symlink
/opt/arduino/hardware/tools/avr/lib/libtinfo.so.5 to /lib/libncurses.so.5
and generated a new symlink
/opt/arduino/hardware/tools/avr/lib/libtinfo.so.5 to /lib/libtinfo.so.6

With that said, I still should check what libtinfo/libncurses is used for. The arduino IDE did everything I needed it for before generating the new symlink, so not sure if this symlink step mattered to me. TBD.



Also: jdk updated on Sarpi's site, and now on my RPi, to jdk-8u241

Last edited by TheTKS; 02-15-2020 at 12:39 PM.
 
1 members found this post helpful.
Old 02-15-2020, 10:50 PM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware [ARM]
Posts: 690

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Quote:
Originally Posted by TheTKS View Post
jdk updated on Sarpi's site, and now on my RPi, to jdk-8u241
Thanks for sharing TheTKS. After reading a little more into Arduino IDE this morning, now I understand why jdk is needed. Good work.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compilation error with slackbuild qt5 (5.9.7) and slackwareARM-current jowski Slackware - ARM 14 11-17-2019 09:39 PM
LXer: 6 Arduino projects to play with on Arduino Day LXer Syndicated Linux News 0 03-27-2015 08:40 AM
Raspberry Pi - xbmc SlackBuild fails (SlackwareARM 14.1) slacksam Slackware - ARM 2 07-28-2014 02:44 PM
Ubuntu 12.10 Attempted Installation of Arduino IDE with arduino-1.0.5-linux32.tar.gz mahnac72 Linux - Newbie 2 06-21-2013 04:26 PM
[SOLVED] Arduino MEGA 2560 REV3, Arduino IDE working software versions jamesf Slackware 1 05-02-2012 12:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 12:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration