Quantcast

installing miscellaneous package

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

installing miscellaneous package

Farhad
Hello all,

I'm fairly new to things so please be patient with me.

I just downloaded the source code for octave 3.6.1 and built it (ubuntu 11.10 32-bit). all went smooth. but now when I try to install the package miscellaneous 1.0.11, it complains about octave/config.h . and I couldn't locate that octave/config.h on my machine either! has it been dropped in newer release of octave?

this is the error:

++++++++++++++++++++++
warning: creating installation directory /usr/local/share/octave/packages
conftest.cc:1:27: fatal error: octave/config.h: No such file or directory
compilation terminated.
configure: error: Could not run /usr/local/bin/mkoctfile-3.6.1
the configure script returned the following error: checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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... /usr/local/bin/mkoctfile-3.6.1
error: called from `pkg>configure_make' in file /usr/local/share/octave/3.6.1/m/pkg/pkg.m near line 1373, column 9
error: called from:
error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 827, column 5
error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
+++++++++++++++++

any help will be appreciated,

Farhad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installing miscellaneous package

Carnë Draug-2
On 14 March 2012 14:57, Farhad <[hidden email]> wrote:

> Hello all,
>
> I'm fairly new to things so please be patient with me.
>
> I just downloaded the source code for octave 3.6.1 and built it (ubuntu
> 11.10 32-bit). all went smooth. but now when I try to install the package
> miscellaneous 1.0.11, it complains about octave/config.h . and I couldn't
> locate that octave/config.h on my machine either! has it been dropped in
> newer release of octave?
>
> this is the error:
>
> ++++++++++++++++++++++
> warning: creating installation directory /usr/local/share/octave/packages
> conftest.cc:1:27: fatal error: octave/config.h: No such file or directory
> compilation terminated.
> configure: error: Could not run /usr/local/bin/mkoctfile-3.6.1
> the configure script returned the following error: checking for gcc... gcc
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... no
> 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... /usr/local/bin/mkoctfile-3.6.1
> error: called from `pkg>configure_make' in file
> /usr/local/share/octave/3.6.1/m/pkg/pkg.m near line 1373, column 9
> error: called from:
> error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 827, column 5
> error:   /usr/local/share/octave/3.6.1/m/pkg/pkg.m at line 383, column 9
> +++++++++++++++++
>
> any help will be appreciated,
>
> Farhad

Just for the record, after talking with this user on #octave, the
problem is not on the miscellaneous package and some other packages
fail installation as well with the same issue. There was simple no
include/octave-3.6.1/octave/config.h file.

Carnë
_______________________________________________
Help-octave mailing list
[hidden email]
https://mailman.cae.wisc.edu/listinfo/help-octave
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installing miscellaneous package

Farhad
Right, so tried octave 3.6.0 and same thing happened.
This time it turned out that there was a config.h but for some reason! 'sudo make install' was not putting it in /usr/local/include/octave-3.6.0/octave were I guess it should had been.
I reckon something went wrong in installation.
Copying the file manually solved the problem! now I'm able to install packages.

cheers,
Farhad
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: installing miscellaneous package

hossein
This post was updated on .
I added config.h from octave-3.6.3 installtion folder to /usr/local/include/octave-3.6.3/octave and that problem resolved
Loading...