I am having troubles installing a mod with cpan. when I use c:\cpan> install Win32::API I get an error that the perl (Error: Unable to locate installed Perl libraries or Perl source code.)
I am getting this error when I try to use Make.pl.
Windows XP
ActivePerl 5.8.4 build 810
Here is the full log information:
cpan> install Win32::API
Running install for module Win32::API
Running make for A/AC/ACALPINI/Win32-API-0.41.tar.gz
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/id/A/AC/ACALPINI/Win32-API-0.41.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/id/A/AC/ACALPINI/CHECKSUMS
Checksum for \.cpan\sources\authors\id\A\AC\ACALPINI\Win32-API-0.41.tar.gz ok
Scanning cache \.cpan\build for sizes
Win32-API-0.41/
Win32-API-0.41/API.h
Win32-API-0.41/API.pm
Win32-API-0.41/API.xs
Win32-API-0.41/API_test_dll/
Win32-API-0.41/API_test_dll/API_test.cpp
Win32-API-0.41/API_test_dll/API_test.def
Win32-API-0.41/API_test_dll/API_test.dsp
Win32-API-0.41/API_test_dll/API_test.dsw
Win32-API-0.41/API_test_dll/API_test.h
Win32-API-0.41/API_test_dll/API_test.ncb
Win32-API-0.41/API_test_dll/API_test.opt
Win32-API-0.41/API_test_dll/API_test.plg
Win32-API-0.41/API_test_dll/Makefile
Win32-API-0.41/API_test_dll/StdAfx.cpp
Win32-API-0.41/API_test_dll/StdAfx.h
Win32-API-0.41/Callback/
Win32-API-0.41/Callback/Callback.xs
Win32-API-0.41/Callback/Makefile.PL
Win32-API-0.41/Callback/t/
Win32-API-0.41/Callback/t/02_Callback.t
Win32-API-0.41/Callback.pm
Win32-API-0.41/Makefile.PL
Win32-API-0.41/MANIFEST
Win32-API-0.41/README
Win32-API-0.41/README.txt
Win32-API-0.41/samples/
Win32-API-0.41/samples/callback1.pl
Win32-API-0.41/samples/callback2.pl
Win32-API-0.41/samples/callback3.pl
Win32-API-0.41/samples/cdinfo.pl
Win32-API-0.41/samples/chres.pl
Win32-API-0.41/samples/ejectcd.pl
Win32-API-0.41/samples/GetCursorPos.pl
Win32-API-0.41/samples/hideconsole.pl
Win32-API-0.41/samples/kernel32.html
Win32-API-0.41/samples/kernel32.pl
Win32-API-0.41/samples/locales.pl
Win32-API-0.41/samples/resolution.pl
Win32-API-0.41/samples/rndcolors.pl
Win32-API-0.41/samples/Win32/
Win32-API-0.41/samples/Win32/kernel32.pm
Win32-API-0.41/samples/wininfo.pl
Win32-API-0.41/Struct.pm
Win32-API-0.41/t/
Win32-API-0.41/t/00_API.t
Win32-API-0.41/t/01_Struct.t
Win32-API-0.41/Type.pm
Win32-API-0.41/TYPEMAP
CPAN.pm: Going to build A/AC/ACALPINI/Win32-API-0.41.tar.gz
Checking if your kit is complete...
Looks good
Error: Unable to locate installed Perl libraries or Perl source code.
It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.
(You get this message, because MakeMaker could not find "C:\TEMP\perl-----------
---------------------please-run-the-install-script------------------------------
--\lib\CORE\perl.h")
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install
I am getting this error when I try to use Make.pl.
Windows XP
ActivePerl 5.8.4 build 810
Here is the full log information:
cpan> install Win32::API
Running install for module Win32::API
Running make for A/AC/ACALPINI/Win32-API-0.41.tar.gz
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/id/A/AC/ACALPINI/Win32-API-0.41.tar.gz
CPAN: Digest::MD5 loaded ok
Fetching with LWP:
ftp://archive.progeny.com/CPAN/authors/id/A/AC/ACALPINI/CHECKSUMS
Checksum for \.cpan\sources\authors\id\A\AC\ACALPINI\Win32-API-0.41.tar.gz ok
Scanning cache \.cpan\build for sizes
Win32-API-0.41/
Win32-API-0.41/API.h
Win32-API-0.41/API.pm
Win32-API-0.41/API.xs
Win32-API-0.41/API_test_dll/
Win32-API-0.41/API_test_dll/API_test.cpp
Win32-API-0.41/API_test_dll/API_test.def
Win32-API-0.41/API_test_dll/API_test.dsp
Win32-API-0.41/API_test_dll/API_test.dsw
Win32-API-0.41/API_test_dll/API_test.h
Win32-API-0.41/API_test_dll/API_test.ncb
Win32-API-0.41/API_test_dll/API_test.opt
Win32-API-0.41/API_test_dll/API_test.plg
Win32-API-0.41/API_test_dll/Makefile
Win32-API-0.41/API_test_dll/StdAfx.cpp
Win32-API-0.41/API_test_dll/StdAfx.h
Win32-API-0.41/Callback/
Win32-API-0.41/Callback/Callback.xs
Win32-API-0.41/Callback/Makefile.PL
Win32-API-0.41/Callback/t/
Win32-API-0.41/Callback/t/02_Callback.t
Win32-API-0.41/Callback.pm
Win32-API-0.41/Makefile.PL
Win32-API-0.41/MANIFEST
Win32-API-0.41/README
Win32-API-0.41/README.txt
Win32-API-0.41/samples/
Win32-API-0.41/samples/callback1.pl
Win32-API-0.41/samples/callback2.pl
Win32-API-0.41/samples/callback3.pl
Win32-API-0.41/samples/cdinfo.pl
Win32-API-0.41/samples/chres.pl
Win32-API-0.41/samples/ejectcd.pl
Win32-API-0.41/samples/GetCursorPos.pl
Win32-API-0.41/samples/hideconsole.pl
Win32-API-0.41/samples/kernel32.html
Win32-API-0.41/samples/kernel32.pl
Win32-API-0.41/samples/locales.pl
Win32-API-0.41/samples/resolution.pl
Win32-API-0.41/samples/rndcolors.pl
Win32-API-0.41/samples/Win32/
Win32-API-0.41/samples/Win32/kernel32.pm
Win32-API-0.41/samples/wininfo.pl
Win32-API-0.41/Struct.pm
Win32-API-0.41/t/
Win32-API-0.41/t/00_API.t
Win32-API-0.41/t/01_Struct.t
Win32-API-0.41/Type.pm
Win32-API-0.41/TYPEMAP
CPAN.pm: Going to build A/AC/ACALPINI/Win32-API-0.41.tar.gz
Checking if your kit is complete...
Looks good
Error: Unable to locate installed Perl libraries or Perl source code.
It is recommended that you install perl in a standard location before
building extensions. Some precompiled versions of perl do not contain
these header files, so you cannot build extensions. In such a case,
please build and install your perl from a fresh perl distribution. It
usually solves this kind of problem.
(You get this message, because MakeMaker could not find "C:\TEMP\perl-----------
---------------------please-run-the-install-script------------------------------
--\lib\CORE\perl.h")
Running make test
Make had some problems, maybe interrupted? Won't test
Running make install
Make had some problems, maybe interrupted? Won't install