Hi David, After seeing the presentation on YAPC I thought I would try to 
install the modules below on a Vista 32 bit machine (strawberry 5.12), but I 
can't seem to get them to install. Attached is the output. I am not sure if it 
is the / vs \ that is causing the issue, let me know if you have any insights.
 
Thanks,
Btw, let me know if this email is showing the hard returns at 72 char. I have 
set the options several times, but I can't seem to see them actually taking 
effect when I send as plain text. Is HTML email the better option?

CLIFF SOBCHUK
Core RF Engineering
Phone 613-667-1974   ecn: 8109-71974
mobile 403-819-9233
yahoo: sobchuk
www.ericsson.com <http://www.ericsson.com/>  

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

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> 

 

________________________________

From: David Mertens [mailto:[email protected]] 
Sent: Wednesday, February 29, 2012 1:32 PM
To: perldl; [email protected]
Subject: [Perldl] Announcing PDL::Graphics::Prima and company


All -

It is with great pride and joy that I finally release the first alphas of not 
one, not two, but three distributions to CPAN:

* PDL::Drawing::Prima - PDL bindings for many Prima::Drawable functions
* App::Prima::REPL - a first attempt at a grapical PDL workspace
* PDL::Graphics::Prima - 2D plotting library for PDL built on Prima

You can install all of these using standard CPAN methods. For example, at your 
system prompt you could install PDL::Graphics::Prima like so:

  cpan PDL::Graphics::Prima

The only external dependency you'll need is a C compiler. If you've not 
installed Prima before and you use Linux, you'll need your X11 dev files to 
compile that module, too. (On Windows and Mac, if you have a C compiler, you 
already have everything you need to compile Prima.)

PDL::Drawing::Prima uses the power of PDL's threading engine to automatically 
perform the same drawing operation over many different input values. 
PDL-threaded drawing operations take all applicable Prima drawing properties as 
*optional* arguments, so that (for example) drawing a large set of lines with 
the same color is nearly as simple as drawing a large set of lines with 
different colors. It also adds a threaded symbol drawing function that makes it 
easy to draw various standard N-gons like triangles, pentagons, stars, and 
asterisks.

App::Prima::REPL is my first attempt at a PDL workspace that uses Prima. On the 
spectrum of Perl/PDL work spaces, it is more user-friendly than the pdl and 
pdl2 shells, but it is not meant for editing script files (it can, but it's not 
great) and it is not nearly as sophisticated as Padre. It is lightly modeled 
after my experience with Matlab and IDL, and it targets potential users who 
would like to use PDL but who want the comfort of a GUI interface. Actually, it 
does not require PDL::Graphics::Prima, or even PDL, but if you later install 
them it will automatically load them for you.

PDL::Graphics::Prima is the root concept that spurred all these projects and is 
PDL's first 2D plotting library written in Perl. (There are external plotting 
libraries that have Perl/PDL bindings, but they are written in C or FORTRAN, 
not Perl.) It is a highly interactive GUI plotting library with many plotting 
capabilities and many more on the way. In particular, it has capabilities to 
export images in raster formats and postscript output is in progress. It is 
still quite young and compared with professional plotting libraries it will 
have many limitations. However, I would love new ideas and especially help in 
implementing them!

I promised to release this some time in February, so here it is. Although I 
intend to be very responsive to questions and requests, I will be particularly 
busy this week as I am attending the American Physical Society's March Meeting 
in Boston, so please be patient waiting for me to answer any questions you may 
pose. Also, I really hope that the documentation is helpful, but I know there 
are some holes. I hope that it is sufficient to help you get started. If not, 
please check the examples in the source tarballs for PDL::Drawing::Prima and 
PDL::Graphics::Prima.

Please download, use, and let me know what you think!

David

P. S. If you're in Boston and would like to meet up, feel free to email me. :-)

C:\Windows\system32>cpan PDL::Graphics::Prima
CPAN: CPAN::SQLite loaded ok (v0.199)
Database was generated on Fri, 06 Jul 2012 16:57:19 GMT
Running install for module 'PDL::Graphics::Prima'
Running make for D/DC/DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz
CPAN: Digest::SHA loaded ok (v5.61)
CPAN: Compress::Zlib loaded ok (v2.034)
Checksum for 
C:\strawberry\cpan\sources\authors\id\D\DC\DCMERTENS\PDL-Graphics-Prima-0.08.tar.gz
 ok
CPAN: Archive::Tar loaded ok (v1.76)
CPAN: File::Temp loaded ok (v0.22)
CPAN: Parse::CPAN::Meta loaded ok (v1.4401)
CPAN: CPAN::Meta loaded ok (v2.112150)
CPAN: YAML loaded ok (v0.73)
CPAN: Time::HiRes loaded ok (v1.9721)

  CPAN.pm: Going to build D/DC/DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz

Checking prerequisites...
  requires:
    !  PDL::Drawing::Prima is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES.  You may wish to install the versions
of the modules indicated above before proceeding with this installation

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'PDL-Graphics-Prima' version '0.08'
CPAN: Module::CoreList loaded ok (v2.46)
---- Unsatisfied dependencies detected during ----
---- DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz ----
    PDL::Drawing::Prima [requires]
Running Build test
  Delayed until after prerequisites
Running Build install
  Delayed until after prerequisites
Running install for module 'PDL::Drawing::Prima'
Running make for D/DC/DCMERTENS/PDL-Drawing-Prima-0.04.tar.gz
Checksum for 
C:\strawberry\cpan\sources\authors\id\D\DC\DCMERTENS\PDL-Drawing-Prima-0.04.tar.gz
 ok

  CPAN.pm: Going to build D/DC/DCMERTENS/PDL-Drawing-Prima-0.04.tar.gz

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'PDL-Drawing-Prima' version '0.04'
Building PDL-Drawing-Prima
gcc -c -I"C:\strawberry\perl\site\lib\PDL\Core" 
-I"C:\strawberry\perl\site\lib\Prima\CORE" 
-I"C:\strawberry\perl\site\lib\Prima\CORE
\generic" -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DUSE_SITECUSTOMIZE 
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mm
s-bitfields -DPERL_MSVCRT_READFIX -s -O2 "-DXS_VERSION=\"0.04\"" 
"-DVERSION=\"0.04\"" -I"C:\strawberry\perl\lib\CORE" -I"C:\strawber
ry\c\include" -o "lib\PDL\Drawing\Prima.o" "lib\PDL\Drawing\Prima.c"
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\PDL\Drawing\Prima\Prima.bs')
Generating script 'lib\PDL\Drawing\Prima.lds'
dlltool --def "lib\PDL\Drawing\Prima.def" --output-exp 
"lib\PDL\Drawing\Prima.exp"
g++ -o "blib\arch\auto\PDL\Drawing\Prima\Prima.dll" 
-Wl,--base-file,"lib\PDL\Drawing\Prima.base" -Wl,--image-base,0x315c0000 -mdll -
s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" 
"lib\PDL\Drawing\Prima.lds" -LC:\strawberry\perl\site\lib\auto\Prima -lPri
ma "lib\PDL\Drawing\Prima.exp"
dlltool --def "lib\PDL\Drawing\Prima.def" --output-exp 
"lib\PDL\Drawing\Prima.exp" --base-file "lib\PDL\Drawing\Prima.base"
g++ -o "blib\arch\auto\PDL\Drawing\Prima\Prima.dll" -Wl,--image-base,0x315c0000 
-mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\straw
berry\c\lib" "lib\PDL\Drawing\Prima.lds" 
-LC:\strawberry\perl\site\lib\auto\Prima -lPrima "lib\PDL\Drawing\Prima.exp"
gcc -c -I"C:\strawberry\perl\site\lib\PDL\Core" 
-I"C:\strawberry\perl\site\lib\Prima\CORE" 
-I"C:\strawberry\perl\site\lib\Prima\CORE
\generic" -s -O2 -DWIN32 -DHAVE_DES_FCRYPT  -DUSE_SITECUSTOMIZE 
-DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mm
s-bitfields -DPERL_MSVCRT_READFIX -s -O2 "-DXS_VERSION=\"0.04\"" 
"-DVERSION=\"0.04\"" -I"C:\strawberry\perl\lib\CORE" -I"C:\strawber
ry\c\include" -o "lib\PDL\Drawing\Prima\Utils.o" "lib\PDL\Drawing\Prima\Utils.c"
ExtUtils::Mkbootstrap::Mkbootstrap('blib\arch\auto\PDL\Drawing\Prima\Utils\Utils.bs')
Generating script 'lib\PDL\Drawing\Prima\Utils.lds'
dlltool --def "lib\PDL\Drawing\Prima\Utils.def" --output-exp 
"lib\PDL\Drawing\Prima\Utils.exp"
g++ -o "blib\arch\auto\PDL\Drawing\Prima\Utils\Utils.dll" 
-Wl,--base-file,"lib\PDL\Drawing\Prima\Utils.base" -Wl,--image-base,0x265a
0000 -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:\strawberry\c\lib" 
"lib\PDL\Drawing\Prima\Utils.lds" -LC:\strawberry\perl\site\li
b\auto\Prima -lPrima "lib\PDL\Drawing\Prima\Utils.exp"
dlltool --def "lib\PDL\Drawing\Prima\Utils.def" --output-exp 
"lib\PDL\Drawing\Prima\Utils.exp" --base-file "lib\PDL\Drawing\Prima\Ut
ils.base"
g++ -o "blib\arch\auto\PDL\Drawing\Prima\Utils\Utils.dll" 
-Wl,--image-base,0x265a0000 -mdll -s -L"C:\strawberry\perl\lib\CORE" -L"C:
\strawberry\c\lib" "lib\PDL\Drawing\Prima\Utils.lds" 
-LC:\strawberry\perl\site\lib\auto\Prima -lPrima "lib\PDL\Drawing\Prima\Utils.e
xp"
  DCMERTENS/PDL-Drawing-Prima-0.04.tar.gz
  C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\00-load-main.t ...
t\00-load-main.t ... 1/1 #   Failed test 'use PDL::Drawing::Prima;'
#   at t\00-load-main.t line 6.
#     Tried to use 'PDL::Drawing::Prima'.
#     Error:  Can't load 
'C:\strawberry\cpan\build\PDL-Drawing-Prima-0.04-wNPmCO\blib\arch/auto/PDL/Drawing/Prima/Prima.dll'
 for mod
ule PDL::Drawing::Prima: load_file:The specified module could not be found at 
C:\strawberry\perl\lib/DynaLoader.pm line 200.
#  at (eval 4) line 2.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Bailout called.  Further testing stopped:  Unable to load PDL::Drawing::Prima!
FAILED--Further testing stopped: Unable to load PDL::Drawing::Prima!
  DCMERTENS/PDL-Drawing-Prima-0.04.tar.gz
  C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DCMERTENS/PDL-Drawing-Prima-0.04.tar.gz
Running Build install
  make test had returned bad status, won't install without force
Running Build for D/DC/DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz
  Has already been unwrapped into directory 
C:\strawberry\cpan\build\PDL-Graphics-Prima-0.08-T8PfPQ

  CPAN.pm: Going to build D/DC/DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz

Warning: Prerequisite 'PDL::Drawing::Prima => 0.01' for 
'DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz' failed when processing 'DCMERTENS
/PDL-Drawing-Prima-0.04.tar.gz' with 'make_test => NO'. Continuing, but chances 
to succeed are limited.
Building PDL-Graphics-Prima
  DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz
  C:\strawberry\perl\bin\perl.exe ./Build -- OK
Running Build test
t\00-load-main.t ....
t\00-load-main.t .... 1/1 #   Failed test 'use PDL::Graphics::Prima;'
#   at t\00-load-main.t line 6.
#     Tried to use 'PDL::Graphics::Prima'.
#     Error:  Can't locate PDL/Drawing/Prima.pm in @INC (@INC contains: 
C:\strawberry\cpan\build\PDL-Graphics-Prima-0.08-T8PfPQ\blib
\lib C:\strawberry\cpan\build\PDL-Graphics-Prima-0.08-T8PfPQ\blib\arch 
C:\strawberry\perl\lib C:\strawberry\perl\site\lib\MSWin32-x8
6-multi-thread C:\strawberry\perl\site\lib/MSWin32-x86-multi-thread 
C:\strawberry\perl\site\lib C:\strawberry\perl\site\lib/MSWin32-
x86-multi-thread C:\strawberry\perl\lib 
C:\strawberry\perl\site\lib/MSWin32-x86-multi-thread 
C:\strawberry\perl\site\lib C:/strawber
ry/perl/site/lib/MSWin32-x86-multi-thread C:/strawberry/perl/site/lib 
C:/strawberry/perl/vendor/lib C:/strawberry/perl/lib .) at C:\
strawberry\cpan\build\PDL-Graphics-Prima-0.08-T8PfPQ\blib\lib/PDL/Graphics/Prima.pm
 line 18.
# BEGIN failed--compilation aborted at 
C:\strawberry\cpan\build\PDL-Graphics-Prima-0.08-T8PfPQ\blib\lib/PDL/Graphics/Prima.pm
 line 1
8.
# Compilation failed in require at (eval 4) line 2.
# BEGIN failed--compilation aborted at (eval 4) line 2.
Bailout called.  Further testing stopped:  Unable to load PDL::Graphics::Prima!
FAILED--Further testing stopped: Unable to load PDL::Graphics::Prima!
  DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz
one dependency not OK (PDL::Drawing::Prima); additionally test harness failed
  C:\strawberry\perl\bin\perl.exe ./Build test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
  reports DCMERTENS/PDL-Graphics-Prima-0.08.tar.gz
Running Build install
  make test had returned bad status, won't install without force
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to