Just installed the arduino package from the (K)Ubuntu 12.04 distro. Install apparently went fine.
First attempts to compile a trivial test case resulted in 2 warnings when building the core library (Tone.cpp and the IPAddress class were the culprits).
Then, when I compiled a little test program using the IDE of the package, I sometimes (not always) get a Java NullPointerException:
java.lang.NullPointerException
at processing.app.debug.Compiler.execAsynchronously(Compiler.java:326)
at processing.app.debug.Compiler.compile(Compiler.java:182)
at processing.app.Sketch.build(Sketch.java:1569)
at processing.app.Sketch.build(Sketch.java:1546)
at processing.app.Editor$DefaultRunHandler.run(Editor.java:1845)
at java.lang.Thread.run(Thread.java:679)
The above error message is displayed in the terminal window section of the IDE. At one occasion, the IDE even crashed entirely. The null pointer exception happens occasionally on two different machines, one 32-bit, the other 64-bit, both running Kubuntu 12.04.
Did something go wrong with both installs? Something wrong in Ubuntu's distro, for instance an old version (it says 1.0 in the "about" of the IDE, and it wouldn't be the first time that Ubuntu is way behind)?
The problems in the core library are easily fixed as the sources come with the package.
Finally, I couldn't figure out how to switch on the line number display in the editor of the IDE. Neither single nor double nor triple clicking on the compiler error message got me to the line in error. Am I missing something? Is that maybe also the result of an old version in the Ubuntu distro?
Any words of wisdom? In case there is not just an old version in the Ubuntu distro, is there anything I could do to help (like running the IDE through valgrind etc... - even though the java error message seems pretty detailed already)