[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Octave 3.4.0 Released (Mac OSX?)
From: |
Ben Abbott |
Subject: |
Re: GNU Octave 3.4.0 Released (Mac OSX?) |
Date: |
Mon, 14 Feb 2011 08:13:40 -0500 |
On Feb 14, 2011, at 1:59 AM, Thane Norton wrote:
> So, I spent some time doing some research, and I got farther. First off, the
> problem with gfortran and the Apple libraries is not that the libraries have
> changed. It is that gfortran did.
Can you provide so more info? What is it that changed in gfortran? Where did
you get your gfortran and what version?
> This isn't a problem if you recompile all of the libraries, but that isn't an
> option here. Fortunately, gfortran has a mode where it uses the old f2c
> calling conventions. The next problem was that octave couldn't configure
> x86_64. That I am willing to dump at the feet of the Apple libraries, but it
> is easy enough to work around. Here is my process:
>
> 1) Install gfortran.
> 2) Set some environment variables:
> export CC="gcc"
> export CXX="g++"
> export F77="/usr/local/bin/gfortran -ff2c"
> export CFLAGS="-arch i386"
> export FFLAGS="$CFLAGS"
> export LDFLAGS="$CFLAGS"
> 3) From the fftw directory (feel free to increase the j level if you have
> more processors)
> make clean
> ./configure --prefix=/usr/local --disable-dependency-tracking
> make -j3
> sudo make install
> make clean
> ./configure --prefix=/usr/local --enable-float
> --disable-dependency-tracking
> make -j3
> sudo make install
> 4) Set some more environment variables
> export FC="/usr/bin/gfortran -ff2c"
> export CPPFLAGS="$CFLAGS -D_REENTRANT -D__LISTS__"
> 5) From the octave directory
> ./configure --disable-readline --disable-docs
> make -j3
>
> After a long time compiling I then run into some errors I don't know how to
> resolve. First problem is the message "#error lex.l requires flex version
> 2.5.4 or later" which is odd since:
> address@hidden [~] which flex
> /usr/bin/flex
> address@hidden [~] flex -V
> flex 2.5.35
> Next, there are a ton of errors that don't make any sense to me. This is not
> a surprise, however, as I know bupkis about flex. Just in case anyone cares:
> builtins.cc:24865: error: stray '\' in program
> builtins.cc:24866: error: stray '\' in program
> builtins.cc:24866: error: stray '\' in program
> builtins.cc:24866: error: stray '\' in program
> builtins.cc:24866: error: stray '\' in program
> builtins.cc:24868: error: stray '\' in program
> builtins.cc:24868: error: stray '\' in program
> builtins.cc:24868: error: stray '\' in program
> builtins.cc:24869: error: stray '\' in program
> builtins.cc:24869: error: stray '\' in program
> builtins.cc:24872: error: stray '#' in program
> builtins.cc:24875: error: stray '\' in program
> builtins.cc:24875: error: stray '\' in program
> builtins.cc:24876: error: stray '\' in program
> builtins.cc:24876: error: stray '\' in program
> builtins.cc:24876: error: stray '\' in program
> builtins.cc:24877: error: stray '\' in program
> builtins.cc:24880: error: stray '\' in program
> builtins.cc:24880: error: stray '\' in program
> builtins.cc:24880:58: error: invalid suffix "a" on integer constant
> builtins.cc:24923: error: stray '\' in program
> builtins.cc:24923: error: stray '\' in program
> builtins.cc:24937: error: stray '\' in program
> builtins.cc:24937:18: warning: missing terminating " character
> builtins.cc:24937: error: missing terminating " character
> builtins.cc:24948: error: stray '#' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948: error: stray '\' in program
> builtins.cc:24948:32: warning: missing terminating " character
> builtins.cc:24948: error: missing terminating " character
> builtins.cc:24973: error: stray '\' in program
> builtins.cc:24999: error: stray '\' in program
> builtins.cc:25027: error: stray '\' in program
> builtins.cc:25150: error: stray '\' in program
> builtins.cc:25177: error: stray '\' in program
> builtins.cc:25206: error: stray '\' in program
> builtins.cc:25206: error: stray '\' in program
> builtins.cc:25206: error: stray '\' in program
> builtins.cc:25206: error: stray '\' in program
> builtins.cc:25206: error: stray '\' in program
> builtins.cc:25206:16: warning: missing terminating ' character
> builtins.cc:25206: error: missing terminating ' character
> builtins.cc:25276: error: stray '@' in program
> builtins.cc:25277: error: stray '@' in program
> builtins.cc:25294: error: stray '\' in program
> builtins.cc:25295: error: stray '\' in program
> builtins.cc:25383: error: stray '\' in program
> builtins.cc:25383:2: warning: missing terminating " character
> builtins.cc:25383: error: missing terminating " character
> builtins.cc:25416: error: stray '\' in program
> builtins.cc:25544: error: stray '\' in program
> I did not CC the maintainers list as I am not a member, but feel free to
> forward this. I am more than willing to help out in any way I can.
>
> --
> Thane Norton
> address@hidden
>
- Re: GNU Octave 3.4.0 Released (Mac OSX?), (continued)
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Vic Norton, 2011/02/10
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Michael D Godfrey, 2011/02/11
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Vic Norton, 2011/02/11
- Re: GNU Octave 3.4.0 Released (Mac OSX?), mathisdw, 2011/02/11
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Ben Abbott, 2011/02/11
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Jordi GutiƩrrez Hermoso, 2011/02/11
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Don Mathis, 2011/02/12
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Ben Abbott, 2011/02/12
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Don Mathis, 2011/02/12
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Ben Abbott, 2011/02/12
- Message not available
- Re: GNU Octave 3.4.0 Released (Mac OSX?),
Ben Abbott <=
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Thane Norton, 2011/02/14
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Richard Campbell, 2011/02/14
- Re: GNU Octave 3.4.0 Released (Mac OSX?), John W. Eaton, 2011/02/14
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Richard Campbell, 2011/02/14
- Re: GNU Octave 3.4.0 Released (Mac OSX?), Ben Abbott, 2011/02/14
Re: GNU Octave 3.4.0 Released (Mac OSX?), Thomas Yengst, 2011/02/12