help-octave
[Top][All Lists]
Advanced

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

Problem installing on Solaris 2.9.


From: John W. Eaton
Subject: Problem installing on Solaris 2.9.
Date: Fri, 16 Jul 2004 18:19:33 -0500

On 16-Jul-2004, Rolf Turner <address@hidden> wrote:

| The configure step appears to procede without problems.  However I
| get an error in the make process (using GNU make 3.80), which appears
| to arise from the quit.h file in libcruft/misc.  If I go to that
| directory and do an independent make there, I get
| 
| ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
| g++ -c  -I. -I../.. -I../../liboctave -I../../src -I../../libcruft/misc  
-I../../glob -I../../glob -DHAVE_CONFIG_H  -Wall -W -Wshadow -g -O2 quit.cc -o 
quit.o
| quit.cc:27:19: cstring: No such file or directory
| quit.cc:29:15: new: No such file or directory
| In file included from quit.cc:31:
| quit.h:27:15: new: No such file or directory           # This seems to be the
| quit.cc: In function `void octave_throw_bad_alloc()':  # problem.
| quit.cc:51: invalid use of undefined type `struct std::bad_alloc'
| <internal>:51: forward declaration of `struct std::bad_alloc'
| make: *** [quit.o] Error 1
| 
| ===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===+===
| 
| Looking in quit.h, line 27 is
| 
|       #include <new>
| 
| It looks to me like ``new'' is a string that should have been
| substituted for (in the configure process?) but for some reason
| that didn't happen.
| 
| Am I on the right track?  If so, how can I persuade the correct
| substitution to take place?

What version of Octave are you trying to build?

What version of g++ do you have?  I believe that current versions
should come with a standard library, including a header called "new",
and that should be installed in a location that the compiler searches
by default.

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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