Package: arduino
Version: 1:1.0+dfsg-6
Severity: normal

Dear Maintainer,

I wanted to try compiling one of the example sketches on the command line.
Things work fine in the GUI btw, but on the command line, this happens:

sketchbook/SchMatrixDummy4$ make
/usr/share/arduino/Arduino.mk:513: build-cli/depends.mk: No such file or 
directory
mkdir build-cli
echo '#include <Arduino.h>' > build-cli/SchMatrixDummy4.cpp
cat  SchMatrixDummy4.ino >> build-cli/SchMatrixDummy4.cpp
make: ard-parse-boards: Command not found
make: ard-parse-boards: Command not found
make: ard-parse-boards: Command not found
/usr/bin/avr-g++ -MM -mmcu= -DF_CPU= -DARDUINO=100 -I. 
-I/usr/share/arduino/hardware/arduino/cores/arduino 
-I/usr/share/arduino/hardware/arduino/variants/  -g -Os -w -Wall 
-ffunction-sections -fdata-sections -fno-exceptions 
build-cli/SchMatrixDummy4.cpp -MF build-cli/SchMatrixDummy4.d -MT 
build-cli/SchMatrixDummy4.o
cc1plus: error: missing argument to "-mmcu="
make: *** [build-cli/SchMatrixDummy4.d] Error 1
rm build-cli/SchMatrixDummy4.cpp
sketchbook/SchMatrixDummy4$ 

Looking around, I find there's no ard-parse-boards file anywhere in debian.

For completeness, this is my Makefile:

ARDUINO_DIR  = /usr/share/arduino

TARGET       = SchMatrixDummy4
ARDUINO_LIBS = 

BOARD_TAG    = uno
ARDUINO_PORT = /dev/ttyUSB0

include /usr/share/arduino/Arduino.mk

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (999, 'testing'), (990, 'stable'), (900, 'unstable'), (90, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages arduino depends on:
ii  arduino-core                   1:1.0+dfsg-6
ii  default-jre [java6-runtime]    1:1.6-46
ii  libjna-java                    3.2.7-4
ii  librxtx-java                   2.2pre2-10
ii  openjdk-6-jre [java6-runtime]  6b24-1.11-4

Versions of packages arduino recommends:
ii  extra-xdg-menus  <none>
ii  policykit-1      0.104-1

arduino suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to