Windows Installer: Difference between revisions

Jump to navigation Jump to search
explanation added, where the script "./configure" comes from, Stefan Pofahl
(explanation added, where the script "./configure" comes from, Stefan Pofahl)
(One intermediate revision by the same user not shown)
Line 11: Line 11:
# <code>hg clone https://hg.octave.org/mxe-octave</code><ref>Use <code>hg clone https://hg.octave.org/mxe-octave <name of mxe-octave build dir></code> to choose another directory.</ref>
# <code>hg clone https://hg.octave.org/mxe-octave</code><ref>Use <code>hg clone https://hg.octave.org/mxe-octave <name of mxe-octave build dir></code> to choose another directory.</ref>
# <code>cd mxe-octave</code>
# <code>cd mxe-octave</code>
# <code>./bootstrap</code>
# <code>./bootstrap</code> (this step created the executable script <code>./configure</code>)
# <code>./configure</code>
# <code>./configure</code>
# <code>make all nsis-installer</code>
# <code>make all nsis-installer</code>
Line 74: Line 74:
===Build installers for Octave development versions===
===Build installers for Octave development versions===


# Make sure that you have an enabled entry for '''"deb-src"''' in your '''"sources.list"''', it should contain something like '''"deb-src http://..."'''  (for Ubuntu Focal / 20.04 this could be: '''"deb-src&nbsp;http://in.archive.ubuntu.com/ubuntu&nbsp;focal&nbsp;universe"''' or a different country domain like '''"at."''' for Austria), this is a prerequisite for the next step
# Install necessary packages with the following command <code>sudo apt build-dep octave</code>
# Build the "stable" or "default" Octave development branch on Linux (in separate source and build trees) including your favorite modifications and patches.  Octave must be configured with Java support.  How to do this depends on your Linux distribution, see [[Octave for GNU/Linux]].
# Build the "stable" or "default" Octave development branch on Linux (in separate source and build trees) including your favorite modifications and patches.  Octave must be configured with Java support.  How to do this depends on your Linux distribution, see [[Octave for GNU/Linux]].
# Verify that Octave runs fine in Linux (for example using <code>make check</code> and by trying to run your build <code>./run-octave --gui</code>).
# Verify that Octave runs fine in Linux (for example using <code>make check</code> and by trying to run your build <code>./run-octave --gui</code>).
# Create a distribution archive called '''"octave-<version>.tar.lz"''' in the top build directory with <code>make dist-lzip DIST_IGNORE_HG_STATE=1</code>.
# Create a distribution archive called '''"octave-<version>.tar.lz"''' in the top build directory with <code>make dist-lzip DIST_IGNORE_HG_STATE=1</code>, if this does not work, because the necessary rule is missing you could try <code>make dist DIST_IGNORE_HG_STATE=1</code>.
# Move or copy '''"octave-<version>.tar.lz"''' to the {{Path|<mxe-octave build>/pkg}} folder (or create a symbolic link to it).
# Move or copy '''"octave-<version>.tar.lz"''' to the {{Path|<mxe-octave build>/pkg}} folder (or create a symbolic link to it).
# Follow the [[#General steps|general steps]] and ensure the configuration with either of <code>--enable-octave=stable</code> or <code>--enable-octave=default</code>.
# Follow the [[#General steps|general steps]] and ensure the configuration with either of <code>--enable-octave=stable</code> or <code>--enable-octave=default</code>.
Anonymous user

Navigation menu