stable build from source

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

stable build from source

ellocco
Hi,

I am trying to compile the "stable" version on a Ubuntu 20.04 machine.
This is what I have to report:

The message was:

Download failed or wrong checksum of package libbiosig!
------------------------------------------------------------
Platz: http://agora.octave.org/mxe-pkg-src/biosig-2.0.4.src.tar.gz [folgend]
--2020-07-08 11:29:58--  http://agora.octave.org/mxe-pkg-src/biosig-2.0.4.src.tar.gz
Auflösen des Hostnamens agora.octave.org (agora.octave.org) ... 162.243.101.184
Verbindungsaufbau zu agora.octave.org (agora.octave.org)|162.243.101.184|:80 ... verbunden.
HTTP-Anforderung gesendet, auf Antwort wird gewartet ... 404 Not Found
2020-07-08 11:29:58 FEHLER 404: Not Found.
Download failed!
------------------------------------------------------------

I manually downloaded and copied the pkg-archive file "biosig-2.0.4.src.tar.gz"
into the folder specified by means of switch "--with-pkg-dir", but this was not helpful.

Regards,

Stefan



Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

siko1056
On 7/10/20 7:51 AM, Stefan Pofahl wrote:

> Hi,
>
> I am trying to compile the "stable" version on a Ubuntu 20.04 machine.
> This is what I have to report:
>
> The message was:
>
> Download failed or wrong checksum of package libbiosig!
> ------------------------------------------------------------
> Platz: http://agora.octave.org/mxe-pkg-src/biosig-2.0.4.src.tar.gz [folgend]
> --2020-07-08 11:29:58--
>  http://agora.octave.org/mxe-pkg-src/biosig-2.0.4.src.tar.gz
> Auflösen des Hostnamens agora.octave.org <http://agora.octave.org>
> (agora.octave.org <http://agora.octave.org>) ... 162.243.101.184
> Verbindungsaufbau zu agora.octave.org <http://agora.octave.org>
> (agora.octave.org <http://agora.octave.org>)|162.243.101.184|:80 ...
> verbunden.
> HTTP-Anforderung gesendet, auf Antwort wird gewartet ... 404 Not Found
> 2020-07-08 11:29:58 FEHLER 404: Not Found.
> Download failed!
> ------------------------------------------------------------
>
> I manually downloaded and copied the pkg-archive file
> "biosig-2.0.4.src.tar.gz"
> into the folder specified by means of switch "--with-pkg-dir", but this
> was not helpful.
>
> Regards,
>
> Stefan
>


Hi Stefan,

To my knowledge when mxe-octave tries to contact agora.octave.org
(package backup location?) the connection to the primary download source
(in this case SourceForge [SF]) is too slow or SF is down for a while
again.  One help is to wait a few hours for SF to fix its issues.

If you downloaded the package manually, you can put it into the "/pkg"
directory inside your mxe-octave repository.  By default all package
source files get downloaded there.

You are right, with the "--with-pkg-dir" option you specify a custom
location for the default "/pkg" directory, thus you have to download
everything all over again.

HTH,
Kai

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco

Am Fr., 10. Juli 2020 um 08:43 Uhr schrieb Markus Mützel <[hidden email]>:
Am 10. Juli 2020 um 03:36 Uhr schrieb "Kai Torben Ohlhus":
> You are right, with the "--with-pkg-dir" option you specify a custom
> location for the default "/pkg" directory, thus you have to download
> everything all over again.
>

I might be misunderstanding what your wrote. But to maybe clear up a bit where setting the pkg-dir can be useful, please let me give an example:
Assume you would have several local MXE Octave repositories that are configured for incompatible builds (e.g. win64, win32 and native linux). In this case, you could point the pkg-dir of all of these repositories to a common location. That way you *won't* have to download everything all over again for each of the repositories...

Markus
 

Thank you for your fast response! Thanks Markus for the clarification regarding the optional
separate pkg-directory. In fact I was indoubt after the problems I face, if I need to have separate
pkg-directory for the different versions (default, stable, release).
And I understood one error I made, I just downloaded the file an copied it into the pkg-folder,
but had not taken care to rename the file that I had downloaded from
"mexbiosig-2.0.4.src.tar.gz" --> "biosig-2.0.4.src.tar.gz"

Is there anyone who succeeded building an octave-stable during the last week?
I have now tried to compile it for more than a week, for at least 7 times.
I tried both, new clone and removal of the old make folder and update clone and clean
make folder.
It always stops after or during the compilation of "libbiosig", attached you can find the log-file.

Here is what I do:
1.) clone repository or update
or
hg -v pull
hg -v update
2.) build ./configure
./bootstrap


3.) Clean Build Directory, if makefile exist inside the build-folder
make clean

4.) Generate Makefile inside of build directory
/home/mylogin/hg/mxe-octave/configure --enable-devel-tools \
--enable-windows-64 \
--enable-octave=stable \
--enable-binary-packages \
--with-ccache \
--with-pkg-dir=/home/mylogin/builds/octave_pkg
4.) Compile Octave-stable inside the build directory
make all 7z-dist JOBS=4 --trace --keep-going  
Any recommendations?

Regards,

Stefan

libbiosig (389K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

mmuetzel
Am 14. Juli 2020 um 18:01 Uhr schrieb "Stefan Pofahl": 
> Is there anyone who succeeded building an octave-stable during the last week?

The buildbots are running build jobs for MXE Octave continuously and they seem to be doing fine:
http://buildbot.octave.org:8010/#/waterfall

> I have now tried to compile it for more than a week, for at least 7 times.
> I tried both, new clone and removal of the old make folder and update clone and clean
> make folder.
> It always stops after or during the compilation of "libbiosig", attached you can find the log-file.

I can't see any error in the log file you attached. libbiosig seems to compile correctly for you.

> Here is what I do:
> 1.) clone repository or update
> hg clone https://hg.octave.org/mxe-octave[https://hg.octave.org/mxe-octave]
>
> or
> hg -v pullhg -v update
>
> 2.) build ./configure
> ./bootstrap

>
> 3.) Clean Build Directory, if makefile exist inside the build-folder
> make clean
>

> 4.) Generate Makefile inside of build directory
> /home/mylogin/hg/mxe-octave/configure --enable-devel-tools \--enable-windows-64 \--enable-octave=stable \--enable-binary-packages \--with-ccache \--with-pkg-dir=/home/mylogin/builds/octave_pkg
>
> 4.) Compile Octave-stable inside the build directory
> make all 7z-dist JOBS=4 --trace --keep-going  
>
> Any recommendations?

Running "make clean" after bootstraping seems strange. That probably effectively reverts what the bootstrap script was doing.

Markus

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

John W. Eaton
Administrator
On 7/14/20 1:52 PM, Markus Mützel wrote:

> Am 14. Juli 2020 um 18:01 Uhr schrieb "Stefan Pofahl":
>> Is there anyone who succeeded building an octave-stable during the last week?
>
> The buildbots are running build jobs for MXE Octave continuously and they seem to be doing fine:
> http://buildbot.octave.org:8010/#/waterfall
>
>> I have now tried to compile it for more than a week, for at least 7 times.
>> I tried both, new clone and removal of the old make folder and update clone and clean
>> make folder.
>> It always stops after or during the compilation of "libbiosig", attached you can find the log-file.
>
> I can't see any error in the log file you attached. libbiosig seems to compile correctly for you.
>
>> Here is what I do:
>> 1.) clone repository or update
>> hg clone https://hg.octave.org/mxe-octave[https://hg.octave.org/mxe-octave]
>>
>> or
>> hg -v pullhg -v update
>>
>> 2.) build ./configure
>> ./bootstrap
>>  
>>
>> 3.) Clean Build Directory, if makefile exist inside the build-folder
>> make clean
>>
>>  
>> 4.) Generate Makefile inside of build directory
>> /home/mylogin/hg/mxe-octave/configure --enable-devel-tools \--enable-windows-64 \--enable-octave=stable \--enable-binary-packages \--with-ccache \--with-pkg-dir=/home/mylogin/builds/octave_pkg
>>
>> 4.) Compile Octave-stable inside the build directory
>> make all 7z-dist JOBS=4 --trace --keep-going
>>
>> Any recommendations?
>
> Running "make clean" after bootstraping seems strange. That probably effectively reverts what the bootstrap script was doing.

Unless things have changed, mxe-octave is not set up to properly build
in a directory separate from the source tree, so if you are trying that,
I expect it will fail.

If you are building the stable version, then you'll need to create a
dist file for version 6.  In the buildbot configs, that is the step that
executes

   nice -n 19 make JOBS=8 hg-octave-dist hg-octave-branch=stable

That is supposed to build a copy of the current sources from the stable
branch, run make dist to create a tar.lz file, and copy it to your
PKG_SRC directory.

jwe


Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco


Am Di., 14. Juli 2020 um 21:09 Uhr schrieb John W. Eaton <[hidden email]>:
On 7/14/20 1:52 PM, Markus Mützel wrote:
> Am 14. Juli 2020 um 18:01 Uhr schrieb "Stefan Pofahl":
>> Is there anyone who succeeded building an octave-stable during the last week?
>
> The buildbots are running build jobs for MXE Octave continuously and they seem to be doing fine:
> http://buildbot.octave.org:8010/#/waterfall
>
>> I have now tried to compile it for more than a week, for at least 7 times.
>> I tried both, new clone and removal of the old make folder and update clone and clean
>> make folder.
>> It always stops after or during the compilation of "libbiosig", attached you can find the log-file.
>
> I can't see any error in the log file you attached. libbiosig seems to compile correctly for you.
>
>> Here is what I do:
>> 1.) clone repository or update
>> hg clone https://hg.octave.org/mxe-octave[https://hg.octave.org/mxe-octave]
>>
>> or
>> hg -v pullhg -v update
>>
>> 2.) build ./configure
>> ./bootstrap
>>   
>>
>> 3.) Clean Build Directory, if makefile exist inside the build-folder
>> make clean
>>
>>   
>> 4.) Generate Makefile inside of build directory
>> /home/mylogin/hg/mxe-octave/configure --enable-devel-tools \--enable-windows-64 \--enable-octave=stable \--enable-binary-packages \--with-ccache \--with-pkg-dir=/home/mylogin/builds/octave_pkg
>>
>> 4.) Compile Octave-stable inside the build directory
>> make all 7z-dist JOBS=4 --trace --keep-going
>>
>> Any recommendations?
>
> Running "make clean" after bootstraping seems strange. That probably effectively reverts what the bootstrap script was doing.

Unless things have changed, mxe-octave is not set up to properly build
in a directory separate from the source tree, so if you are trying that,
I expect it will fail.

If you are building the stable version, then you'll need to create a
dist file for version 6.  In the buildbot configs, that is the step that
executes

   nice -n 19 make JOBS=8 hg-octave-dist hg-octave-branch=stable

That is supposed to build a copy of the current sources from the stable
branch, run make dist to create a tar.lz file, and copy it to your
PKG_SRC directory.

jwe

The "make clean" command is only used in the separate build-folder,
if a new make-command should be executed in a build folder that includes
a makefile from a previous make-process.

For completeness, below what I see at the end:
[...]
touch '/home/spofahl/builds/octave_stable/log/20200714_131252/libbiosig'
ln -sf '20200714_131252/libbiosig' '/home/spofahl/builds/octave_stable/log/libbiosig'
if ! (time make -f '/home/spofahl/builds/octave_stable/Makefile' 'build-only-libbiosig')
&> '/home/spofahl/builds/octave_stable/log/libbiosig';
then echo;
echo 'Failed to build package libbiosig!';
echo '------------------------------------------------------------';
tail -n 30 '/home/spofahl/builds/octave_stable/log/libbiosig' | sed -n '/./p';
echo '------------------------------------------------------------';
echo '[log]      /home/spofahl/builds/octave_stable/log/libbiosig'; echo; exit 1; fi
echo '[done]     libbiosig'
[done]     libbiosig
make: Das Ziel ,,7z-dist" wurde wegen Fehlern nicht aktualisiert.
[...]

Thanks John for your advice!
The mxe-octave-release version can be built in a separate build dir,
therefore, my hope was, it will also work for the "stable"-release.

Is it possible to download the snapshots of octave-stable somewhere?

Regards,

Stefan


--
Stefan Pofahl
Zollgasse 5
8020 Graz
Österreich
Tel.: +43 (316) 33 2001
Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

John W. Eaton
Administrator
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

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco


Am Di., 14. Juli 2020 um 22:41 Uhr schrieb John W. Eaton <[hidden email]>:
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


Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

John W. Eaton
Administrator
On 7/15/20 4:33 AM, Stefan Pofahl wrote:

> 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|

Don't include the "all 7z-dist" targets here.  Building the octave
source distribution from the hg archive must be done as a separate step.
  Try

   make JOBS=8 hg-octave-dist hg-octave-branch=stable

If that is successful, then you can do

   make all 7z-dist JOBS=8

to build Octave for Windows with all the packages.  Use whatever number
of jobs makes sense for your hardware.

jwe

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

John W. Eaton
Administrator
In reply to this post by ellocco
On 7/14/20 3:47 PM, Stefan Pofahl wrote:
>
> Am Di., 14. Juli 2020 um 21:09 Uhr schrieb John W. Eaton <[hidden email]
> <mailto:[hidden email]>>:
>
>     Unless things have changed, mxe-octave is not set up to properly build
>     in a directory separate from the source tree, so if you are trying
>     that,
>     I expect it will fail.

> The mxe-octave-release version can be built in a separate build dir,
> therefore, my hope was, it will also work for the "stable"-release.

I was wrong about mxe-octave not supporting out-of-tree builds.  It does
appear to work properly.

jwe

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco
In reply to this post by John W. Eaton


Am Mi., 15. Juli 2020 um 10:50 Uhr schrieb John W. Eaton <[hidden email]>:
On 7/15/20 4:33 AM, Stefan Pofahl wrote:

> 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|

Don't include the "all 7z-dist" targets here.  Building the octave
source distribution from the hg archive must be done as a separate step.
  Try

   make JOBS=8 hg-octave-dist hg-octave-branch=stable

If that is successful, then you can do

   make all 7z-dist JOBS=8

to build Octave for Windows with all the packages.  Use whatever number
of jobs makes sense for your hardware.

jwe
 
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: hg-octave-dist] Fehler 1
(base) X6630G:~/hg/mxe-octave$
----------------------------------------------------------------------------------------------------------------------------------

But I will try to sort this out as well.

Stefan


Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

John W. Eaton
Administrator
On 7/15/20 3:37 PM, Stefan Pofahl wrote:

>
>
> Am Mi., 15. Juli 2020 um 10:50 Uhr schrieb John W. Eaton <[hidden email]
> <mailto:[hidden email]>>:
>
>     On 7/15/20 4:33 AM, Stefan Pofahl wrote:
>
>      > 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|
>
>     Don't include the "all 7z-dist" targets here.  Building the octave
>     source distribution from the hg archive must be done as a separate
>     step.
>        Try
>
>         make JOBS=8 hg-octave-dist hg-octave-branch=stable
>
>     If that is successful, then you can do
>
>         make all 7z-dist JOBS=8
>
>     to build Octave for Windows with all the packages.  Use whatever number
>     of jobs makes sense for your hardware.
>
>     jwe
>
> 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

Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco


Am Mi., 15. Juli 2020 um 22:02 Uhr schrieb John W. Eaton <[hidden email]>:

>
> 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:
Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco


Am Mi., 15. Juli 2020 um 22:18 Uhr schrieb Stefan Pofahl <[hidden email]>:


Am Mi., 15. Juli 2020 um 22:02 Uhr schrieb John W. Eaton <[hidden email]>:

>
> 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:
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
Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco


Am Do., 16. Juli 2020 um 08:15 Uhr schrieb Stefan Pofahl <[hidden email]>:

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

--------------------------------------------------------------------------
Reply | Threaded
Open this post in threaded view
|

Re: [mxe] stable build from source

ellocco

Am Fr., 17. Juli 2020 um 08:40 Uhr schrieb Stefan Pofahl <[hidden email]>:


Am Do., 16. Juli 2020 um 08:15 Uhr schrieb Stefan Pofahl <[hidden email]>:

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:

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