octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [mxe] stable build from source


From: Stefan Pofahl
Subject: Re: [mxe] stable build from source
Date: Fri, 17 Jul 2020 19:18:12 +0200


Am Fr., 17. Juli 2020 um 08:40 Uhr schrieb Stefan Pofahl <stefan@pofahl.de>:


Am Do., 16. Juli 2020 um 08:15 Uhr schrieb Stefan Pofahl <stefan@pofahl.de>:

So here my status.
After I have added "deb-src http://in.archive.ubuntu.com/ubuntu focal universe" in my "/etc/apt/sources.list"
it was possible to perform: "sudo apt build-dep octave", it installed 104 packages.

Then I have run "./bootstrap" & "./config ... ..." then
"nice -n 19 make JOBS=8 hg-octave-dist hg-octave-branch=stable"

It informed me about the missing "octave-6.0.1.tar.lz".
I repeated the "nice [...]"command once more.

To get rid of this message I tried a command I found on the page mentioned by Markus, but I modified the command.
"make dist-lzip DIST_IGNORE_HG_STATE=1"
failed, there is no rule for "dist-lzip".
"make dist DIST_IGNORE_HG_STATE=1" worked fine.
I copied the "mxe-octave-a65cacd05892.tar.gz" into my build directory.
And tried again, now I see: "Unknown option 'qt5'"
---------------------------------------------------------------------------------------------------------------------------------------------------
[...]
  GEN      libgui/src/ui-settings-dialog.h
Unknown option 'qt5'.
make[1]: *** [Makefile:30776: libgui/src/ui-settings-dialog.h] Fehler 1
make[1]: *** Auf noch nicht beendete Prozesse wird gewartet …
  GEN      libgui/graphics/ui-annotation-dialog.h
Unknown option 'qt5'.
make[1]: *** [Makefile:30776: libgui/graphics/ui-annotation-dialog.h] Fehler 1
updating libinterp/corefcn/oct-tex-parser.output
updating libinterp/corefcn/oct-tex-parser.h
updating libinterp/parse-tree/oct-parse.output
updating libinterp/parse-tree/oct-parse.h
make[1]: Verzeichnis „/home/spofahl/builds/octave_stable/octave-hg-repo/.build“ wird verlassen
make: *** [/home/spofahl/hg/mxe-octave/hg-octave-dist.mk:34: hg-octave-dist] Fehler 2
(base) X6630G:~/builds/octave_stable$ ^C
---------------------------------------------------------------------------------------------------------------------------------------------------

Any ideas?

Regards,

Stefan


Meanwhile I switched to the native source of Octave, I did:
cd ~
mkdir hg
cd hg 
hg clone https://hg.savannah.gnu.org/hgweb/octave
cd ~/hg/octave

Display branches:

hg branches

Change branche from default → stable

hg update stable

./bootstrap

mkdir ~/builds/Native_octave_stable
cd ~/builds/Native_octave_stable

~/hg/octave/configure

make -j8

Error is the same. Any ideas? (I work on Ubuntu 20.04)

--------------------------------------------------------------------------

  GEN      test/sparse.tst
  GEN      test/.bc-overload-tests-stamp
updating libinterp/corefcn/oct-tex-parser.output
updating libinterp/corefcn/oct-tex-parser.h
  GEN      octave-config.h
  GEN      libinterp/builtin-defun-decls.h
updating libinterp/parse-tree/oct-parse.output
updating libinterp/parse-tree/oct-parse.h
Unknown option 'qt5'.
Unknown option 'qt5'.
make: *** [Makefile:30776: libgui/src/ui-settings-dialog.h] Fehler 1
make: *** Auf noch nicht beendete Prozesse wird gewartet …
make: *** [Makefile:30776: libgui/graphics/ui-annotation-dialog.h] Fehler 1

--------------------------------------------------------------------------

The solution for my issue is included in an old post from Mike Miller:
https://savannah.gnu.org/bugs/?48881

The troublemaker was my user PATH variable, it contained entries for "miniconda3", I fixed by a command
similar to this one:
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:
The "octave-6.0.1.tar.lz" is now ready for use :-)

Regards,

Stefan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]