Compiling on OpenBSD: Difference between revisions

→‎Configuring and Compiling Octave: Add note about memory resource limitations
(List detailed instructions for building on OpenBSD)
 
(→‎Configuring and Compiling Octave: Add note about memory resource limitations)
Line 35: Line 35:


If building from a mercurial clone, the source tree must be bootstrapped before running configure. This requires the gnulib library to exist as a subdirectory of the Octave tree, or by passing <tt>--gnulib-srcdir</tt> to the bootstrap script. Some portability issues with gnulib on OpenBSD are currently being worked on, but once that is all worked out the version of gnulib mirrored in Octave's mercurial repository should work.
If building from a mercurial clone, the source tree must be bootstrapped before running configure. This requires the gnulib library to exist as a subdirectory of the Octave tree, or by passing <tt>--gnulib-srcdir</tt> to the bootstrap script. Some portability issues with gnulib on OpenBSD are currently being worked on, but once that is all worked out the version of gnulib mirrored in Octave's mercurial repository should work.
Before compiling, the process limit for data segment size needs to be increased to enable the compiler to handle certain files in Octave's code base. This is done with the ulimit command before starting the build. So, once configured as above, run
  ulimit -d 8388608
  gmake
  gmake check
to compile Octave and run the test suite.
296

edits