Editing Compiling on OpenBSD
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
This page lists specific instructions and issues with compiling the current development version of Octave on OpenBSD. The goal is for the issues listed here to be resolved so that compiling Octave on OpenBSD is as easy as it is for GNU/Linux and other Unixes. | This page lists specific instructions and issues with compiling the current development version of Octave on OpenBSD. The goal is for the issues listed here to be resolved so that compiling Octave on OpenBSD is as easy as it is for GNU/Linux and other Unixes. | ||
Line 14: | Line 12: | ||
pkg_add autoconf automake bison gperf libtool | pkg_add autoconf automake bison gperf libtool | ||
== Configuring and Compiling Octave == | == Configuring and Compiling Octave == | ||
Line 45: | Line 33: | ||
--with-qhull=-lqhull6 \ | --with-qhull=-lqhull6 \ | ||
--disable-docs | --disable-docs | ||
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 | 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 | ||
Line 53: | Line 43: | ||
to compile Octave and run the test suite. | to compile Octave and run the test suite. | ||