octave-maintainers
[Top][All Lists]
Advanced

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

Re: MXE Octave: FORTRAN Compiler not found


From: Anirudha Bose
Subject: Re: MXE Octave: FORTRAN Compiler not found
Date: Wed, 26 Jun 2013 17:05:40 -0400




On Wed, Jun 26, 2013 at 4:55 PM, PhilipNienhuis <address@hidden> wrote:
Anirudha Bose wrote
> I was cross-compiling mxe-octave during which I have encountered errors in
> the packages lapack, blas, and gmp all because of this error which happens
> to be same for all these packages:
>    * make[2]: /home/ani/mxe-octave/usr/bin/i686-pc-mingw32-gfortran:
> Command not found*
> :
> <snip>
> :

Hopefully you haven't run configure with --enable-system-gcc (or the like)?

AFAIK when cross-compiling, all you need to do is:
autoconf
./configure
./mk-dist --jobs n   ## where n = desired nr. of make jobs

On a related note, we can help you better if you not only copy the error
messages, but also the exact commands you typed in (and maybe a description
of what other actions you took).

Hi Philip. I figured out that the problem is due to an erroneous order in building of packages. I selectively built gcc by executing the command
    make build-gcc
after which I could find the FORTRAN compiler i686-pc-mingw-gfortran in the directory mxe-octave/usr/bin. Now the packages lapack, gmp, and blas have compiled fine.
There should be a way to enforce the build of build-gcc before building the packages that depend on it so that nobody experiences such errors.

- Anirudha

reply via email to

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