help-octave
[Top][All Lists]
Advanced

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

Re: octave forge question


From: Tatsuro MATSUOKA
Subject: Re: octave forge question
Date: Thu, 27 Dec 2007 08:32:39 +0900 (JST)

Hello Doug

If you have a error pkg install, please execute first

pkg install -verbose optiminterp-0.2.5.tar.gz

to see the errors in detail.
Sometimes this not enough, at that time extract xxxx.tar.gz file and
go to the directry xxxxx and then ./configure and make.
More detailed information will be obtained about errors.

However in this case your information is enough.
The optiminterp package requires the complification of F90 files.
If the gcc verion is 3.x.x, you cannot build the optiminterp package at the 
present state.
(In gcc ver. 4, the fortran complier is a gfortran which can treat f90 and f95.)

To see your log in detail,
> checking for F77_FUNC... yes
> checking for Fortran flag to compile .F90 files... unknown

> checking for Fortran flag to compile .F90 files... unknown
is the origin of your error.

There is f90toC. 
http://www.ncsa.uiuc.edu/~mdewing/f90toC/

I tried the f90toC but my trial has not been successful yet.
I did the above trial on cygwin.

The other possibities is you to use the gcc-4.2.x.
In the cygwin case the  octave built by gcc-4.2.x have never run by seg-faults.
So at the moment I abandan to support the optiminterp pacake in my octave 
binaries on cygwin.

But your system, you might be suffessful for octave building by gcc-4.2.xx.
In the case, you may build optiminterp.

If you can get gcc 4.2.x binaries for your system,  you are lucky.
Otherwise you have to build the gcc-4.2.x (gcc-core, g++, gfortran) by yourself.
Please use the google to search building information.

In my case, I builded the gcc 4.2.x on cygwin by myself.
It is now used for the CVS version of the gnuplot building.

Regards

Tatsuro

 
--- Doug Stewart <address@hidden> wrote:

> On my Ubuntu mach. I downloaded and configered and installed octave 3.0.0
> It runs !!! - I am a beginner in linux
> !
>  I the downloaded son pkgs from octave forge
> Most of them installed OK but I got the following error.
> This pkg is not important to me at the moment  but I want to learn what 
> is the problem.
> 
> address@hidden:~$ octave
> GNU Octave, version 3.0.0
> Copyright (C) 2007 John W. Eaton and others.
> This is free software; see the source code for copying conditions.
> 
> <cut>
> 
> 
> 
> 
> octave:8>  pkg install optiminterp-0.2.5.tar.gz
> configure: error: mkoctfile does not accept files with the extention 
> .F90. Support for this file extension has been added to version 2.9.9 of 
> octave.
> 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 ISO C89... none needed
> checking for mkoctfile... mkoctfile
> retrieving compile and link flags from mkoctfile
> checking for F77_FUNC... yes
> checking for octave... octave
> checking for OCTAVE_VERSION in Octave... 3.0.0
> checking for octave_config_info('canonical_host_type') in Octave... 
> x86_64-unknown-linux-gnu
> checking for octave_config_info('SHLEXT') in Octave... so
> checking whether ln -s works... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for mkoctfile... mkoctfile
> checking whether we are using the GNU Fortran compiler... yes
> checking whether mkoctfile accepts -g... yes
> checking for Fortran flag to compile .F90 files... unknown
> error: called from `pkg:configure_make' in file 
> /usr/local/share/octave/3.0.0/m/pkg/pkg.m near line 1045, column 2
> 
> thanks for any help
> 
> Doug
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave
> 


--------------------------------------
Easy + Joy + Powerful = Yahoo! Bookmarks x Toolbar
http://pr.mail.yahoo.co.jp/toolbar/


reply via email to

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