[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Building Octave 3.2.4 on FreeBSD 8.1
From: |
fork |
Subject: |
Re: Building Octave 3.2.4 on FreeBSD 8.1 |
Date: |
Tue, 28 Sep 2010 13:01:11 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Thomas Dean <tomdean <at> speakeasy.org> writes:
>
> I built Octave 3.2.4 on FreeBSD 8.1 by making a couple changes.
That is very cool. I tried to apply this to my long term problem with Octave
Tip, but couldn't find a "configure.in" in which to make the change. I ran the
following after autogen.sh:
$ find ./ -iname '*config*' -not -path '*gnulib*' -not -path '*.hg*'
./config.guess
./config.sub
./configure.ac
./doc/interpreter/config-images.sh
./doc/interpreter/octave-config.1
./libgnu/config.charset
./libgnu/configmake.h
./liboctave/config-ops.sh
./octave-config.cc.in
./octave-config.in
./src/DLD-FUNCTIONS/config-module.awk
./src/DLD-FUNCTIONS/config-module.sh
./build-aux/config.guess
./build-aux/config.sub
./configure
./config.h.in
./config.h.in~
./config.log
./config.status
./config.h
./.deps/octave-config.Po
>
> Other libs are skipped because config does not find them. Using
> environment variables can work around this.
>
> env F77=gfortran44 CFLAGS=-I/usr/local/include LDFLAGS=-L/usr/local/lib ./
configure --with-blas=yes
Proceeding formally with the above (ignoring the configure.in issue), I get the
following error when gmake-ing:
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libgnu -I../
lib cruft/misc -I../liboctave -I../liboctave -I. -I. -g -O2 -
DHAVE_CONFIG_H -mieee-f p -I/usr/local/include -I/usr/local/include/
freetype2 -I/usr/local/include -I/us r/local/include -Wall -W -
Wshadow -Wold-style-cast -Wformat -g -O2 -D_THREAD_SAF E -pthread -g -
O2 -MT liboctinterp_la-file-io.lo -MD -MP -MF .deps/liboctinterp_ la-
file-io.Tpo -c file-io.cc -fPIC -DPIC -o .libs/liboctinterp_la-file-io.o
In file included from oct-prcstrm.h:27,
from file-io.cc:71:
oct-stdstrm.h: In constructor 'octave_stdiostream::octave_stdiostream(const
std: :string&, FILE*, std::_Ios_Openmode,
oct_mach_info::float_format, int (*)(FILE*) )':
oct-stdstrm.h:111: error: expected id-expression before '(' token
file-io.cc: In function 'octave_stream do_stream_open(const std::string&,
const std::string&, const std::string&, int&)':
file-io.cc:497: error: expected id-expression before '(' token
gmake[3]: *** [liboctinterp_la-file-io.lo] Error 1
gmake[3]: Leaving directory `/usr/home/wsprague/SOURCES/octave/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/home/wsprague/SOURCES/octave/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/home/wsprague/SOURCES/octave'
gmake: *** [all] Error 2
I haven't tried 3.2.4 for comparison sake yet. I wish I knew more about
autotools, or had the hours necessary to learn it this week....