Hi Craig.

Attached is the output of the session and my .perldlrc in case there are any 
errors in it.

Thanks.

Cliff Sobchuk
Core RF Support Engineer
Phone: 613.667.1974     ECN: 8109.71974
Mobile: 403.819.9233
“The author works for Telefonaktiebolaget L M Ericsson (“Ericsson”), who is 
solely responsible for this email and its contents. All inquiries regarding 
this email should be addressed to Ericsson. The web site for Ericsson is 
www.ericsson.com.”
________________________________
From: Craig DeForest [[email protected]]
Sent: March 4, 2014 11:45 AM
To: Clifford Sobchuk
Cc: Craig DeForest; [email protected]
Subject: Re: [Perldl] P::G::G - Gnuplot not working 4.7 Patch 0 Ubuntu 12.04 32 
bit

Hmmm.  I've seen errors like that too where for some reason wxt was not 
properly detected, but not lately.

Would you kindly do the following for me?

perldl> use PDL::Graphics::Gnuplot;
perldl> print join("\n",@Alien::Gnuplot::terms);
perldl> push(@Alien::Gnuplot::terms,"wxt");
perldl> $Alien::Gnuplot::terms{"wxt"}="Hack";
perldl> $w=gpwin(wxt);

I'd like to know the result of the print, and also whether that makes wxt work. 
 If so, the problem is isolated to the detection logic in Alien::Gnuplot.

Cheers,
Craig

On Mar 4, 2014, at 11:01 AM, Clifford Sobchuk 
<[email protected]<mailto:[email protected]>> wrote:

Hi folks

I am running Ubuntu 12.04 32 bit patch current with Gnuplot 4.7 patch 0 
installed.

When I try to install PDL::Graphics::Gnuplot I get an error that wxt terminal 
is not supported, although it is the default terminal when I go start gnuplot. 
I have installed using the package providers install method (sudo apt-get 
install pdl pgplot5 libpgplot-perl). I have also tried uninstalling Gnuplot 4.7 
and installed 4.6.4. Same results. Attached error log when I was trying to 
install PDL::Graphics::Gnuplot from cpan with 4.7 installed.

Any ideas?

Thanks,

<image003.jpg><http://www.ericsson.com/>

CLIFF SOBCHUK
Engineer IV - Systems Developer
BNET DURA

Ericsson
Home Office
T3K3Y5, Calgary, AB, Canada
Phone +16139636957
Mobile +14038199233
[email protected]<mailto:[email protected]>
www.ericsson.com<http://www.ericsson.com/>

Legal entity: Ericsson Canada, registered office in Terry Fox. This 
Communication is Confidential. We only send and receive email on the basis of 
the terms set out at 
www.ericsson.com/email_disclaimer<http://www.ericsson.com/email_disclaimer>

<pdl gnuplot err.txt>_______________________________________________
Perldl mailing list
[email protected]<mailto:[email protected]>
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

pdlrfeng@rfeng-toy2:~$ pdl2
Perldl2 Shell v0.008
      PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
      'COPYING' in the PDL distribution. This is free software and you
      are welcome to redistribute it under certain conditions, see
      the same file for details.

Loaded plugins:

  CleanErrors
  Commands
  Completion
  CompletionDriver::INC
  CompletionDriver::Keywords
  CompletionDriver::LexEnv
  CompletionDriver::Methods
  DDS
  FindVariable
  History
  Interrupt
  LexEnv
  MultiLine::PPI
  NiceSlice
  PDLCommands
  Packages
  PrintControl
  ReadLineHistory


Type 'help' for online help

Type Ctrl-D or quit to exit

Loaded PDL v2.006

load_rcfile: got $HOME = /home/rfeng
load_rcfile: loading /home/rfeng/.perldlrc
pdl> use PDL::Graphics::Gnuplot

pdl> print join("\n",@Alien::Gnuplot::terms)
cairolatex
canvas
cgm
context
corel
dumb
dxf
eepic
emf
emtex
epscairo
epslatex
fig
gif
gpic
hp2623A
hp2648
hpgl
imagen
jpeg
latex
lua
mf
mif
mp
pcl5
pdfcairo
png
pngcairo
postscript
pslatex
pstex
pstricks
qms
regis
svg
tek40xx
tek410x
texdraw
tgif
tikz
tkcanvas
tpic
unknown
vttek
xterm
pdl>  push(@Alien::Gnuplot::terms,"wxt")

pdl> $Alien::Gnuplot::terms{"wxt"}="Hack"

pdl>  $w=gpwin(wxt)
Compile error: Bareword "wxt" not allowed while "strict subs" in use at (eval 
428) line 5, <FOO> line 175.

pdl>  $w=gpwin('wxt')
Runtime error: PDL::Graphics::Gnuplot: your gnuplot appears not to support the 
terminal 'wxt'.
        wxt: WxWidgets display [not in reported list from gnuplot]

You can use the 'terminfo' method for a list of available terminals.

 at /usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 2052, <FOO> line 
175.
        PDL::Graphics::Gnuplot::output(undef, undef) called at 
/usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 1915
        PDL::Graphics::Gnuplot::new('PDL::Graphics::Gnuplot', 'wxt') called at 
/usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 1838
        PDL::Graphics::Gnuplot::gpwin('wxt') called at (eval 429) line 5

pdl>  $w=gpwin("wxt")
Runtime error: PDL::Graphics::Gnuplot: your gnuplot appears not to support the 
terminal 'wxt'.
        wxt: WxWidgets display [not in reported list from gnuplot]

You can use the 'terminfo' method for a list of available terminals.

 at /usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 2052, <FOO> line 
175.
        PDL::Graphics::Gnuplot::output(undef, undef) called at 
/usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 1915
        PDL::Graphics::Gnuplot::new('PDL::Graphics::Gnuplot', 'wxt') called at 
/usr/local/share/perl/5.14.2/PDL/Graphics/Gnuplot.pm line 1838
        PDL::Graphics::Gnuplot::gpwin('wxt') called at (eval 430) line 5

pdl> 

Attachment: ATT46565.perldlrc
Description: ATT46565.perldlrc

_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to