|
From: Joao C. <jc...@fe...> - 2002-12-04 00:54:24
|
On Tuesday 03 December 2002 14:39, you wrote:
> Joao,
> I have replied directly to you rather than the list, feel free to
> post on the list....
I will, this issue might concern other users.
>
> Joao Cardoso wrote:
> >On Monday 02 December 2002 21:03, David Armstrong wrote:
> >>I have a (modified) Red Hat 7.3 system I am trying to install Plplot =
on.
> >> I have Octave 2.1.40 and have compiled it with --enable-dl and
> >>--enable-shared. I have configured PlPlot with --eanble-octave. Whe=
n I
> >>try to compile Plplot it generates many errors in the plplot_octave.c=
c
> >>file. Below is the beginning of the error message stream. I am usin=
g
> >>gcc 3.2 and I have installed matwrap. Anyone have any idea what is
> >>going on here?
> >
> >Nope. I only tried Octave-2.1.36 and gcc-2.95.3.
> >
> >I know that Octave has suffered some significative changes since versi=
on
> >2.1.38. Do you have to use 2.1.40? If you could try 2.1.36 with gcc-3.=
2 it
> >could help.
>
> OK, octave 2.1.36 with gcc 3.2 it is!
>
> Octave 2.1.36 fails to compile with gcc 3.2. The error messages are be=
low.
>
> g++ -c -I. -I.. -I../liboctave -I../src -I../libcruft/misc -I../glob
=2E..
> make: *** [all] Error 2
>
> So to summarize:
>
> Octave 2.1.40 compiles with gcc 3.2 but plplot 5.10 does not.
Yes, I know, I have compiled gcc-3.2.1 myself and plplot_octave (not plpl=
ot)=20
does not compile. It looks like that class vector string is missing:
> more /usr/include/g++/string
// Main header for the -*- C++ -*- string classes.
#ifndef __STRING__
#define __STRING__
#include <std/bastring.h>
extern "C++" {
typedef basic_string <char> string;
// typedef basic_string <wchar_t> wstring;
} // extern "C++"
#endif
> rpm -qf /usr/include/g++/string
libgpp-2.95.3-216
So, the new gcc-3.2.1 does not has libg++, that is where "string" comes f=
rom.
I will correct this in the future, but for now you can only use gcc-2.95.=
x.=20
(or compile libg++ if you find it -- it's now kind of obsolete, I think).=
I'm=20
pretty sure that octave 2.1.40 compiles with gcc-2.95.x, so it's your las=
t=20
resort.
Thanks,
Joao
>
> Octave 2.1.36 does not compile with gcc 3.2 so I do not even get to
> plplot....
>
> Regards
> Dave
>
> >Joao
> >
> >>Regards
> >>Dave Armstrong
> >
> >-------------------------------------------------------
> >This SF.net email is sponsored by: Get the new Palm Tungsten T
> >handheld. Power & Color in a compact size!
> >http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> >_______________________________________________
> >Plplot-general mailing list
> >Plp...@li...
> >https://lists.sourceforge.net/lists/listinfo/plplot-general
|