help-octave
[Top][All Lists]
Advanced

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

Re: Problems installing Octave under Windows 95


From: Phil Austin
Subject: Re: Problems installing Octave under Windows 95
Date: Fri, 29 Jan 1999 11:35:55 -0800

>>>>> "Dave" == Dave Borger <address@hidden> writes:

    Dave> OK. Back from meeting.  I moved the entire
    Dave> ...\octave-2.0.13-i386-pc-cygwin32 installation directory to
    Dave> the C drive (and renamed it 'tio' to avoid all of the
    Dave> typing).  


I don't know whether this might help, but we've just set our PC lab
up with octave.  We edited the octave script so that it first
mounted our g: drive to /octave, then everything worked fine.  I'm
attaching the edited octave script, the contents of LOADPATH, and
our autoexec.bat:
___________________________________
#!/bin/sh
#
# Wrapper for octave for binary installations that can't install
# octave in /usr/local/bin.
#
# The real binary should be installed in as octave.bin, and this file
# should be installed in the same directory as octave.

if ! test -d /octave/bin; then
  mount g:/octave /octave >/dev/null 2>&1
fi

if test -n "$LD_LIBRARY_PATH"; then
  LD_LIBRARY_PATH="/octave/lib/octave-2.0.13:$LD_LIBRARY_PATH"
else
  LD_LIBRARY_PATH="/octave/lib/octave-2.0.13"
fi
export LD_LIBRARY_PATH

OCTAVE_HOME=/octave
export OCTAVE_HOME

exec $OCTAVE_HOME/bin/octave.bin $*


_____________________

LOADPATH = 
.:/octave/libexec/octave/site/oct/i386-pc-cygwin32//:/octave/share/octave/site/m//:/octave/libexec/octave/2.0.13/oct/i386-pc-cygwin32//:/octave/share/octave/2.0.13/m//

_____________________

rem - By Windows Setup - MSCDEX.EXE /D:OEMCD001 /L:E
PATH=%PATH%;g:\w95bin;c:\idrisiw;g:\tcl\bin
regedit /L:c:\windows\system.dat /R:c:\windows\user.dat c:\temp\patch.reg
REM Add path information for cygwin,octave,emacs                              
SET PATH=%PATH%;g:\cygwin-b20\h-i586-cygwin32\bin
SET PATH=%PATH%;g:\octave\bin
SET PATH=%PATH%;g:\emacs\bin
SET HOME=C:\
SET OCTAVE_HOME=g:/octave
SET TERM=linux
C:\PROGRA~1\DRSOLO~1\ANTI-V~1\GUARD /COPY /WRITE


Phil Austin             INTERNET: address@hidden
(604) 822-2175          FAX:      (604) 822-6150

http://www.geog.ubc.ca/~phil
Associate Professor
Atmospheric Sciences Programme
Geography #217
University of British Columbia
1984 W Mall
Vancouver, BC  V6T 1Z2
CANADA




reply via email to

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