I can't speak specifically to Active State Perl installs but
installation into a location with white space in the path is
often problematic.  Are you using Active State Perl and
now want to use PDL or wanting to use PDL which was
installed in ASPerl several years ago or what...?

If you don't have a specific requirement for ASPerl itself,
then the simplest way to get the latest PDL running on
your system would be to get Strawberry Perl Portable
from http://strawberryperl.com/releases.html where you
can download either the 64bit or 32bit PortableZIP edition
+ extra PDL related which comes with PDL installed.
You can just unzip into a folder on your PC and then
double click the portableshell.bat file to start up SPP in
a CMD window.  You'll have perl, the PDL shells (pdl2
and perldl) and lots of stuff available at the prompt.

Hope this helps,
Chris

On Mon, Nov 28, 2016 at 2:08 PM, Harvey Frey <[email protected]> wrote:

> I'm using Active State Perl under Win7.
> There is a Perl Data Language folder on my computer.
> I probably tried to install it several years ago.
>
> I copied a test program from the QuickStart and tried to run it.
>
> It couldn't find PDL for the use command, so I added
> BEGIN { unshift @INC, '/perl/Perl Data Language/lib'; }
>
> Then when I ran the program tryPDL.pl I got a popup error message
>
> "perl510.dll is missing from your computer"
> (Indeed, there is no perl510.dll on my computer, but this has never been
> an issue before)
>
> and command line errors:
>
> Can't load '/perl/Perl Data Language/lib/auto/PDL/Core/Core.dll' for
> module PDL::Core: load_file:
> (The file "/perl/Perl Data Language/lib/auto/PDL/Core/Core.dll" does
> exist on my computer.)
>
> The specified module could not be found at C:/Perl/lib/DynaLoader.pm
> line 201.
>
> (line 201 has the comment:
>      # Many dynamic extension loading problems will appear to come from
> this section of code:
>      # XYZ failed at line 123 of DynaLoader.pm.
>      # Often these errors are actually occurring in the initialisation C
> code of the extension XS file.
>      # Perl reports the error as being in this perl code simply because
> this was the last perl code it executed.
>
>      my $libref = dl_load_file($file, $module->dl_load_flags) or
>      croak("Can't load '$file' for module $module: ".dl_error());
> )
>
> at (eval 1) line 6. Compilation failed in require at (eval 1) line 6.
> BEGIN failed--compilation aborted at (eval 1) line 6.
> BEGIN failed--compilation aborted at C:\Perl\hsf\tryPDL.pl line 5.
>
> So I tried to reinstall PDL and entered: "ppm install PDL"
>
> error messages:
>
> Downloading PDL-2.007...redirect Downloading PDL-2.007...failed 401
> Authorization Required
> ppm install failed: 401 Authorization Required
>
> What is a 401 error? Whose authorization do I need?
>
> I'm at a dead end!
>
> Thanks for any help!
>
> Harvey
>
> --
>
> =============================
> Harvey S. Frey MD PhD JD
> [email protected]  www.harp.org
> =============================
>
>
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> pdl-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pdl-general
>
------------------------------------------------------------------------------
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to