Go Down

Topic: Trouble running on amd64 ubuntu (Read 442 times) previous topic - next topic

hydoskee

Hi, when I run make.sh, I get some warnings, but it compiles.  Then when I run "run.sh", it says
[: 51: ==: unexpected operator

and then yells at me about whether I have jikes installed.  I've installed the latest tarball of jikes (1.22), so that's definitely not it.  Any ideas what I can do to make arduino run properly?

mellis

See this thread: http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1163538117/1#1

I just fixed this, so the correct script should be in the Arduino 0007 release.

hydoskee

I added the code you submitted, and now I just get:

[: 52: ==: unexpected operator



mellis

Hmm.  Your run.sh file should just look like this:


#!/bin/sh

cd work && ./arduino && cd ..


and your work/arduino file should be:


#!/bin/sh

CLASSPATH=java/lib/rt.jar:lib:lib/build:lib/pde.jar:lib/core.jar:lib/antlr.jar:lib/oro.jar:lib/registry.jar:lib/mrj.jar:lib/RXTXcomm.jar
export CLASSPATH

# put the directory where this file lives in the front of the path, because
# that directory also contains jikes, which we will need at runtime.
#
PATH=`pwd`/`dirname $0`:`pwd`/java/bin:${PATH}
export PATH

# put the directory with the native RXTX libs in the library path
LD_LIBRARY_PATH=`pwd`/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH

java processing.app.Base


I'm not sure where the == would be coming from.  Any idea?

hydoskee

After the update to my work/ardino it works like a dream.  Thanks!

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy