About this bug:

------------------------------------------------------------------------------------------------------------------------------
However, there is another bug in 0.8-1 that wasn't found until after precise 
was released:
/usr/share/Arduino.mk doesn't point to the correct location of ard-parse-boards

A work-around for now:
sudo gedit /usr/share/Arduino.mk

find the line:
PARSE_BOARD = ard-parse-boards --boards_txt=$(BOARDS_TXT)

and change it to:
PARSE_BOARD = /usr/share/arduino/ard-parse-boards --boards_txt=$(BOARDS_TXT)
------------------------------------------------------------------------------------------------------------------------------

Someone forgot to configure ARDUINO_DIR in Arduino.mk.

A possible patch to Arduino.mk:

@@ -185,8 +185,12 @@
 
 ifneq (ARDUINO_DIR,)
 
+ifndef ARDUINO_DIR
+ARDUINO_DIR = /usr/share/arduino
+endif
+
 ifndef AVR_TOOLS_PATH
-AVR_TOOLS_PATH    = /usr/bin
+AVR_TOOLS_PATH = /usr/bin
 endif
 
 ifndef ARDUINO_ETC_PATH
@@ -215,7 +219,7 @@
 endif
 
 ifndef PARSE_BOARD
-PARSE_BOARD = ard-parse-boards --boards_txt=$(BOARDS_TXT)
+PARSE_BOARD = $(ARDUINO_DIR)/ard-parse-boards --boards_txt=$(BOARDS_TXT)
 endif
 
 # Which variant ? This affects the include path

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/986869

Title:
  bug in ard-parse-boards perl script

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/arduino-mk/+bug/986869/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to