----- Original Message ----- From: "Clifford Sobchuk" <[email protected]>

Updated - I removed my compiled freeglut.dll from the system32 directory
and then reinstalled OpenGL - works fine. If you need to use your own
compiled freeglut.dll & .lib, then one needs to download OpenGL using
cpan, replace the .dll and .lib with your versions, then complete the make
and make install from cpan. Either way works.


Interesting - I had problems when I tried to use OpenGL (built against the
freeglut.dll that ships with the OpenGL source) with my ppm builds of PDL. I
attributed those problems to the fact that my ppm builds of PDL had been
built against an OpenGL that, itself, had been built against a *static*
freeglut library. Perhaps the problem I experienced (the details of which I
forget) was simply a freeglut library version mismatch - and nothing to do with mixing static and dynamic libs. No matter - if an OpenGL that has been built against a dynamic freeglut library works with the ppm builds of PDL, that's great. (Less headaches for me :-)

2) I have been using the latest version (well I actually updated to the
latest with the install on this new computer) of GrWnd for the last
several releases and it works fine on my machine. I believe that I
downloaded the Prebuilt binary for MinGW (I have it installed). Yes, the
error you described about the second window opening causing the error is
the fault that I am experiencing. I have tried to download the toolkit >
10 times now and it simply times out before completing, so I have not
tried to build my own version of the GrWnd.dll. This doesn't impede my use
that much since I only have one window open.

The multiple windows problem is a bug in the pgplot library - at least in that build of the library that ppm installs.

Plplot and it's wingcc graphics window provides an alternative to pgplot/grwnd - but there's no demos of wingcc interacting with the pdl shell (afaik).

3) pdl2 kind of works on my machine. I had to force install Devel::REPL
from cpan as the version in the ppm browser was too old and I thought that
I saw that it was 1.03.0111 but after the install from ppm it seemed to go
back to an earlier version. So I thought that it was installed, but it
apparently failed quietly. I went in to cpan and tried to install, but it
would fail on Sys::SigAction but said it may work if forced. Once I
completed the force install, pdl2 would launch.

So, in the end you have version 1.003011 ?

Probably best to check:
perl -MDevel::REPL -e "print $Devel::REPL::VERSION"

and also, just so there's no doubt:
perl -MTerm::ReadLine::Perl -e "print $Term::ReadLine::VERSION"

I have 1.003011 and 1.05 respectively. (Is that up to speed with what's recommended ?)

Once able to launch pdl2 I
get the following errors:

C:\Users\eclisob>pdl2
Unable to find PDL/pdldoc.db in C:/Perl/site/lib:C:/Perl/lib:.


Now that's odd.
The post-install script should install pdldoc.db (and does for me). You can
see it mentioned at the start of the installation process - in install.txt
(attached).
And it's definitely there for me.
I can't think of any way of working out what's gone wrong for you other than to:

1) Firstly, 'ppm remove PDL'
2) Then manually delete the perl/site/lib/PDL folder, if it's still there.
It's still there for me, with Index.pod and pdldoc.db the only files
remaining in it. (These 2 files were not, after all, installed by the 'ppm
install' process itself, so it makes good sense that 'ppm remove' leaves
them alone.)
3) Then re-run:
 ppm install http://cpan.uwinnipeg.ca/PPMPackages/10xx/PDL.ppd

Then see if pdldoc.db gets installed. If it doesn't, peruse the step 3) output for any hints as to why that part of the post-install process failed.

(I've already gone through the above steps on my 5.12.1 build of ActivePerl, just to make sure that it *is* installing .... not just there as a result of something I've done previously.)

Otherwise Clifford, I could just send you Index.pod and pdldoc.db - I think
they'll relocate just fine.

And upon exit:

pdl> Use of uninitialized value $lines in substitution (s///) at
C:/Perl/site/li
b/PDL/Perldl2/Plugin/PDLCommands.pm line 29.
Freeing FFT space
warning: unable to WriteHistory to C:/Users/eclisob/.perldl_hist

Don't know what's going on there,. nor what effects it might have. Chris ?

I was not able to use command history either - probably due to the error I
am guessing. I don't know why the error exists, I even opened up the
security on Vista to allow everyone to read/write/execute/modify the file
to no avail. I am using the Term::ReadLine::Perl module for the readline
capability. The cpan shell does have command history.

By the way, previously when Devel::REPL was not installed (properly) it
did not drop down to perldl properly. It was in some weird state where the
prompt said pdl> but the commands were DOS commands - I tried help and it
listed the DOS commands...

If you can think of any reason why the history is not working I would
appreciate any help.


History works for me - but not with the up and down arrow keys (unless the
TERM environment variable is set to dumb ... and then you probably lose some
other functionality).
I think Chris wanted emacs behaviour with the new shell - so try Ctrl-P
(instead of up arrow) and Ctrl-N (instead of down arrow). That works for me
ok.

Cheers,
Rob
Downloading PDL-2.4.7...done
Unpacking PDL-2.4.7...done
Generating HTML for PDL-2.4.7...done
Updating files in site area...done
Downloading PDL-2.4.7 install script...done
Running PDL-2.4.7 install script...DIR = C:/_32/ap1201/site/lib/
DB  = C:/_32/ap1201/site/lib//PDL/pdldoc.db
Scanning C:/_32/ap1201/site/lib/PDL ...

API.pod...              0 functions
AutoLoader.pm...        0 functions
Bad.pm...               15 functions
BadValues.pod...        0 functions
Basic.pm...             17 functions
CallExt.pm...           2 functions
Char.pm...              4 functions
Complex.pm...           37 functions
Compression.pm...       2 functions
Config.pm...            0 functions
Core.pm...              71 functions
Course.pod...           0 functions
Dataflow.pod...         0 functions
Dbg.pm...               2 functions
Delta.pod...            0 functions
DiskCache.pm...         5 functions
Doc.pm...               0 functions
Exporter.pm...          0 functions
FAQ.pod...              0 functions
FFT.pm...               10 functions
FFTW.pm...              23 functions
Func.pm...              10 functions
Graphics2D.pm...        1 functions
Image2D.pm...           18 functions
ImageND.pm...           7 functions
ImageRGB.pm...          4 functions
Indexing.pod...         0 functions
Internals.pod...        0 functions
IO.pod...               0 functions
Lite.pm...              0 functions
LiteF.pm...             0 functions
Lvalue.pm...            1 functions
Math.pm...              27 functions
MATLAB.pod...           0 functions
Matrix.pm...            14 functions
MatrixOps.pm...         13 functions
Minuit.pm...            18 functions
Modules.pod...          1 functions
NiceSlice.pm...         0 functions
Objects.pod...          0 functions
Ops.pm...               29 functions
Options.pm...           0 functions
pdldoc.pod...           0 functions
perldl.pod...           0 functions
Philosophy.pod...       0 functions
PP-Inline.pod...        0 functions
PP.pod...               0 functions
pptemplate.pod...       0 functions
Primitive.pm...         44 functions
QuickStart.pod...       0 functions
Reduce.pm...            2 functions
Scilab.pod...           0 functions
Slatec.pm...            30 functions
Slices.pm...            24 functions
Tests.pm...             0 functions
Threading.pod...        0 functions
Tips.pod...             0 functions
Transform.pm...         21 functions
Tutorials.pod...        0 functions
Types.pm...             0 functions
Ufunc.pm...             51 functions
Version.pm...           0 functions
Dev.pm...               2 functions
BAD2_demo.pm...         0 functions
BAD_demo.pm...          0 functions
Cartography_demo.pm...  0 functions
General.pm...           0 functions
PGPLOT_demo.pm...       0 functions
PGPLOT_OO_demo.pm...    0 functions
Screen.pm...            0 functions
TkTriD_demo.pm...       0 functions
Transform_demo.pm...    0 functions
TriD1.pm...             0 functions
TriD2.pm...             0 functions
TriDGallery.pm...       0 functions
Config.pm...            0 functions
Perldl.pm...            9 functions
Linear.pm...            0 functions
LinPred.pm...           0 functions
Gaussian.pm...          2 functions
Linfit.pm...            1 functions
LM.pm...                2 functions
Polynomial.pm...        1 functions
Proj.pm...              0 functions
Limits.pm...            1 functions
LUT.pm...               3 functions
OpenGLQ.pm...           0 functions
PGPLOT.pm...            6 functions
PGPLOTOptions.pm...     0 functions
PLplot.pm...            150 functions
State.pm...             0 functions
TriD.pm...              14 functions
VRML.pm...              0 functions
OpenGL.pm...            13 functions
Window.pm...            73 functions
ArcBall.pm...           0 functions
ButtonControl.pm...     5 functions
Contours.pm...          4 functions
Control3D.pm...         0 functions
Geomview.pm...          0 functions
GL.pm...                0 functions
GoBoard.pm...           0 functions
Graph.pm...             0 functions
GraphBox.pm...          0 functions
Image.pm...             0 functions
Labels.pm...            0 functions
Lines.pm...             0 functions
Logo.pm...              0 functions
MathGraph.pm...         0 functions
Mesh.pm...              0 functions
Object.pm...            0 functions
Objects.pm...           0 functions
OOGL.pm...              0 functions
Polygonize.pm...        0 functions
Pyramid.pm...           0 functions
Quaternion.pm...        0 functions
Rout.pm...              5 functions
SimpleScaler.pm...      0 functions
Surface.pm...           0 functions
TextObjects.pm...       0 functions
Tk.pm...                6 functions
ViewPort.pm...          0 functions
VRML.pm...              0 functions
Window.pm...            0 functions
Protos.pm...            0 functions
DIFF.pm...              4 functions
INTEG.pm...             22 functions
INTERP.pm...            5 functions
MROOT.pm...             2 functions
RNG.pm...               24 functions
AIRY.pm...              8 functions
BESSEL.pm...            27 functions
CLAUSEN.pm...           1 functions
COULOMB.pm...           4 functions
COUPLING.pm...          3 functions
DAWSON.pm...            1 functions
DEBYE.pm...             4 functions
DILOG.pm...             2 functions
ELEMENTARY.pm...        2 functions
ELLINT.pm...            10 functions
ELLJAC.pm...            1 functions
ERF.pm...               5 functions
EXP.pm...               3 functions
EXPINT.pm...            9 functions
FERMI_DIRAC.pm...       5 functions
GAMMA.pm...             19 functions
GEGENBAUER.pm...        2 functions
HYPERG.pm...            8 functions
LAGUERRE.pm...          1 functions
LEGENDRE.pm...          15 functions
LOG.pm...               2 functions
POLY.pm...              1 functions
POW_INT.pm...           1 functions
PSI.pm...               3 functions
SYNCHROTRON.pm...       2 functions
TRANSPORT.pm...         4 functions
TRIG.pm...              14 functions
ZETA.pm...              3 functions
Dicom.pm...             1 functions
Dumper.pm...            9 functions
FastRaw.pm...           4 functions
FITS.pm...              6 functions
FlexRaw.pm...           5 functions
GD.pm...                167 functions
Misc.pm...              11 functions
NDF.pm...               3 functions
Pic.pm...               7 functions
Pnm.pm...               5 functions
Storable.pm...          2 functions
Simplex.pm...           1 functions
Script.pm...            0 functions
NiceSlice.pm...         0 functions
PDLCommands.pm...       0 functions
PrintControl.pm...      2 functions
Perldl2.pm...           0 functions
Select.pm...            0 functions
Usage.pm...             0 functions
Cartography.pm...       23 functions
Proj4.pm...             130 functions


found 1393 functions
saving...


This build of PDL can utilise the PGPLOT graphic capabilities
if PGPLOT is installed. A PGPLOT ppm is also available from
this repository.

 In order to utilise the built in proj4 capability set your
 PROJ_LIB environment variable to C:\_32\ap1201\site\lib\PDL\proj_supp

 In order to utilise the built in plplot capability set your
 PLPLOT_LIB environment variable to C:\_32\ap1201\site\lib\PDL\plplot_supp

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

Reply via email to