lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi] How to build lmi from source on msw


From: Greg Chicares
Subject: [lmi] How to build lmi from source on msw
Date: Sun, 09 Dec 2007 22:01:56 +0000
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)

Create a "C:\cygwin-cache" folder. Save this program
  http://cygwin.com/setup.exe
there, then run it. It offers many options. Usually the defaults
are exactly what you need, so just click "Next" on each screen
without changing anything, except in these two cases:

(a) On the "Choose A Download Site" screen, select
  ftp://ftp.heanet.ie
  [here's why:  http://sourceware.org/ml/cygwin/2007-07/msg00248.html ]
  [furthermore: http://sourceware.org/ml/cygwin/2007-12/msg00184.html ]
then copy and paste this URL
  http://download.savannah.gnu.org/releases/lmi/
into "User URL" and click "Add", then click "Next". When you
see the (expected) message
  "Warning! Unmet Dependencies Found"
just click "Next".

(b) On the last screen, make sure "Add icon to Start Menu" is
checked, then click "Finish".

Start Cygwin 'bash' from the "Start Menu". A 'bash' window
appears. Open its "Properties", check both "QuickEdit Mode" and
"Insert Mode", click "OK", then pick "Modify shortcut that
started this window" and click "OK" once more. With those
"Properties" set, you can paste into 'bash' simply by clicking
the right mouse button.

Copy and paste these lines into 'bash':

cd /tmp; wget -N 
'http://cvs.savannah.gnu.org/viewvc/*checkout*/lmi/lmi/install_msw.sh'
logfile=log-`date -u +'%Y%m%dT%H%MZ'`; echo "Log file is '$logfile.tar.bz2'."
./install_msw.sh >$logfile 2>&1; tar -cjf $logfile.tar.bz2 $logfile

Installation proceeds silently for about an hour. When you see
"Finished building lmi", copy and paste these lines into 'bash':

export PATH=/opt/lmi/local/bin:/opt/lmi/local/lib:$PATH
cd /opt/lmi/bin; ./lmi_wx_shared --data_path=/opt/lmi/data

You should see lmi's GUI. Try "File|New|Illustration", then hit
"OK"; you should see values. Then try "File|Print preview". You
should see an illustration in your 'pdf' viewer. But if you see
  'java' is not recognized as an internal or external command,
  operable program or batch file
then (for printing only) you need 'java'. You can get a version
that's been tested with lmi here:
  http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
Click on "Download J2RE", then download and run this file:
  j2re-1_4_2_06-windows-i586-p.exe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]