Click here to get back home

Perl PPM NTLM module problem

 HomeNewsGroups | Search

get this group's latest topics as an RSS feed  comp.lang.perl.modules - Discussion about PERL modules

Subject Author Date
Perl PPM NTLM module problem svnpttrssn 05-20-2009
If you were  Registered and logged in, you could reply and use other advanced thread options
Posted by svnpttrssn on May 20, 2009, 2:50 pm
Is there something wrong with the NTLM module, or is it just my
machine that somehow has a problem with installing it ?

I have tried the command below, with the result as below:


Downloading ActiveState Package Repository packlist...done
Updating ActiveState Package Repository database...done
Downloading NTLM-1.05...done
Unpacking NTLM-1.05...ppm install failed: Can't extract files from C:
\DOCUME~1\sven\LOCALS~1\Temp\ppm-rE4t9N/NTLM-1.05.tgz

I have tried to uninstall perl, and then reinstalled the latest
version (see below).

I am using Windows XP with Service Pack 3 installed, and am now (after
the reinstall) using the following perl version:


This is perl, v5.10.0 built for MSWin32-x86-multi-thread
(with 5 registered patches, see perl -V for more detail)
Copyright 1987-2007, Larry Wall
Binary build 1004 [287188] provided by ActiveState http://www.ActiveState.com
Built Sep  3 2008 13:16:37


I am also using ZoneAlarm firewall and AVG antivirus, but have also
tried with these two programs shutdown, but it did not help neither...

I have not only tried with the command version install, i.e. "ppm
install NTLM" but have also tried with the GUI, by only writing "ppm"
and then searching for NTLM and rightclicking it and so on... but the
result is the same, i.e. something like "Unpacking NTLM-1.05...ppm
install failed: Can't extract files from C:\DOCUME~1\sven\LOCALS~1\Temp
\ppm-rE4t9N/NTLM-1.05.tgz"

Can anyone suggest a solution about how to get rid of this problem and
being able to install the NTLM module ?
(and please also note that I can indeed install other modules
successfully...)


/ Sven

Posted by sisyphus on May 20, 2009, 8:59 pm
On May 21, 4:50=A0am, svnpttr...@gmail.com wrote:


The '.tgz' extension is puzzling, as I can't find any NTLM-1.05.tgz
binary anywhere.
I did find http://ppm4.activestate.com/MSWin32-x86/5.10/1004/B/BU/BUZZ/NTLM=
-1.05.tar.gz
which I *think* is the binary that it's trying to unpack. When I
download that file, I find it is only 20 bytes - so it's obviously
shit, and would explain the difficulty PPM is having in trying to
unpack it (if that is, in fact, the file it's trying to unpack).

PPM is now, after much effort on the part of ActiveState, very
difficult and annoying to troubleshoot when things go wrong.

If version 1.03 of NTLM will suffice you could try:

ppm install http://ppm.activestate.com/PPMPackages/5.10-windows/NTLM.ppd

For me that outputs:
ppm install failed: Installing MIME-Base64-3.07 for NTLM would
downgrade MIME::Base64 from version 3.0701 to 3.07; use --force to
install regardless

I didn't try using the --force switch (though I'm sure it would work),
as I didn't really want to downgrade MIME::Base64. Precisely why PPM
thinks it needs to downgrade MIME::Base64 is beyond me - just another
example of the extent to which PPM has deteriorated.

Or, if you too need to avoid having MIME::Base64 messed with, you
could save the following as 'my_ntlm.ppd':


<CODEBASE HREF=3D"http://ppm.activestate.com/PPMPackages/5.10-windows/


and then run 'ppm install my_ntlm.ppd'.
That worked for me.

(You might report these issues to ActiveState's PPM mailing list - but
don't expect any action or acknowledgement in return.)

Cheers,
Rob

PS I've just now confirmed that your problem *is* with that bodgy (20
bytes) tar.gz file. Try running the following PPD file, and you'll see
the exact same error as you've reported:


<CODEBASE HREF=3D"http://ppm4.activestate.com/MSWin32-x86/5.10/1004/B/BU/



Posted by svnpttrssn on May 21, 2009, 10:42 am
Thank you for your help Rob.

I reported the problem to ActiveState, and for those of you that might
run into the same problem and is looking for a solution, here is the
activestate thread, which hopfully will becoe answered with a
solution:
http://community.activestate.com/forum/problem-ntlm-module-ppm-install-failed-cant-extract-files

/ Sven

Posted by Jean-Louis MOREL on May 21, 2009, 12:39 pm
Dans l'article <ddc435eb-ed77-4b28-b9dc-


Try:
  
  ppm install http://www.bribes.org/perl/ppm/Authen-NTLM.ppd

HTH

--
J-L.M.
http://www.bribes.org/perl


Posted by svnpttrssn on May 21, 2009, 1:32 pm
On May 21, 6:39=A0pm, jl_mo...@bribes.org (Jean-Louis MOREL) wrote:




Well, "Authen-NTLM" is another module, and I already have it installed
(version 0.31 according to the PPM gui).
Nevertheless, I tried it again and got this result:

ppm install failed: Installing MIME-Base64-3.07 for Authen-NTLM would
downgrade
MIME::Base64 from version 3.0701 to 3.07; use --force to install
regardless

(i.e. the same message as Rob above got when he tried
ppm install http://ppm.activestate.com/PPMPackages/5.10-windows/NTLM.ppd
and indeed I also get that same message as Rob did)

/ Sven

If you were  Registered and logged in, you could reply and use other advanced thread options
  • Subject
  • Date

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

1-Script XML SitemapXML Sitemap
Privacy Policy