[Top][All Lists]

[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 (

Thomas Dean <tomdean <at>> 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 "" in which to make the change.  I ran the 
following after

 $ find ./ -iname '*config*' -not -path '*gnulib*' -not -path '*.hg*'

> 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 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  -fPIC -DPIC -o .libs/liboctinterp_la-file-io.o
In file included from oct-prcstrm.h:27,
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 In function 'octave_stream do_stream_open(const std::string&, 
const            std::string&, const std::string&, int&)': 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....

reply via email to

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