help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

octave 2.1.30 and FreeBSD 3.3


From: John W. Eaton
Subject: octave 2.1.30 and FreeBSD 3.3
Date: Sat, 8 Jul 2000 15:52:37 -0500 (CDT)

On  8-Jul-2000, Greg Troxel <address@hidden> wrote:

| I'm trying to compile 2.1.30 on FreeBSD 3.3 using the up-to-date
| FreeBSD port.  I don't have 4.0 machine - I"m going to ask a friend
| with that to try a build.
| 
| gcc and gmake seem ok relative to README admonitions:
| 
|   gcc version 2.7.2.3
|   GNU Make version 3.78.1, by Richard Stallman and Roland McGrath.
|   Built for i386--freebsd3.4
| 
| The freebsd port called configure like this:
| # ./configure  --disable-shared --host=i386-portbld-freebsd3.3 --with-f2c 
--prefix=/usr/local i386--freebsd3.3
| 
| The port applied no patches that look relevant to my problems.
| 
| My basic problem seems to be libstdc++ include files.  I'm using
| 2.7.2.3, and there's a /usr/lib/libstdc++.a, and stuff in
| /usr/include/g++.  I rebuilt libg++ and libstdc++ from (FreeBSD)
| sources and the behavior is unchanged.
| 
| When I first built, I got complaints about <iostream> not being found.
| I changed this to iostream.h.  Now the real problem seems to be the
| various uses of std::string, such as line 35 of lo-utils.h:
| 
| 35:extern void octave_putenv (const std::string&, const std::string&);
| 
| I can't find this in any of my include files.
| 
| Do I perhaps need a more recent stdc++ library?
| 
| I also tried with gcc 2.95.2, but that doesn't seem to include
| libstdc++, so I backed off to 2.7.2.3.
| 
| Thanks for any comments/insights anyone might have.

The README file is out of date.  You need gcc 2.95.x.  It should
include a version of libstdc++ which will work.

jwe



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



reply via email to

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