The installation problem!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The installation problem!

Ju Zhang
When I complie the octave, I got following error:

gmake[2]: Entering directory `/opt/octave/octave-2.0.9/liboctave'
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall Bounds.cc
c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
-DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall CollocWt.cc
In file included from /opt/gnu/lib/g++-include/std/bastring.h:35,
                 from /opt/gnu/lib/g++-include/std/string.h:6,
                 from /opt/gnu/lib/g++-include/string:5,
                 from mach-info.h:26,
                 from data-conv.h:28,
                 from dMatrix.h:35,
                 from CollocWt.h:32,
                 from CollocWt.cc:33:
/opt/gnu/lib/g++-include/std/stddef.h:15: parse error before `::'
gmake[2]: *** [CollocWt.o] Error 1
gmake[2]: Leaving directory `/opt/octave/octave-2.0.9/liboctave'
gmake[1]: *** [liboctave] Error 2
gmake[1]: Leaving directory `/opt/octave/octave-2.0.9'
gmake: *** [all] Error 2

would you please give me some idea about this?

Thank you!

[hidden email]


Reply | Threaded
Open this post in threaded view
|

The installation problem!

John W. Eaton-6
On 13-Oct-1997, Ju Zhang <[hidden email]> wrote:

| When I complie the octave, I got following error:
|
| gmake[2]: Entering directory `/opt/octave/octave-2.0.9/liboctave'
| c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
| -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall Bounds.cc
| c++ -c  -I. -I.. -I../liboctave -I../src -I../glob -I../libcruft/misc  
| -DHAVE_CONFIG_H  -fno-implicit-templates  -g -O2 -Wall CollocWt.cc
| In file included from /opt/gnu/lib/g++-include/std/bastring.h:35,
|                  from /opt/gnu/lib/g++-include/std/string.h:6,
|                  from /opt/gnu/lib/g++-include/string:5,
|                  from mach-info.h:26,
|                  from data-conv.h:28,
|                  from dMatrix.h:35,
|                  from CollocWt.h:32,
|                  from CollocWt.cc:33:
| /opt/gnu/lib/g++-include/std/stddef.h:15: parse error before `::'
| gmake[2]: *** [CollocWt.o] Error 1
| gmake[2]: Leaving directory `/opt/octave/octave-2.0.9/liboctave'
| gmake[1]: *** [liboctave] Error 2
| gmake[1]: Leaving directory `/opt/octave/octave-2.0.9'
| gmake: *** [all] Error 2
|
| would you please give me some idea about this?

I'm guessing that the problem is that Octave's configure script didn't
find a definition for NPOS when it included <string>, so it assumed
that it needed to define it as string::npos.

Did something change about your system between the time you ran
configure and when you ran make?

jwe