Compiler for package installation

Michael Goffioul michael.goffioul at gmail.com
Thu Sep 18 03:08:31 CDT 2008


On Tue, Sep 16, 2008 at 10:55 PM, djacobson <djacobson at mepcinc.com> wrote:
>
> When i try to install several packages i get the following error. For
> example:
>
> octave-3.1.50.exe:5>pkg install "miscellaneous-1.0.7.tar.gz"
> returns:
> *configure: error: no acceptable C compiler found in $PATH
> *See 'config.log' for more details.
> *the configure script returned the following error: checking for gcc...no
> *checking for acc... no
> *checking for cl.exe... no
> *error: called from 'configure_make' in file C:\Program
> Files\Octavechare\octave\3.1.50\m\pkg\pkg.m near *line 1238, column 2
> *error: evaluating switch command near line 275, column 1
> *error: called from 'pkg' in file 'C:\Program
> Files\Octavechare\octave\3.1.50\m\pkg\pkg.m'
>
> i have installed Microsoft Visual C++ 2008 and cl.exe is located in
> C:\Program Files\Microsoft Visual Studio 9.0\VC\bin.  how do i tell Octave
> this?

Start a command prompt with Visual C++ variables set up
(there's usually a menu entry in the VC++ start menu folder).
Then start octave from that command prompt.

However, why do you need to install additional packages?
The octave binary installer already contains all octave-forge
packages? Is it because you need a more recent version of
the package?

Michael.


More information about the Help-octave mailing list