How did the installation of the perl PGPLOT module
go?  That is a separate installation that would need
to be built with the new version of pgplot.

--Chris

On 3/18/2011 5:26 PM, Andres Guzman wrote:
> Hello Everybody:
> I have a problem installing the pgplot-related modules in PDL.
>
> First of all, I am doing this all over again because I recently
> upgrade my system frm openSUSE 11.0 to 11.3.
>
> I have (succesfully?) installed pgplot 5.2.2 roughly  following the
> instructions of this webpage
> (http://www.dur.ac.uk/physics.astrolab/ppgplot.html). I have only used
> pgplot from pdl, so I would not know if the installation is ok, but
> all the pgplot demos work.
>
> I removed my previous version of PDL (2.4.6) from yast.   I installed
> Astro::Fits::Header and ExtUtilsF77.
>
> Downloaded PDL from cpan, unpacked, and start build:
>   - at the beggining "perl Makefile.PL" told me about the previous PDL
> version, but after removing it with yast it didnt.
>   - at "make test" started to appear the firsts problems (at pgplot.t),
> here is the result:
>
>
>
> linux-0i00:/usr/local/PDL-2.4.7 # make test
> ...
> (*stuff*)
> ...
> t/minuit.t .................. ok
> t/misc.t .................... ok
> t/ndf.t ..................... skipped: PDL::IO::NDF module not available.
> t/niceslice.t ............... ok
> t/nsdatahandle.t ............ ok
> t/ones.t .................... ok
> t/opengl.t .................. skipped: ok 1 # Skipped: OpenGL support
> not compiled
> t/ops.t ..................... ok
> t/pdl_from_string.t ......... skipped: pdl string constructor tests
> not implemented
> t/pdlchar.t ................. ok
> t/pgplot.t .................. Unquoted string "pgsave" may clash with
> future reserved word at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT/Window.pm line 3380.
> Useless use of a constant (pgsave) in void context at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT/Window.pm line 3380.
> Unquoted string "pgunsa" may clash with future reserved word at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT/Window.pm line 3393.
> Useless use of a constant (pgunsa) in void context at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT/Window.pm line 3393.
> Use of uninitialized value in subroutine entry at
> /usr/lib/perl5/5.12.1/i586-linux-thread-multi/DynaLoader.pm line 223.
> Subroutine new_window redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 234,<DATA>
> line 387.
> Subroutine _close_windows redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 272,<DATA>
> line 387.
> Subroutine close_window redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 298,<DATA>
> line 387.
> Subroutine _get_windownumber redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 355,<DATA>
> line 387.
> Subroutine dev redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 387,<DATA>
> line 387.
> Subroutine focus_window redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 446,<DATA>
> line 387.
> Subroutine window_list redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 473,<DATA>
> line 387.
> Subroutine label_axes redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 487,<DATA>
> line 387.
> Subroutine turn_on_recording redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 493,<DATA>
> line 387.
> Subroutine turn_off_recording redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 501,<DATA>
> line 387.
> Subroutine retrieve_state redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 509,<DATA>
> line 387.
> Subroutine replay redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 518,<DATA>
> line 387.
> Subroutine clear_state redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 526,<DATA>
> line 387.
> Subroutine autolog redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 535,<DATA>
> line 387.
> Subroutine text redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 540,<DATA>
> line 387.
> Subroutine cursor redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 545,<DATA>
> line 387.
> Subroutine legend redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 550,<DATA>
> line 387.
> Subroutine transform redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 573,<DATA>
> line 387.
> Subroutine hold redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 578,<DATA>
> line 387.
> Subroutine release redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 579,<DATA>
> line 387.
> Subroutine get_current_window redefined at
> /usr/local/PDL-2.4.7/blib/lib/PDL/Graphics/PGPLOT.pm line 583,<DATA>
> line 387.
> Subroutine env redefined at (eval 68) line 1,<DATA>  line 387.
> Subroutine bin redefined at (eval 69) line 1,<DATA>  line 387.
> Subroutine cont redefined at (eval 70) line 1,<DATA>  line 387.
> Subroutine fits_cont redefined at (eval 71) line 1,<DATA>  line 387.
> Subroutine errb redefined at (eval 72) line 1,<DATA>  line 387.
> Subroutine line redefined at (eval 73) line 1,<DATA>  line 387.
> Subroutine tline redefined at (eval 74) line 1,<DATA>  line 387.
> Subroutine points redefined at (eval 75) line 1,<DATA>  line 387.
> Subroutine tpoints redefined at (eval 76) line 1,<DATA>  line 387.
> Subroutine imag redefined at (eval 77) line 1,<DATA>  line 387.
> Subroutine fits_imag redefined at (eval 78) line 1,<DATA>  line 387.
> Subroutine imag1 redefined at (eval 79) line 1,<DATA>  line 387.
> Subroutine draw_wedge redefined at (eval 80) line 1,<DATA>  line 387.
> Subroutine ctab redefined at (eval 81) line 1,<DATA>  line 387.
> Subroutine ctab_info redefined at (eval 82) line 1,<DATA>  line 387.
> Subroutine hi2d redefined at (eval 83) line 1,<DATA>  line 387.
> Subroutine poly redefined at (eval 84) line 1,<DATA>  line 387.
> Subroutine vect redefined at (eval 85) line 1,<DATA>  line 387.
> Subroutine fits_vect redefined at (eval 86) line 1,<DATA>  line 387.
> Subroutine CtoF77coords redefined at (eval 87) line 1,<DATA>  line 387.
> Subroutine circle redefined at (eval 88) line 1,<DATA>  line 387.
> Subroutine ellipse redefined at (eval 89) line 1,<DATA>  line 387.
> Subroutine rectangle redefined at (eval 90) line 1,<DATA>  line 387.
> Undefined subroutine PDL::Graphics::PGPLOT::Window::pgopen at t/pgplot.t line 
> 92
> # Looks like your test exited with 1 before it could output anything.
> t/pgplot.t .................. Dubious, test returned 1 (wstat 256, 0x100)
> Failed 12/12 subtests
> t/physical.t ................ ok
> t/pic_16bit.t ............... ok
> t/picnorgb.t ................ ok
> t/picrgb.t .................. ok
> t/plplot.t .................. skipped: PDL::Graphics::PLplot not installed
> t/pnm.t ..................... ok
> ...
> (*more stuff*)
> ...
> t/vaffine.t ................. ok
> t/xvals.t ................... ok
>
> Test Summary Report
> -------------------
> t/pgplot.t                (Wstat: 256 Tests: 0 Failed: 0)
>    Non-zero exit status: 1
>    Parse errors: Bad plan.  You planned 12 tests but ran 0.
> Files=115, Tests=1142, 26 wallclock secs ( 0.59 usr  0.17 sys + 23.90
> cusr  2.07 csys = 26.73 CPU)
> Result: FAIL
> Failed 1/115 test programs. 0/1142 subtests failed.
> make: *** [test_dynamic] Error 255
> linux-0i00:/usr/local/PDL-2.4.7 #
>
>
> After that I did make install.
> Well, I guess is not surprising that it does not work:
>
>
>
> andres@linux-0i00:~>  pdl
> perlDL shell v1.354
>   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.
> ReadLines, NiceSlice, MultiLines  enabled
> Reading PDL/default.perldlrc...
> Found docs database
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi/PDL/pdldoc.db
> Type 'help' for online help
> Type 'demo' for online demos
> Loaded PDL v2.4.7_001 (supports bad values)
>
> Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
>
> pdl>  use PDL::Graphics::PGPLOT::Window
> Can't locate PGPLOT.pm in @INC (@INC contains: /usr/local
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi
> /usr/lib/perl5/site_perl/5.12.1
> /usr/lib/perl5/vendor_perl/5.12.1/i586-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.12.1
> /usr/lib/perl5/5.12.1/i586-linux-thread-multi /usr/lib/perl5/5.12.1 .)
> at 
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi/PDL/Graphics/PGPLOT/Window.pm
> line 2272.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi/PDL/Graphics/PGPLOT/Window.pm
> line 2272.
> Compilation failed in require at (eval 37) line 5.
> BEGIN failed--compilation aborted
>
> pdl>  use PDL::Graphics::PGPLOT
> Attempt to reload PDL/Graphics/PGPLOT/Window.pm aborted.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi/PDL/Graphics/PGPLOT.pm
> line 148.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.12.1/i586-linux-thread-multi/PDL/Graphics/PGPLOT.pm
> line 148.
> Compilation failed in require at (eval 38) line 5.
> BEGIN failed--compilation aborted
>
> pdl>  dev('\xs')
> Undefined subroutine&main::dev called
>
> pdl>
>
>
> By the way, all the documentation works.
> Thanks in advance for any thoughts/help/suggestions.
> Atte. Andres Guzman
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1204 / Virus Database: 1498/3514 - Release Date: 03/18/11
>
>


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

Reply via email to