help-octave
[Top][All Lists]
Advanced

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

Re: Octave Forge: Miscellaneous Package Installation Erorr


From: Martin Helm
Subject: Re: Octave Forge: Miscellaneous Package Installation Erorr
Date: Sun, 28 Mar 2010 19:35:14 +0200
User-agent: KMail/1.12.4 (Linux/2.6.31.12-0.2-desktop; KDE/4.3.5; x86_64; ; )

Am Sonntag, 28. März 2010 19:15:00 schrieb socware:
> Hello,
> I want to use the leasqr function in octave for which I need to install the
> "optim" package from octave forge but before I can install optim it
>  requires me to install "Miscellaneous". I have been trying to install and
>  even if I install any other package I get similar kind of error always.
> I am using opensuse 11.1.
> How cna I solve this problem?
> 
> 
> octave:2> pkg install miscellaneous-1.0.9.tar.gz
> /usr/bin/mkoctfile: line 484: g++: command not found
> configure: error: Could not run mkoctfile
> the configure script returned the following error: checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ISO C89... none needed
> checking for mkoctfile... mkoctfile
> error: called from `pkg>configure_make' in file
> /usr/share/octave/3.2.4/m/pkg/pkg.m near line 1240, column 2
> error: called from:
> error:   /usr/share/octave/3.2.4/m/pkg/pkg.m at line 714, column 5
> error:   /usr/share/octave/3.2.4/m/pkg/pkg.m at line 287, column 7
> 
> 
> 
> Thanks
> 
The very first error it shows is g++ not found.
Do you have c++ installed? Check with

zypper se gcc-c++

and if needed install with

sudo zypper in gcc-c++

I cannot tell you if that solves everything, maybe you will get a different 
message which complains about additional missing devel packages.

- mh



reply via email to

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