https://wiki.octave.org/wiki/api.php?action=feedcontributions&user=Sils1297&feedformat=atomOctave - User contributions [en]2024-03-28T14:25:41ZUser contributionsMediaWiki 1.39.2https://wiki.octave.org/wiki/index.php?title=Octave_for_Arch_Linux&diff=3804Octave for Arch Linux2013-12-10T11:00:58Z<p>Sils1297: </p>
<hr />
<div>This page is intended as a quick introduction for building octave on archlinux. For more generic and recent build instructions, take a look at [[Building]].<br />
<br />
If you just want to have the latest version of octave and not intend to edit the sources, consider install [https://aur.archlinux.org/packages/octave-hg/?comments=all octave-hg] from the AUR. If you want to have a stable version from the repository, just execute<br />
<br />
sudo pacman -Syu octave<br />
<br />
If you encounter any problems during the build process that are not mentioned here, take a look at [https://aur.archlinux.org/packages/octave-hg/?comments=all https://aur.archlinux.org/packages/octave-hg/?comments=all]. Some problems are listed in the comments, new dependencies are easy to extract from the PKGBUILD.<br />
<br />
== Build dependencies ==<br />
To install the necessary build dependencies just execute (as root):<br />
<br />
pacman -S base-devel pcre mercurial gcc-fortran gperf perl rsync transfig arpack curl fftw fltk glpk glu graphicsmagick hdf5 java-environment qhull qscintilla texinfo gnuplot<br />
<br />
Assuming you have yaourt installed, the dependencies from the AUR are installed as follows (as normal user):<br />
<br />
yaourt -S gl2ps qrupdate epstool<br />
<br />
If you plan to build the documentation, install the following packets too:<br />
<br />
pacman -S graphviz doxygen<br />
<br />
== Building octave ==<br />
Checkout octave as described in [http://www.gnu.org/software/octave/get-involved.html http://www.gnu.org/software/octave/get-involved.html].<br />
<br />
It is recommended to build octave within a subdirectory.<br />
<br />
./bootstrap<br />
mkdir build<br />
cd build<br />
../configure MOC=moc-qt4 UIC=uic-qt4<br />
make -j3<br />
<br />
The only difference from the build on other systems are the parameters given to configure. They are necessary due to a problem with some configuration and the coexistance of qt4 and qt5. For more information take a look at the comments of octave-hg in the AUR.<br />
<br />
If you encounter further problems or find more dependencies, feel free to adress them here.<br />
<br />
[[Category:Building]]<br />
[[Category:GNU/Linux]]</div>Sils1297