Thanks for the hints Rob. All working now.

I uninstalled the PDL 2.4.7 using ppm. Yes, I had installed using it (ppm 
listed) versus the ppd as I naively thought that if it were listed in ppm it 
was picking up the ppd from the specified uwinnipeg repo. We should probably 
put a note in the windows section to let others know that the command should be 
run from the command line versus using ppm GUI.

Tri-d works, pgplot works, pdl2 works, history works, after deleting my history 
file writing to the history file works as well.

Awesome. 

Output for the data requested below.
________________________________________________________________________________________________
C:\Users\eclisob>perl -MDevel::REPL -e "print $Devel::REPL::VERSION"
1.003011
C:\Users\eclisob>perl -MTerm::ReadLine::Perl -e "print $Term::ReadLine::VERSION"

Can't locate object method "Features" via package "Term::ReadLine::Stub" at C:/P
erl/site/lib/Term/ReadLine/Perl.pm line 101.
Compilation failed in require.
BEGIN failed--compilation aborted.

C:\Users\eclisob>perl -MTerm::ReadLine -e "print $Term::ReadLine::VERSION"
1.04
C:\Users\eclisob>perl -MPDL::Minuit -e 1

C:\Users\eclisob>

Weird regarding the ReadLine VERSION error though as I have it installed.

Ppm Reports:
Term-ReadLine-Perl
        Version:        1.0303
        Released:       2009-10-28
        Author: Ilya Zakharevich <[email protected]>
        CPAN:   http://search.cpan.org/dist/Term-ReadLine-Perl-1.0303/

Installed files:
        C:/Perl/site/lib/Term/ReadLine/Perl.pm
        C:/Perl/site/lib/Term/ReadLine/readline.pm
        C:/Perl/site/lib/auto/Term/ReadLine/Perl/.packlist.

Cpan reports:
Going to write C:\Perl\cpan\Metadata
Module  < Term::ReadLine         (JESSE/perl-5.12.1.tar.gz)
Module    Term::ReadLine::Gnu    (HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz)
Module    Term::ReadLine::Gnu::XS (HAYASHI/Term-ReadLine-Gnu-1.20.tar.gz)
Module  = Term::ReadLine::Perl   
(ILYAZ/modules/Term-ReadLine-Perl-1.0303.tar.gz)

Either way it seems to be happy and working...
_______________________________________________________________________________________________

Thanks for your help.

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-24-10 10:10 PM
To: Clifford Sobchuk; pdl-users; pdl-porters
Subject: Re: [Perldl] PDL-2.4.7 released to CPAN


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

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

Reply via email to