[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Can't compile Octave source on Snow Leopard
From: |
John Helly |
Subject: |
Can't compile Octave source on Snow Leopard |
Date: |
Sat, 16 Oct 2010 17:51:08 -0700 |
Hi.
It seems that I can't compile the source code since:
...
checking how to get verbose linking output from gfortran... -v
checking for Fortran 77 libraries of gfortran...
-L/usr/local/lib/gcc/i386-apple-darwin9.1.0/4.2.2
-L/usr/local/lib/gcc/i386-apple-darwin9.1.0/4.2.2/../../.. -lm -lgfortranbegin
-lgfortran
checking for dummy main to link with Fortran 77 libraries... none
checking for Fortran 77 name-mangling scheme... unknown
configure: WARNING: unknown Fortran name-mangling scheme
configure: defining FFLAGS to be -O
checking whether gfortran generates correct size integers... no
configure: error: your Fortran compiler must have an option to make integers
the same size as octave_idx_type (int). See the file INSTALL for more
information.
I have a binary download running but it doesn't include textread and after
obtaining the io package I assume I have to be able to compile the whole system
from scratch since it looks like the io package wants the development
environment of octave to compile.
Does anyone know how to work around the Fortran problem on Snow Leopard?
Cheers.
--------------
John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of
Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01 760
840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) /
/www.sdsc.edu/~hellyj
On Oct 16, 2010, at 2:24 PM, Liam Groener wrote:
Unless you are using the development version of Octave, you need to install the
io package from Octave-Forge to get text read.
Liam G.
Sent from my iPad
On Oct 16, 2010, at 11:31 AM, John Helly <address@hidden> wrote:
> Hi.
>
> Environment: OSX 10.6.4, Octave 3.2.3
>
> I'm just trying to switch from Matlab to Octave and am having trouble with
> replacing textscan with textread. I've checked the usual places for info and
> am under the impression that textread should exist and work but it doesn't
> seem to exist. Where am I going wrong?
>
> octave-3.2.3:1> textread()
> error: `textread' undefined near line 1 column 1
> octave-3.2.3:1>
>
> Cheers.
> --------------
> John Helly, UCSD / San Diego Supercomputer Center / Scripps Institution of
> Oceanography, Climate, Atmospheric Science, and Physical Oceanography / +01
> 760 840 8660 mobile / stonesteps (Skype) / stonesteps7 (iChat) /
> /www.sdsc.edu/~hellyj
>
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
- Can't compile Octave source on Snow Leopard,
John Helly <=