2014-07-07 18:36 GMT+02:00 John D <address@hidden>:
Message: 1
Date: Sun, 06 Jul 2014 22:29:04 +0200
From: sergey plotnikov <address@hidden>
To: octave maintainers mailing list <address@hidden>
Subject: MXE cross-compiling the default branch
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
? Dear maintainers,
AFAICS, some of you from time to time (cross)compiles tip of default branch
using MXE-Octave. Do you by a chance have some instruction which one may use
to do the same (since instruction from wiki is only suitable for stable
octave compilation)? I'm going to do it under Ubuntu (13.10 if this
matters). After some digging into maintainers ML I've ended up with the
following algo:
<1>. make a distributive of default branch and compute its sha1sum [cd
#somewhere#/octave/ && ./bootstrap && ./configure && make all dist &&
sha1sum octave-4.1.0+.tar.gz] <2>. copy "octave-4.1.0+.tar.gz" to
"mxe-octave/pkg" folder <3>. change two lines in "mxe-octave/src/octave.mk":
[
$(PKG)_VERSION := 4.1.0+
$(PKG)_CHECKSUM := ## what you get from sha1sum ] <4>. and finally run
cross-compiler [ cd #somewhere#/mxe-octave/ && PATH=`pwd`/usr/bin:$PATH &&
autoconf\
&& ./configure --disable-stable && make nsis-installer ]
Do I miss something or this is supposed to work properly? Last time I tried
it, I also needed to use "--disable-docs" in <4>, but not sure if it may
work without that option now.
Best regards,
Sergey
----
That seems about right - you don't need the PATH= statement
It shouldn't need the disable docs option as long as the docs were built in
the main repo
Thank you John. If this was right then I've got a couple of questions more...
1. recent MXE-Octave cset fails crying that it doesn't know --no-x, so I've changed it to --with-x=no in octave.mk
Is this correct or it supposed to work w/o my change?
2. one of the recent Octave's default branch csets has successfully been cross-compiled, but being installed on Win7 machine it failed to start GUI with the following problem details:
Problem signature:
Problem Event Name: APPCRASH
Application Name: octave-gui.exe
Application Version: 0.0.0.0
Application Timestamp: 00000000
Fault Module Name: QtGui4.dll
Fault Module Version: 4.8.6.0
Fault Module Timestamp: 3c043b6e
Exception Code: c0000005
Exception Offset: 00033bee
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1049
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
My distrib file (octave-4.1.0+.tar.gz) was made without any specific configuration options.. Should I up(down)grade my QT before making a distributive to solve the issue?
I noticed earlier that somehow I had pushed a typo up – it should be –with-x=no – I just haven’t pushed the fix up yet.
Qt is compiled and installed in the mxe-dist tarball – works on my Win7 machine
Have you cross compiled a standard mxe-octave distribution (3.8.2-rc2) and run it ok ?