Hi there I'm new to Octave and encountered with the following problem when running Octave for the first time. Hope someone could give me some hint.
I'm using a Fedora 7 system (New to Fedora :-P ) and installed Octave from Fedora's "Package manager". The version is
2.9.9. I checked the packages installed for Octave using the pkg list command and was told nothing was installed. So I downloaded two of them --- odepkg-0.3.0.tar.gz and plot-1.0.0.tar.gz. However none can be configured correctly. Here's what I saw on my terminal:
octave:1> pkg install odepkg-0.3.0.tar.gz warning: You have not defined an installation prefix, so the following will be used: /home/cong/octave/ configure: WARNING: no mkoctfile found on path ./configure: line 2344:
conftest.cc: command not found configure: error: Could not run error: 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 ANSI C... none needed checking for mkoctfile... no
octave:1> pkg install plot-1.0.0.tar.gz configure: WARNING: no mkoctfile found on path ./configure: line 2354: conftest.cc
: command not found configure: error: Could not run error: 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 ANSI C... none needed checking for mkoctfile... no
In both installations I was told that "no mkoctfile found on path" and "./configure: line XXXX: conftest.cc
: command not found", and nothing was installed (verified by pkg list). I don't understand what is happening. Am I missing something? Or something else?