Re: [mxe] stable build from source

Stefan Pofahl <[email protected]>
Newsgroups gmane.comp.gnu.octave.maintainers
Message-ID <CAEN854B-4MCwtkoxtMm01VH18VJvdF1Xz6r7e7KYvhV+Fm_+Bg@mail.gmail.com>
Am Mi., 15. Juli 2020 um 22:18 Uhr schrieb Stefan Pofahl <[email protected]>:

>
>
> Am Mi., 15. Juli 2020 um 22:02 Uhr schrieb John W. Eaton <[email protected]>:
>
>>
>> >
>> > Unfortunately, the installation of "pcre2-utils" was not sufficient,
>> the
>> > error message is as follows:
>> >
>> ----------------------------------------------------------------------------------------------------------------------------------
>> > [...]
>> > configure: error: to build Octave, you must have the PCRE library and
>> > header files installed
>> > make: *** [/home/spofahl/hg/mxe-octave/hg-octave-dist.mk:34
>> > <http://hg-octave-dist.mk:34>: hg-octave-dist] Fehler 1
>> > (base) X6630G:~/hg/mxe-octave$
>> >
>> ----------------------------------------------------------------------------------------------------------------------------------
>> >
>> > But I will try to sort this out as well.
>>
>> If you are using Ubuntu, I would recommend starting with
>>
>>    apt build-dep octave
>>
>> jwe
>>
>
> Thanks John! - This was not sufficient for me, it was necessary to edit
> "/etc/apt/sources.list" and to uncomment
> the following line:
>
> deb-src http://in.archive.ubuntu.com/ubuntu focal universe
>
> (found on: https://techpiezo.com/linux/install-vlc-in-ubuntu-20-04-lts/ )
>
> 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

-- 
Stefan Pofahl
Zollgasse 5
8020 Graz
Österreich
Tel.: +43 (316) 33 2001
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.