Ilya Zakharevich on Mon, 17 Jun 2002 08:40:33 -0400

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

Re: DYNAMIC_PLOTTING with gnuplot made easy

On Sun, Jun 09, 2002 at 09:39:59PM +0200, Karim BELABAS wrote:
>  ***   Can't load Gnuplot drawing engine from '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/': /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/ undefined symbol: PL_stack_max.
> which makes sense since BOTH_GNUPLOT_AND_X11 is not defined, hence the dummy
> symbols from init.c are not included.

OK, so the #ifdef test should be fixed...

>  ***   Can't load Gnuplot drawing engine from '/usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/': /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/ undefined symbol: PL_curpad.
> which is not included in your dummy symbols. I added it, and now I miss PL_op.
> And now it works !

You mean after adding PL_op?  Good, the list of missing symbols should
be Perl-version-specific, but after several tries it should stabilize.

Do not know when I will be able to recheck it, but probably not after
very long.  Unfortunately, I will not be able to check why the test of
Term::Gnuplot fails as root.  Anyway, after testing it as user, one
can manually change to the build directory
(~/.cpan/build/Term-Gnuplot* or somesuch) and do

  make install

as root...