Discussion:
Problems while installing Octave 4.2
S. Swayamjyoti
2018-10-18 07:27:21 UTC
Permalink
Hi,

I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.

Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.

Best,
Swayam
Kai Torben Ohlhus
2018-10-18 08:13:36 UTC
Permalink
Post by S. Swayamjyoti
Hi,
I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.
Best,
Swayam
Basically, the problem is defined precisely in the error messages: The
development libraries for cURL, fontconfig and so on are not installed on
your system.

If you are in a hurry, then you must be precise for getting help:
- Which Linux distribution and version runs in your virtual box?
- Why can't you run a Linux version that naively supports Octave 4.2 or
newer? https://packages.debian.org/stretch-backports/octave
- Do you really rely on version 4.2 or why not choosing 4.4.1 when
compiling from source?
- Compiling from source requires you to install lots of development
packages, see
https://wiki.octave.org/Octave_for_Debian_systems#The_easy_way_.28but_likely_incorrect.29

HTH,
Kai
f***@freenet.de
2018-10-18 08:28:50 UTC
Permalink
Hi, I don't have the suggestions from Andreas Weber. Could you please send it to me? I have restricted access to the
mailing list.
best,
swayam
ᐧ
Hi,
I am trying to install an octave package for scientific computations. I could easily install Octave 4.0, but I am
facing great difficulty, with Octave 4.2. After running the 'configure' command, successfully, I am still not
able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after, 'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux system which you shouldn't do unless you have good
reasons.

Instead use the packages of your used distribution:
https://www.gnu.org/software/octave/download.html

or even Flatpak if your distribution doesn't ship Octave >=4.2

Hope that helps, Andy
S. Swayamjyoti
2018-10-18 08:36:34 UTC
Permalink
Thanks a lot!
ᐧ
Hi, I don't have the suggestions from Andreas Weber. Could you please send
it to me? I have restricted access to the mailing list.
best,
swayam
ᐧ
Post by S. Swayamjyoti
Hi,
I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after,
'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
S. Swayamjyoti
2018-10-22 08:37:25 UTC
Permalink
Hi,

Based on your suggestions, I installed Octave 4.4 in my system, I am able
to install the dependancies, configure. But while building it with 'make',
I get the following errors,

Unknown option 'qt4'.
Makefile:27463: recipe for target 'libgui/src/qrc-resource.cc' failed
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:26387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:10181: recipe for target 'all' failed
make: *** [all] Error 2

Can someone please advise?

Best Regards,
Swayam
Hi, I don't have the suggestions from Andreas Weber. Could you please send
it to me? I have restricted access to the mailing list.
best,
swayam
ᐧ
Post by S. Swayamjyoti
Hi,
I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after,
'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
f***@freenet.de
2018-10-22 09:32:04 UTC
Permalink
Hi,
Based on your suggestions, I installed Octave 4.4 in my system, I am able to install the dependancies, configure. But
while building it with 'make', I get the following errors,
Unknown option 'qt4'.
Makefile:27463: recipe for target 'libgui/src/qrc-resource.cc' failed
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:26387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:10181: recipe for target 'all' failed
make: *** [all] Error 2
Can someone please advise?
Best Regards,
Swayam
Hi, I don't have the suggestions from Andreas Weber. Could you please send it to me? I have restricted access to
the mailing list.
best,
swayam
ᐧ
Hi,
I am trying to install an octave package for scientific computations. I could easily install Octave 4.0, but
I am facing great difficulty, with Octave 4.2. After running the 'configure' command, successfully, I am
still not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after, 'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux system which you shouldn't do unless you
have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
Hi Swayan,

here again the advice of Andreas:

/I guess you are trying to build Octave 4.2 from source on a GNU/Linux system which *you shouldn't do* unless you
have good reasons. //
////
//Instead use the packages of your used distribution: //
////https://www.gnu.org/software/octave/download.html////
////
//or even Flatpak if your distribution doesn't ship Octave >=4.2
/

I think it is clear what he meant. Do not try to build Octave from source, but use a package from your distribution or
Flatpack.

Why do you *not follow* his advice? You tried again to build it from source.

Karl
S. Swayamjyoti
2018-10-22 09:11:59 UTC
Permalink
Hi, I did try to install from Flatpack,

https://flatpak.org/setup/Ubuntu/

However, I am not able to install or fetch with that, the command prompt is
getting hanged, on that command,

sudo add-apt-repository ppa:alexlarsson/flatpak

Without flatpak, I am unable run the following commands, for setting up Octave:

https://flathub.org/apps/details/org.octave.Octave

flatpak run org.octave.Octave

Will you suggest any workaround?

Best,

Swayam
Post by S. Swayamjyoti
Hi,
Based on your suggestions, I installed Octave 4.4 in my system, I am able
to install the dependancies, configure. But while building it with 'make',
I get the following errors,
Unknown option 'qt4'.
Makefile:27463: recipe for target 'libgui/src/qrc-resource.cc' failed
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:26387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:10181: recipe for target 'all' failed
make: *** [all] Error 2
Can someone please advise?
Best Regards,
Swayam
Hi, I don't have the suggestions from Andreas Weber. Could you please
send it to me? I have restricted access to the mailing list.
best,
swayam
ᐧ
Post by S. Swayamjyoti
Hi,
I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after, 'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
Hi Swayan,
*I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons. *
* Instead use the packages of your used distribution: *
*https://www.gnu.org/software/octave/download.html
<https://www.gnu.org/software/octave/download.html>*
* or even Flatpak if your distribution doesn't ship Octave >=4.2 *
I think it is clear what he meant. Do not try to build Octave from source,
but use a package from your distribution or Flatpack.
Why do you *not follow* his advice? You tried again to build it from source.
Karl
f***@freenet.de
2018-10-22 10:13:41 UTC
Permalink
Post by S. Swayamjyoti
Hi, I did try to install from Flatpack,
https://flatpak.org/setup/Ubuntu/
However, I am not able to install or fetch with that, the command prompt is getting hanged, on that command,
|sudo add-apt-repository ppa:alexlarsson/flatpak |
https://flathub.org/apps/details/org.octave.Octave flatpak run org.octave.Octave |
|Will you suggest any workaround? |
|Best, |
|Swayam |
Hi,
Based on your suggestions, I installed Octave 4.4 in my system, I am able to install the dependancies, configure.
But while building it with 'make', I get the following errors,
Unknown option 'qt4'.
Makefile:27463: recipe for target 'libgui/src/qrc-resource.cc' failed
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:26387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:10181: recipe for target 'all' failed
make: *** [all] Error 2
Can someone please advise?
Best Regards,
Swayam
Hi, I don't have the suggestions from Andreas Weber. Could you please send it to me? I have restricted
access to the mailing list.
best,
swayam
ᐧ
Hi,
I am trying to install an octave package for scientific computations. I could easily install Octave
4.0, but I am facing great difficulty, with Octave 4.2. After running the 'configure' command,
successfully, I am still not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after, 'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux system which you shouldn't do unless
you have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
Hi Swayan,
/I guess you are trying to build Octave 4.2 from source on a GNU/Linux system which *you shouldn't do* unless
you have good reasons. //
////
//Instead use the packages of your used distribution: //
////https://www.gnu.org/software/octave/download.html////
////
//or even Flatpak if your distribution doesn't ship Octave >=4.2
/
I think it is clear what he meant. Do not try to build Octave from source, but use a package from your
distribution or Flatpack.
Why do you *not follow* his advice? You tried again to build it from source.
Karl
Sorry,

I cannot guess what is wrong with your system when it hangs trying to add the ppa.

This is not an Octave problem.

Karl
S. Swayamjyoti
2018-10-29 08:55:44 UTC
Permalink
Hi, I am able to install the latest version of octave 4.4, in my system.

However, some of the packages are probably still not there in Octave 4.4.
For example, when I call the function trainAutoEncoder, I get the following
error. In MATLAB, this could be due to an older version. However, what can
I do in Octave for that?

error: 'trainAutoencoder' undefined near line 25 column 7
error: called from
ae at line 25 column 5
ᐧ
Post by S. Swayamjyoti
Hi,
Based on your suggestions, I installed Octave 4.4 in my system, I am able
to install the dependancies, configure. But while building it with 'make',
I get the following errors,
Unknown option 'qt4'.
Makefile:27463: recipe for target 'libgui/src/qrc-resource.cc' failed
make[2]: *** [libgui/src/qrc-resource.cc] Error 1
make[2]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:26387: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/swayam/Downloads/octave-4.4.1'
Makefile:10181: recipe for target 'all' failed
make: *** [all] Error 2
Can someone please advise?
Best Regards,
Swayam
Hi, I don't have the suggestions from Andreas Weber. Could you please
send it to me? I have restricted access to the mailing list.
best,
swayam
ᐧ
Post by S. Swayamjyoti
Hi,
I am trying to install an octave package for scientific computations. I
could easily install Octave 4.0, but I am facing great difficulty, with
Octave 4.2. After running the 'configure' command, successfully, I am still
not able to find a make file to build Octave.
Can someone please help me with this? The issue is a bit urgent. Please
find attached the error screenshot.
Best,
Swayam
You got an answer from Andreas Weber. Why you don't follow his advice?
Charly
I have a problem installing or upgrading to Octave 4.2.0. Could you help me on it?
GNU Octave 4.4.1 is the current stable version.
Inside, the Octave 4.2 folder, I just can't do a 'make' after, 'configuration'.
I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons.
https://www.gnu.org/software/octave/download.html
or even Flatpak if your distribution doesn't ship Octave >=4.2
Hope that helps, Andy
Hi Swayan,
*I guess you are trying to build Octave 4.2 from source on a GNU/Linux
system which you shouldn't do unless you have good reasons. *
* Instead use the packages of your used distribution: *
*https://www.gnu.org/software/octave/download.html
<https://www.gnu.org/software/octave/download.html>*
* or even Flatpak if your distribution doesn't ship Octave >=4.2 *
I think it is clear what he meant. Do not try to build Octave from source,
but use a package from your distribution or Flatpack.
Why do you *not follow* his advice? You tried again to build it from source.
Karl
Loading...