Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-26-2006, 03:28 AM   #1
Senior Member
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Trouble installing leJOS

I feel I'm running into a brick wall...

leJOS is a small java based OS designed to work as a replacement for the LEGO MINDSTORMS RCX programmeable brick (a small robotics set) and especially since the original LEGO software will only work on a windows machine I'm very keen to get leJOS installed on my linux box.

After doing a lot of reading I've run into several problems that I can't seem to solve:
  • The installation instruction mention (tutorial and on homepage give conflicting information about the java version that needs to be installed. The first says "make sure to download the SDK, not the JRE!" the second "Make sure the JDK's bin directory is in your PATH". I installed java following the instructions at the FedoraFAQ using jdk to create a series of 'java-1.5*' rpms. Does that mean I have the right java version?
  • Preparations for installation involve exporting certain environment variables, one of them being 'export CLASSPATH=$CLASSPATH:.:$LEJOS_HOME/lib/classes.jar:$LEJOS_HOME/lib/rcxcomm.jar'. However, these jar files do not exist in the specified location!?
  • When I finally run 'make' after dutifully following all the instructions I get the following error message:
    [linmix@bigone lejos_2_1_0]$ make
    cd tools; make OSTYPE=linux
    make[1]: Entering directory `/mnt/hde1/lejos_2_1_0/tools'
    cd firmdl; make
    make[2]: execvp: ../../ Permission denied
    make[2]: Entering directory `/mnt/hde1/lejos_2_1_0/tools/firmdl'
    O2    -c -o mkimg.o mkimg.c
    make[2]: O2: Command not found
    make[2]: [mkimg.o] Error 127 (ignored)
    make[2]: execvp: ../../ Permission denied
    O2    -c -o srec.o srec.c
    make[2]: O2: Command not found
    make[2]: [srec.o] Error 127 (ignored)
    make[2]: execvp: ../../ Permission denied
    mkimg.o srec.o -o mkimg -O2
    make[2]: mkimg.o: Command not found
    make[2]: *** [mkimg] Error 127
    make[2]: Leaving directory `/mnt/hde1/lejos_2_1_0/tools/firmdl'
    make[1]: *** [firmdl] Error 2
    make[1]: Leaving directory `/mnt/hde1/lejos_2_1_0/tools'
    make: *** [all_ctools] Error 2
    However, all files have exectue permissions

Since I have a USB IR tower, I'll need to eventually learn how to set up CVS to use the latest version as the site informs it is the only one that supports the USB tower, but I was hoping to learn how to do a simple install before going any further.

Any help or experience is much appreciated


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Trouble! Drenerk Linux - Newbie 6 03-01-2005 12:30 PM
lejos compile error brainlesspinkey Linux - Software 0 12-24-2004 05:38 PM
trouble with installing chaos_dragon Linux - Newbie 1 10-22-2004 02:38 PM
Trouble Installing 9.2 star geezer Mandriva 4 12-02-2003 08:28 PM
Trouble installing RH 8. Maxplayer Linux - Newbie 7 10-10-2002 12:27 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:12 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration