From: Bob J. <jac...@us...> - 2007-05-27 23:51:32
|
Update of /cvsroot/jmri/site.new/install In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv30695 Modified Files: FAQLinux.html Linux.html Added Files: OpenSUSE.html Log Message: a little more detail on OpenSUSE --- NEW FILE: OpenSUSE.html --- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!-- $Id: OpenSUSE.html,v 1.1 2007/05/27 23:51:27 jacobsen Exp $ --> <html lang="en"> <head> <TITLE> JMRI: Linux Install Guide </TITLE> <!-- Style --> <META http-equiv=Content-Type content="text/html; charset=iso-8859-1"> <link rel="stylesheet" type="text/css" href="/css/default.css" media="screen"> <link rel="stylesheet" type="text/css" href="/css/print.css" media="print"> <link rel="icon" href="/images/jmri.ico" type="image/png"> <link rel="home" title="Home" href="/"> <!-- /Style --> <META content="Bob Jacobsen" name=Author> <META name="keywords" content="java model railroad JMRI install Linux"> </head> <body> <div id="container"> <p class="skipLink"><a href="#mainContent" accesskey="2">Skip to main content</a></p> <!-- Header --> <div id="header"> <!-- Logo --> <a href="/" title="Return to home page" accesskey="1"> <img src="/images/logo-jmri.gif" width="160" height="135" alt="JMRI Logo"> </a> <!-- /Logo --> <ul id="mainNav"> <!-- Top tool bar --> <li><a href="/download/" title="Get the latest software">Download</a></li> <li><a href="/apps/" title="Learn about JMRI applications">Applications</a></li> <li><a href="/hardware/" title="What hardware does JMRI support">Hardware</a></li> <li><a href="/doc/Manual/" title="Trouble-shooting, and FAQs">Manual</a></li> <li><a href="/doc/Technical/" title="Developing and extending JMRI">Developers</a></li> <li><A href="/community/" title="Who is JMRI">Acknowledgements</a></li> </ul> <div id="searchform"> <!-- Search Form --> <form id="search" method="get" action="http://www.google.com/custom"> <label for="q" title="Search JMRI.SourceForge.net">search JMRI: </label> <input type="hidden" name="cof" value="LW:200;LH:95;L:http://JMRI.sourceforge.net/images/logo.gif;GIMP:#cc0000;T:black;ALC:#0000ff;GFNT:grey;LC:#990000;BGC:white;AH:center;VLC:purple;GL:0;GALT:#666633;AWFID:9262c37cefe23a86;"> <input type="hidden" name="domains" value="JMRI.sourceforge.net"> <input type="hidden" name="sitesearch" value="JMRI.sourceforge.net"> <input type="text" id="q" name="q" accesskey="s" size="30"> <input type="submit" id="submit" value="go"> </form> </div> <!-- End #searchform --> </div> <!-- closes #header--> <!-- /Header --> <hr class="hide"> <div class="nomenu" id="mBody"> <div id="mainContent"> <H2> JMRI Install Guide: Linux </H2> This page was provided by Robert, and describes his successful experience installing JMRI on OpenSUSE Linux. Most of the effort when into getting the Java communications library installed and working. <PRE> First I deleted all references to rxtx from my java directory as follows: rm /usr/lib/jvm/java/jre/lib/i386/rxtx* rm /usr/lib/jvm/java/jre/lib/ext/comm.jar rm /usr/lib/jvm/java/jre/lib/ext/RXTXcomm.jar Then I re-installed rxtx-2.0-7pre2 as follows 1. make sure there's a JAVA_HOME environment variable # echo $JAVA_HOME should display something like /usr/lib/jvm/java 2. add JAVA_HOME to the PATH # PATH=$JAVA_HOME/bin:$PATH 3. unpack rxtx # tar zxf rxtx-2.0-7pre2.tar.gz 4. install it # cd rxtx-2.0-7pre2 # ./configure during configure it asks you whether to run the script to place comm.jar in the appropriate directory. On a side note, when I specified the comm.jar that you sent me (the 28034 byte one) it told me it was a Windows version of comm.jar so I grabbed the one that I downloaded the second time which is 29411 bytes which I got from javacomm20-x86. I thought Macs ran a flavour of linux? Oh well. This is the file I used: -rw-r--r-- 1 root root 29411 2007-05-27 10:40 comm.jar # make # make install and everything ended up in /usr/lib/jvm/java/jre/lib/javax.comm.properties /usr/lib/jvm/java/jre/lib/ext/comm.jar /usr/lib/jvm/java/jre/lib/ext/RXTXcomm.jar /usr/lib/jvm/java/jre/lib/i386/librxtxParallel-2.0.7pre2.so /usr/lib/jvm/java/jre/lib/i386/librxtxParallel.la /usr/lib/jvm/java/jre/lib/i386/librxtxParallel.so /usr/lib/jvm/java/jre/lib/i386/librxtxSerial-2.0.7pre2.so /usr/lib/jvm/java/jre/lib/i386/librxtxSerial.la /usr/lib/jvm/java/jre/lib/i386/librxtxSerial.so and javax.comm.properties contains Driver=gnu.io.RXTXCommDriver with a line feed after it :^) some other notes.. openSuse has no lock group, only uucp, I edited my /etc/group file like this: uucp:x:14:robert and permissions on /dev/ttyS0 are crw-rw---- 1 root uucp 4, 64 2007-05-27 11:56 /dev/ttyS0 Essentially I think I'd been messing around with it for so long I had different versions of rxtx and comm.jar everywhere. At least I didn't have to reinstall Linux (again!). Lesson - make sure you follow the instructions. If I'd loaded commapi version 2 in the first place it would have been fine :^) instead I just grabbed the first one I saw on the sun site which was version 3. </PRE> <hr class="hide"> <!-- Footer --> <hr class="hide"> <div id="footer"> <ul id="bn"> <li><a href="/sitemap/">Site Map</a></li> <li><a href="/contact/">Contact Us</a></li> </ul> <p>Thanks and congratulations to <A href="/community/" title="Who is JMRI"> all who contributed</A>! </p> <p>Copyright © 1997 - 2004 JMRI Community. <P>JMRI, DecoderPro, PanelPro, DispatcherPro and associated logos are our trademarks. <P><A href="/Copyright.html">Additional information on copyright, trademarks and licenses is linked here.</a></p> <BR/>Site hosted by: <BR/> <A href="http://sourceforge.net"> <IMG src="http://sourceforge.net/sflogo.php?group_id=26788&type=1" width="88" height="31" border="0" alt="SourceForge Logo"> </A> </div> <!-- /Footer --> </div><!-- closes #mainContent--> </div> <!-- closes #mBody--> </div> <!-- closes #container --> </body> </html> Index: FAQLinux.html =================================================================== RCS file: /cvsroot/jmri/site.new/install/FAQLinux.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -d -r1.8 -r1.9 *** FAQLinux.html 18 Sep 2006 01:32:24 -0000 1.8 --- FAQLinux.html 27 May 2007 23:51:27 -0000 1.9 *************** *** 69,74 **** contains a description of his work. <p> ! Jon Miner has also provided a ! <A HREF="http://trainguy.dyn.dhs.org/~jminer/dcc/Installing_JMRI_on_RedHat_Fedora_Core_3.html">page with a nice description</a>. </dd> --- 69,78 ---- contains a description of his work. <p> ! Jon Miner has provided a ! <A HREF="http://trainguy.dyn.dhs.org/~jminer/dcc/Installing_JMRI_on_RedHat_Fedora_Core_3.html">page with a nice description</a> ! of installing on Fedora. ! <P> ! Robert has provided a note on his ! <A HREF="OpenSUSE.html">experiences with OpenSUSE</a>. </dd> Index: Linux.html =================================================================== RCS file: /cvsroot/jmri/site.new/install/Linux.html,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** Linux.html 27 Aug 2006 14:45:47 -0000 1.13 --- Linux.html 27 May 2007 23:51:27 -0000 1.14 *************** *** 72,75 **** --- 72,84 ---- These steps should work for Red Hat 8, 9 and 10. They don't work on RedHat 7.</P> + + <P>(For other versions of Linux, please + see the first item in our + <A HREF="FAQLinux.html">JMRI Linux FAQ</a>). + + <P>You'll need the correct serial port or USB port + to attach to your layout hardware. JMRI is compatible + with USB-to-Serial adapters, so long as they have + Linux drivers that make them look like regular serial ports.</P> <LI>Get and Install Java (if needed)</LI> |