Windows Installer: Difference between revisions

From Octave
Jump to navigation Jump to search
(Instructions for Debian)
No edit summary
Line 3: Line 3:
Recently some work has been done in maintaining a unified build system mxe-octave (a fork of [http://mxe.cc/ MXE]) which anyone can use to produce cross as well as native builds of GNU Octave for Windows and Mac OS X platforms. This page contains instructions about creating a Windows installer using mxe-octave.
Recently some work has been done in maintaining a unified build system mxe-octave (a fork of [http://mxe.cc/ MXE]) which anyone can use to produce cross as well as native builds of GNU Octave for Windows and Mac OS X platforms. This page contains instructions about creating a Windows installer using mxe-octave.


==Installing requirements of MXE Octave==
=Installing requirements of MXE Octave=
MXE Octave requires a recent Unix system where all components as stated below are installed.
MXE Octave requires a recent Unix system where all components as stated below are installed.


===Debian (GNU/kFreeBSD & GNU/Linux)===
==Debian (GNU/kFreeBSD & GNU/Linux)==
  aptitude install -R autoconf automake bash bison bzip2 \
  aptitude install -R autoconf automake bash bison bzip2 \
                     cmake flex gettext git g++ intltool \
                     cmake flex gettext git g++ intltool \

Revision as of 13:46, 16 October 2013

GNU Octave is primarily developed on GNU/Linux and other POSIX conformal systems. There have been many efforts in the past to build ports of GNU Octave for Windows. Take a look at the various ports of Octave available for Windows here.

Recently some work has been done in maintaining a unified build system mxe-octave (a fork of MXE) which anyone can use to produce cross as well as native builds of GNU Octave for Windows and Mac OS X platforms. This page contains instructions about creating a Windows installer using mxe-octave.

Installing requirements of MXE Octave

MXE Octave requires a recent Unix system where all components as stated below are installed.

Debian (GNU/kFreeBSD & GNU/Linux)

aptitude install -R autoconf automake bash bison bzip2 \
                    cmake flex gettext git g++ intltool \
                    libffi-dev libtool libltdl-dev openssl libssl-dev \
                    libxml-parser-perl make patch perl \
                    pkg-config scons sed unzip wget \
                    xz-utils yasm

On 64-bit Debian, install also:

aptitude install -R g++-multilib libc6-dev-i386

If you are using Ubuntu, then you can do

apt-get install foo 

instead of

aptitude install -R foo

Steps to create Windows Installer

  1. Install all requirements for compiling GNU Octave. (Some help for Debian users)
  2. hg clone http://hg.octave.org/mxe-octave/
  3. cd mxe-octave
  4. autoconf
  5. ./configure
  6. ./mk-dist --installer