Click here to get back home

Perl PPM NTLM module problem

 HomeNewsGroups | Search

comp.lang.perl.modules - Discussion about PERL modules 

get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Perl PPM NTLM module problem svnpttrssn 05-20-2009
Posted by svnpttrssn on May 20, 2009, 2:50 pm
Please log in for more thread options
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:

show/hide quoted text
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:

show/hide quoted text
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
Please log in for more thread options
On May 21, 4:50=A0am, svnpttr...@gmail.com wrote:
show/hide quoted text

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

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

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:

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


Posted by svnpttrssn on May 21, 2009, 10:42 am
Please log in for more thread options
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
Please log in for more thread options
Dans l'article <ddc435eb-ed77-4b28-b9dc-
show/hide quoted text

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
Please log in for more thread options
On May 21, 6:39=A0pm, jl_mo...@bribes.org (Jean-Louis MOREL) wrote:
show/hide quoted text

show/hide quoted text

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:
show/hide quoted text
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

Similar ThreadsPosted
Problem with Net::SSH::Perl module December 22, 2004, 12:38 pm
Problem using C module in perl January 5, 2006, 5:03 am
problem using swig to create perl module October 6, 2005, 8:10 am
perl cgi session module installation problem June 5, 2006, 11:11 am
Problem in accessing DLL function from perl module. July 31, 2007, 4:52 am
WWW::Mechanize and NTLM authentication December 21, 2004, 3:55 pm
Mysql-DBD Perl module Installation Problem in HPUX June 30, 2005, 9:05 am
Newbie question about NTLM and web sites August 12, 2004, 9:17 am
Problem with Net::SSH Perl June 30, 2005, 8:31 am
Net::SSH::Perl::Cipher Problem. June 10, 2005, 1:51 am

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

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap
Privacy Policy