Karim BELABAS on Mon, 17 Jun 2002 20:29:26 +0200 (MEST)


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

Re: DYNAMIC_PLOTTING with gnuplot made easy


On Mon, 17 Jun 2002, Ilya Zakharevich wrote:
> 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/Gnuplot.so': /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/Gnuplot.so: 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/Gnuplot.so': /usr/lib/perl5/site_perl/5.6.0/i386-linux/auto/Term/Gnuplot/Gnuplot.so: 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.

Right, after adding both PL_op and PL_curpad, it works.

(19:06) vintsy-karim% perl --version

This is perl, v5.6.0 built for i386-linux

> Do not know when I will be able to recheck it, but probably not after
> very long.

OK, I'm leaving that code alone. Send a patch when you're done :-)

> Unfortunately, I will not be able to check why the test of
> Term::Gnuplot fails as root.

I can investigate that if you're interested.

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

That's what I eventually did.

Thanks,

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas
--
PARI/GP Home Page: http://www.parigp-home.de/