Thanks Rob and Chris.
My present status is a fairly working 2.47 pdl install on Vista 32bit - I just
wish I had history capability for the shell. I dropped 5.10 wiped my perl
directories and did a fresh install of everything. Ppm is nice in that you can
take a listing of your modules that were installed in to your site\lib and then
script it for auto install on the next release. So I installed pretty much
everything using ppm - except Devel::REPL which had issues - itemized in 3).
1) OpenGL - I followed Chris's advice and found a couple of freeglut.dll that
were not of the same version. I deleted them all and I compliled the latest
freeglut using VisualStudioExpress and although it is a lot larger (752KB) than
the previous versions (~200KB), it works nicely through all of the 3d demos. I
believe I created the dynamically linked version - not the statically linked,
then again I am not a programmer so I may be wrong...
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.
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.
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. 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:.
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
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.
Thanks,
CLIFF SOBCHUK
Core RF Engineering
Phone 514-345-7900 x43088
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
-----Original Message-----
From: Sisyphus [mailto:[email protected]]
Sent: August-22-10 6:16 AM
To: Clifford Sobchuk; [email protected]; [email protected]
Subject: Re: [Perldl] PDL-2.4.7 released to CPAN
----- Original Message -----
From: "Sisyphus" <[email protected]>
> For me, 'demo pgplot' and 'demo bad2' work fine unless grwnd.exe has
> already been run in the current pdl shell. (I think that's what you're
> getting, too.) That grwnd.exe is definitely buggy.
Apparently, on MS Windows, we can't open a second grwnd.exe window, even if the
first instance has been closed. (This is the doing of the PGPLOT module, and
might even go back to the pgplot.dll.)
There is, however, a way of getting a second window to open. Try this
script:
##########################
use PDL::Demos::Screen;
use PDL::Demos::PGPLOT_OO_demo;
PDL::Demos::PGPLOT_OO_demo::run();
###########################
To run the pgplot demo in the cmd.exe shell (ie not in the pdl shell), run this
script:
###########################
use PDL::Demos::Screen;
use PDL::Demos::PGPLOT_demo;
PDL::Demos::PGPLOT_demo::run();
###########################
The transform demo has a couple of problems. Firstly there's 3 occurrences of a
hardcoded '/xw' that need to be replaced with '/GW' for MS Windows - I've now
fixed that in the git version of Demos/Transform_demo.pm.
Secondly, there's the problem mentioned above - that an (inevitably
unsuccessful) attempt is made to open a second grwnd instance. I haven't yet
done anything about that - the demo still goes apeshit when the attempt to open
the second window is made. (As I mentioned above, see Demos/PGPLOT_OO_demo.pm
for a method of getting 2 windows.)
I used this script to run the transform demo in the cmd.exe shell:
#############################
use PDL::Demos::Screen;
use PDL::Demos::Transform_demo;
PDL::Demos::Transform_demo::run();
#############################
And for bad2:
#############################
use PDL::Demos::Screen;
use PDL::Demos::BAD2_demo;
PDL::Demos::BAD2_demo::run();
#############################
> I haven't yet looked as closely as I would like at
> http://spdg1.sci.shizuoka.ac.jp/grwinlib/english/
>
> but maybe there's something there that could help. The stuff there
> (whch includes a GrWnd.exe) is being currently maintained - and the
> guy is responsive to bug reports and requests for assistance.
I gave that GrWnd.exe a try, but pgplot.dll croaks with an error that it failed
to open grwnd - even though the GrWnd.exe window opens up fine.
Maybe we need to use that GrWnd.exe with the static library that ships with it.
I haven't summonsed the energy to try that static library out - looks to me
that it doesn't have any drivers other than grwnd (which dampens my enthusiasm
somewhat).
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl