Evyn has asked for the wisdom of the Perl Monks concerning the following question:

As I cannot use PPM to install modules over the 'net, I have to download them and uncompress them first.

When I uncompress a module it typically puts the tarball under MSWin32-x86-multi-thread. For soem reason, ppm does not find it on my NT WS box! I tried on my W98 box at home and it worked without the same problem. Of course, my Mandrake box has never given me any problem whatsoever.

I found that if I CD MSWin32-x86-multi-thread to something shorter, say MSWin32 and then change the CODEBASE HREF in the .ppd it works. For example: <CODEBASE HREF="MSWin32/Net-Telnet.tar.gz" />

I hope this may be of use to anyone that had the same problem as I had.

Replies are listed 'Best First'.
Re: Odd behaviour noted under Win32
by PodMaster (Abbot) on Dec 29, 2003 at 10:22 UTC
    You don't mention
    • What you perl version is and where you got it?
    • What you ppm version is and where you got it?
    For soem reason, ppm does not find it on my NT WS box!
    What's your current working directory? Can you give an overview of how you go about it? Something like this:
    G:\Wx\OpenGL-0.54-win32-5.6.1>dir OpenGL* 08/26/2003 03:12p 165,588 OpenGL-0.54_5.6.1.tar.gz 08/26/2003 10:28a 390 OpenGL.ppd 2 File(s) 165,978 bytes 0 Dir(s) 216,797,184 bytes free G:\Wx\OpenGL-0.54-win32-5.6.1>ppm install --location=. OpenGL Installing package 'OpenGL'... Error installing package 'OpenGL': Read a PPD for 'OpenGL', but it is +not intended for this build of Perl (MSWin32-x86-m ulti-thread) G:\Wx\OpenGL-0.54-win32-5.6.1>

    MJD says "you can't just make shit up and expect the computer to know what you mean, retardo!"
    I run a Win32 PPM repository for perl 5.6.x and 5.8.x -- I take requests (README).
    ** The third rule of perl club is a statement of fact: pod is sexy.

Re: Odd behaviour noted under Win32
by arden (Curate) on Dec 29, 2003 at 16:08 UTC
    I think you've probably hit upon the fact that WinNT doesn't understand names longer than 8 characters very well. You might have a problem with the OS filesystem having a bad pointer for MSWin32-x86-multi-thread if that directory has existed and then been changed, then another one existed, etc...

    Can you provide us with some more information, such as the version of perl, and the version and settings for ppm (case-sensitivity and repository info)?

      Here's some additional info:

      PPM

      Version 2.1.1 PPM> set Commands will be confirmed. Temporary files will be deleted. Case-insensitive searches will be performed. Package installations will continue if a dependency cannot be installe +d. Tracing info will not be written. Screens will not pause. Query/search results will be verbose. Current PPD repository paths: ActiveState Package Repository: http://www.ActiveState.com/PPM +Packages/5.6

      PERL
      C:\DevelopApps\TWRoot\cgi-bin>perl -V Summary of my perl5 (revision 5 version 6 subversion 0) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultip +licity=define useperlio=undef d_sfio=undef uselargefiles=undef use64bitint=undef use64bitall=undef uselongdouble=undef usesocks=u +ndef Compiler: cc='cl', optimize='-O1 -MD -DNDEBUG', gccversion= cppflags='-DWIN32' ccflags ='-O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_D +ES_FCRYPT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_ MSVCRT_READFIX' stdchar='char', d_stdstdio=define, usevfork=false intsize=4, longsize=4, ptrsize=4, doublesize=8 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', + lseeksize=4 alignbytes=8, usemymalloc=n, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -l +ibpath:"C:\p4view\Apps\ActivePerl\MSI\data\ActivePerl\Perl\lib \CORE" -machine:x86' libpth=C:\DEVSTU~2\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib + comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib version.lib odb +c32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl56.lib Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt: +ref,icf -libpath:"C:\p4view\Apps\ActivePerl\MSI\data\ActivePe rl\Perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEX +T PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 620 Built under MSWin32 Compiled at Oct 31 2000 18:31:05 @INC: C:/Program Files/ejd/perl/lib C:/Program Files/ejd/perl/site/lib