12.07.2015 Views

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

GNU Octave - Local Sector 7 web page

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Appendix C: Installing <strong>Octave</strong> 331On an otherwise idle Pentium 133 running Linux, it will take somewhere between 1-1/2 to 3 hours to compile everything, depending on whether you are building sharedlibraries. You will need about 100 megabytes of disk storage to work with (considerablyless if you don’t compile with debugging symbols). To do that, use the commandmake CFLAGS=-O CXXFLAGS=-O LDFLAGS=instead of just ‘make’.• If you encounter errors while compiling <strong>Octave</strong>, first check the list of known problemsbelow to see if there is a workaround or solution for your problem. If not, seeAppendix B [Trouble], <strong>page</strong> 323, for information about how to report bugs.• Once you have successfully compiled <strong>Octave</strong>, run ‘make install’.This will install a copy of octave, its libraries, and its documentation in the destinationdirectory. As distributed, <strong>Octave</strong> is installed in the following directories. In the tablebelow, prefix defaults to ‘/usr/local’, version stands for the current version numberof the interpreter, and arch is the type of computer on which <strong>Octave</strong> is installed (forexample, ‘i586-unknown-gnu’).‘prefix/bin’<strong>Octave</strong> and other binaries that people will want to run directly.‘prefix/lib’Libraries like libcruft.a and liboctave.a.‘prefix/share’Architecture-independent data files.‘prefix/include/octave’Include files distributed with <strong>Octave</strong>.‘prefix/man/man1’Unix-style man <strong>page</strong>s describing <strong>Octave</strong>.‘prefix/info’Info files describing <strong>Octave</strong>.‘prefix/share/octave/version/m’Function files distributed with <strong>Octave</strong>. This includes the <strong>Octave</strong> version,so that multiple versions of <strong>Octave</strong> may be installed at the same time.‘prefix/lib/octave/version/exec/arch’Executables to be run by <strong>Octave</strong> rather than the user.‘prefix/lib/octave/version/oct/arch’Object files that will be dynamically loaded.‘prefix/share/octave/version/imagelib’Image files that are distributed with <strong>Octave</strong>.C.1 Installation ProblemsThis section contains a list of problems (and some apparent problems that don’t reallymean anything is wrong) that may show up during installation of <strong>Octave</strong>.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!