Am Di., 14. Juli 2020 um 22:41 Uhr schrieb John W. Eaton <
jwe@octave.org>:
On 7/14/20 3:47 PM, Stefan Pofahl wrote:
> Is it possible to download the snapshots of octave-stable somewhere?
No, you have to build them from the hg sources. If you are building all
of Octave and its dependencies, that's not much more work to do and
there is a target in the mxe-octave Makefile to do it.
jwe
I am still lost, maybe I misunderstood something.
First I had to install: "PCRE library" (on ubuntu 20.04: "pcre2-utils")
because of this message:
configure: error: to build Octave, you must have the PCRE library and header files installed
After "./bootstrap" I stayed inside the root-dir of the repository clone (for me: '~/hg/mxe-octave')
and gave the command:
nice -n 19 make
all 7z-dist
JOBS=
8
hg-octave-dist hg-octave-branch=stable
The result was:
----------------------------------------------------------------------------------------------------------------------------------------
[...]
[build] stable-octave
Failed to build package stable-octave!
------------------------------------------------------------
make[2]: Verzeichnis „/home/spofahl/hg/mxe-octave“ wird betreten
rm -rf '/home/spofahl/hg/mxe-octave/tmp-stable-octave' '/home/spofahl/hg/mxe-octave/tmp-stable-octave-install'
mkdir -p '/home/spofahl/hg/mxe-octave/tmp-stable-octave'
( cd '/home/spofahl/hg/mxe-octave/tmp-stable-octave' && tar xaf '/home/spofahl/builds/octave_pkg/octave-6.0.1.tar.lz' ) || false
tar: /home/spofahl/builds/octave_pkg/octave-6.0.1.tar.lz: Funktion open fehlgeschlagen: Datei oder Verzeichnis nicht gefunden
tar: Error is not recoverable: exiting now
make[2]: *** [/home/spofahl/hg/mxe-octave/Makefile:939: build-only-stable-octave] Fehler 1
make[2]: Verzeichnis „/home/spofahl/hg/mxe-octave“ wird verlassen
real 0m1.929s
user 0m1.707s
sys 0m0.302s
------------------------------------------------------------
[log] /home/spofahl/hg/mxe-octave/log/stable-octave
make[1]: *** [Makefile:942: /home/spofahl/hg/mxe-octave/installed-packages/stable-octave] error 1
make[1]: Verzeichnis „/home/spofahl/hg/mxe-octave“ wird verlassen
make: *** [Makefile:621: all] error 2
------------------------------------------------------------------------------------------------------------------------------------------
I thought that this command "nice -n 19 ... hg-octave-dist hg-octave-branch=stable" takes care of the necessary
steps.
Do I need to modify this command? And if so, what would be an example of an tailored command?
The command:
make dist
results in a file: "mxe-octave-a65cacd05892.tar.gz"
Does it make sense to copy this into the pkg-dir?
cp ./mxe-octave-a65cacd05892.tar.gz ~/builds/octave_pkg/octave-6.0.1.tar.lz
Regards,
Stefan