[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave 2.1.30 and FreeBSD 3.3
From: |
Greg Troxel |
Subject: |
Re: octave 2.1.30 and FreeBSD 3.3 |
Date: |
Sat, 08 Jul 2000 19:57:26 -0400 |
Thanks for the quick reply.
I installed the gcc-2.95.2 FreeBSD package. It installs gcc295 and
g++295. After making symlinks in /usr/local/bin to point gcc, cc, g++
and c++ at the 295 versions, the compile went immensely better.
(The FreeBSD port should probably require 2.95 and do something to
specify g++295/c++295.)
I only had the NPOS problem described in
ftp://ftp.che.wisc.edu/pub/octave/MAILING-LISTS/help-octave/2000/827
I fixed that by changing NPOS to std::string::npos.
This was too frequent, so I put
#define NPOS string::npos
in
/usr/local/lib/gcc-lib/i386-portbld-freebsd3.3/2.95.2/include/g++/string
rather than patching all the source files.
After that, I was able to build and install octave, and it seems to
work fine.
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------