Hello, World!

I'm having trouble installing Win32::API into ActiveState Perl 623 on a Windows 98 box 
behind a firewall.  Attempting the PPM method:

C:\Perl\site\src>ppm
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM> install Win32-API
Install package 'Win32-API?' (y/N): y
Installing package 'Win32-API'...
Error installing package 'Win32-API': Could not locate a PPD file for package Wi
n32-API
PPM> quit
Quit!

C:\Perl\site\src>ppm
PPM interactive shell (2.1.2) - type 'help' for available commands.
PPM> install Win32::API
Install package 'Win32-API?' (y/N): y
Installing package 'Win32-API'...
Error installing package 'Win32-API': Could not locate a PPD file for package Wi
n32-API
PPM> quit
Quit!


Attempting PPM from the author's site (http://dada.perl.it/PPM):

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM Win32::API
Installing package 'Win32-API'...
Error installing package 'Win32-API': Could not locate a PPD file for package Wi
n32-API

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM Win32-API
Installing package 'Win32-API'...
Error installing package 'Win32-API': Could not locate a PPD file for package Wi
n32-API

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM Win32-API-0.20
Installing package 'Win32-API-0.20'...
Error installing package 'Win32-API-0.20': Could not locate a PPD file for packa
ge Win32-API-0.20

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM Win32-API.ppd
Installing package 'Win32-API.ppd'...
Error installing package 'Win32-API.ppd': Could not locate a PPD file for packag
e Win32-API.ppd

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM/MSWin32-x86-mult
i-thread/Win32-API-0.20-PPM.tar.gz
Package not specified.

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM/MSWin32-x86-mult
i-thread Win32-API-0.20-PPM.tar.gz
Installing package 'Win32-API-0.20-PPM.tar.gz'...
Error installing package 'Win32-API-0.20-PPM.tar.gz': Could not locate a PPD fil
e for package Win32-API-0.20-PPM.tar.gz

C:\Perl\site\src>ppm install --location=http://dada.perl.it/PPM/MSWin32-x86-mult
i-thread Win32-API
Installing package 'Win32-API'...
Error installing package 'Win32-API': Could not locate a PPD file for package Wi
n32-API


Downloading the *.zip file and trying a traditional install (with the POLLUTE flag set 
per http://dada.perl.it/#api):

C:\Perl\site\src\Win32-API-0.20>ver
Windows 98 [Version 4.10.2222]

C:\Perl\site\src\Win32-API-0.20>path
PATH=C:\PERL\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\BIN

C:\Perl\site\src\Win32-API-0.20>dir
 Volume in drive C has no label
 Volume Serial Number is
 Directory of C:\Perl\site\src\Win32-API-0.20
.              <DIR>        04-18-01  3:36p .
..             <DIR>        04-18-01  3:36p ..
T              <DIR>        04-18-01  3:36p t
API      PM         14,953  10-24-00  3:26p API.pm
API      XS         10,311  10-24-00  3:26p API.xs
API~1    HTM        13,183  10-24-00  3:27p API.html
MAKEFILE PL            312  10-09-00  9:28a Makefile.PL
MANIFEST                86  10-24-00  3:29p MANIFEST
README               1,373  10-24-00  3:27p README
README   TXT         1,373  10-24-00  3:27p README.txt
TYPEMAP                 56  01-31-98  1:08p TYPEMAP
         8 file(s)         41,647 bytes
         3 dir(s)     668,336,128 bytes free

C:\Perl\site\src\Win32-API-0.20>perl Makefile.PL POLLUTE=1
Checking if your kit is complete...
Looks good
Usage: xsubpp [-v] [-C++] [-except] [-prototypes] [-noversioncheck] [-nolinenumb
ers] [-nooptimize] [-noinout] [-noargtypes] [-s pattern] [-typemap typemap]... f
ile.xs
Writing Makefile for Win32::API

C:\Perl\site\src\Win32-API-0.20>nmake
Microsoft (R) Program Maintenance Utility   Version 1.50
Copyright (c) Microsoft Corp 1988-94. All rights reserved.
mkdir blib
mkdir blib\lib
mkdir blib\lib\Win32
mkdir blib\arch
mkdir blib\arch\auto
mkdir blib\arch\auto\Win32
mkdir blib\arch\auto\Win32\API
mkdir blib\lib\auto
mkdir blib\lib\auto\Win32
mkdir blib\lib\auto\Win32\API
cp API.pm blib\lib\Win32\API.pm
        C:\Perl\bin\Perl.exe -IC:\Perl\lib -IC:\Perl\lib C:\Perl\lib\ExtUtils/xs
ubpp   -typemap C:\Perl\lib\ExtUtils\typemap -typemap typemap API.xs > API.c
        cl -c  -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT
 -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DPERL_MSVCRT_READFIX -DPERL_POLLUT
E -O1 -MD -DNDEBUG      -DVERSION=\"0.20\"  -DXS_VERSION=\"0.20\"  -IC:\Perl\lib
\CORE  API.c
NMAKE : fatal error U1081: 'cl' : program not found
Stop.


Any suggestions?


TIA,

David
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-users

Reply via email to