package package file location inhibits installation teensyduino

Bug #812580 reported by Martijn
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Arduino
New
Undecided
Unassigned

Bug Description

The teensyduino extenstion to the arduino package cannot be installed because the teensyduino installer expects the executable to be in the same directory as the package content. On ubuntu (and any other sane distro), the executable is located in /usr/bin whereas the most of the package is located in /usr/share/arduino.
This should of course be fixed in the teensyduino installer, but creating an empty file /usr/share/arduino/arduino allows a user to install teensyduino. Obviously, this is an dirty hack since this will copy files that are not controlled by dpkg in /usr/share.
A nice solution would be the creation of an deb for teensyduino.

P.S. the Teensy is a Arduino like MCU board that can work with the arduino software, when the teensyduino package is installed.

Tags: xenial
Revision history for this message
Chris Weiss (cweiss) wrote :

this workaround did not work for me. Seems that until PJRC wants to make a deb that supports the arduino deb we're stuck downloading ardino and running it separately.

Revision history for this message
Kris Rose (qn-launchpad) wrote :

The script on https://gist.github.com/JayWalker512/3746938 did it for me (on jessie) -- brutal but sweet. Once I've tested it properly I'll consider debianizing it and posting it to debian.

tags: added: xenial
Revision history for this message
Peter Newman (peternewman) wrote :

The script doesn't look like it will install the Teensy libs etc.

To try and work around it, in /usr/share/arduino I ran "sudo ln -s /usr/bin/arduino arduino", but it then complains that "java: "lib/pde.jar" object: "processing/app/Base.class" wrong size, unsupported Arduino version"

I'm running Xenial, with this installed:
ii arduino 2:1.0.5+dfsg2-4 all AVR development board IDE and built-in libraries
ii arduino-core 2:1.0.5+dfsg2-4 all Code, examples, and libraries for the Arduino platform

Revision history for this message
Peter Newman (peternewman) wrote :

For info, I was able to get it to install by grabbing the pde.jar from the appropriate Arduino tarball and temporarily swapping it while I completed the install.

In my case I actually need the newest Arduino release, so I've moved away from the deb for now unfortunately.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.