Tested on Windows 98 ed 2, Windows 2000, & Windows NT ed 4, & Windows XP!
Software Dependencies
o Visual C++ 6.0 SP5 o Cygwin 1.3.3 http://www.cygnus.com install at <drive>:\cygwin <drive>:\packages When the cvs portion of cygwin is being loaded, specify 'dos' for the default file mode, so that Visual C++ will recognize .dsw and .dsp files. o JDK 1.4 - Java Development Kit (actually Oliver & L2 Tools use this) http://java.sun.com/j2se/1.4/Checking Out Stanley VJMPL, Livingstone, L2 Tools, & Oliver Source Files
You must be inside Ames to checkout files from CVS. Otherwise source "tar balls" are available from Will Taylor. WinCVS ------ http://sg => "Downloads & Software Info" => "Windows Downloads" o Cvs/SSH - A stable SSH version known to work with WinCVS. o WinCVS 1.3.6b - Known version of WinCVS to work with SSH. WinCVS Preferences: CVSROOT - <user-name>@wow.arc.nasa.gov:/home/cvs/ISG-Repository Authentication - SSH server Alternatively, you can run 'cvs' under cygwin. To checkout C++-Livingstone: cvs checkout xml-windows # a CVS "module" cvs checkout -r L2_2_7_8_2 L2 # a CVS "module" To checkout Stanley and tcl/Tk & CORBA support: cvs checkout stanley-support-windows # a CVS "module" cvs checkout -r L2_2_7_8_2 stanley-vjmpl # a CVS "module" To checkout Skunkworks compiled Java code and data: % cvs checkout -r L2_2_7_8_2 l2tools-jars # (usually checked out as a part of L2) % cvs checkout -r L2_2_7_8_2 l2tools-data # (usually checked out as a part of L2) To checkout Oliver (Stanley II) cvs checkout -r L2_2_7_8_2 oliverUntarring Support, Livingstone, L2 Tools, & Oliver Tar Source Files
Remote (to Ames) users will be e-mailed four gzipped tar files: support-src-win.tar.gz, l2-src_2.7.8.1.tar.gz, l2tools-src_2.7.8.1.tar.gz, and groundworks-src_2.7.8.1.tar.gz, which comprise the source file hierarchy. They should be unpacked in the same directory to produce: % cd <your-root-dir> % ls l2-regress mba l2-tools support NOTE: These tar files are built using GNU gtar and GNU gzip. Unpack them with WinZip, or gunzip/gtar so that CR/LF issues are handled properly. Follow the directions below (l2-tools/stanley-jmpl/README-WINDOWS.txt) or from our division web server: http://ic.arc.nasa.gov/projects/L2/doc/starting/stanley-build-win32.html The support files will not change with new L2/L2 Tools releases. However, with each new release, you will be e-mailed new tar files: l2-src_<n.m.o>.tar.gz, l2tools-src_<n.m.o>.tar.gz, and groundworks-src_<n.m.o>.tar.gz. Discard all the top directories, except for support: % /bin/rm -rf mba l2-regress l2-tools Unpack the new tar files and re-build. NOTE: If you have received this software under the NASA Open Source Agreement, l2tools-src_<n.m>.tar.gz will be replaced by l2tools-src-no-mico_<n.m>.tar.gz. See instructions for installing MICO on your system.Building & Installing Stanley VJMPL (And Livingstone, L2 Tools, & Oliver Too)
Setting Environment Variables ============================= HOME can be set in autoexec.bat, as done immediately below. However, if the autoexec.bat setting of HOME is required to be something different, it can be done in cygwin. autoexec.bat --------------------- SET HOME=C:\cygwin\home\wtaylor REM May already be set on some Windows releases SET WINTEMP=C:\TEMP SET TEMP=C:\TEMP SET TMP=C:\TEMP REM CVS vars only used internal to Ames SET CVSROOT=:ext:taylor@serengeti.arc.nasa.gov:/home/cvs/ISG-Repository SET CVS_RSH=ssh.exe Setting HOME in Cygwin ====================== Edit the /etc/profile file. You can edit this file under cygwin or windows. In the cygwin environment, vi /etc/profile. In windows, open /cygwin/etc/profile with WinWord (Notepad doesn't handle the formatting properly). Comment out the if check for $HOME containing no characters and change the path to your desired cygwin/home. For example, below the user has installed cygwin on e:\cygwin. /etc/profile ------------ PATH="/usr/local/bin:/usr/bin:/bin:$PATH" USER="`id -un`" # Set up USER's home directory # Force the cygwin HOME directory #if [ -z "$HOME" ]; then HOME="/cygdrive/e/cygwin/home/$USER" #fi ... ... To build C++-Livingstone: ========================= o Microsoft Visual C++ 6.0 To enable mode recovery, ensure that ENABLE_RECOVERY is defined in the project files for readers, debuggers and transition. L2 Toolss/Stanley/Oliver Compatible L2 Shared Library ----------------------------------------------- File->Open Workspace: mba/mba.dsw Project->Set Active Project: livdll Build->Rebuild All Project->Set Active Project: l2test Build->Build l2test.exe To build Stanley and its support programs ========================================= "Start->Programs->MS-DOS Prompt" # set VC++ env variables, e.g. D:\progra~1\micros~1\vc98\bin\vcvars32.bat # set L2 root env variable, e.g. set L2_ROOT=D:\cygwin\home\wtaylor\L2Root cd %L2_ROOT%\l2-tools\stanley-jmpl Makefile-all.bat