trouble using CPAN from cygwin

Marc Fortier mfortier@site.uottawa.ca
Mon Jun 4 14:12:00 GMT 2001


Hello all,

   I'm trying to use the CPAN script to download and install the Win32-API
module.  The source gets downloaded, but the make fails with this message:

  CPAN.pm: Going to build A/AC/ACALPINI/Win32-API-0.20.zip

Checking if your kit is complete...
Looks good
Writing Makefile for Win32::API
cp API.pm blib/lib/Win32/API.pm
/usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin -I/usr/lib/perl5/5.6.1 /usr/lib/perl5/5.6.1/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap -typemap typemap API.xs > API.xsc && mv API.xsc API.c
gcc -c  -DPERL_USE_SAFE_PUTENV -DHAS_SBRK_PROTO -fno-strict-aliasing -DUSEIMPORT LIB -O2   -DVERSION=\"0.20\" -DXS_VERSION=\"0.20\"  -I/usr/lib/perl5/5.6.1/cygwin/CORE  API.c
In file included from API.xs:39:
/usr/lib/perl5/5.6.1/cygwin/CORE/perl.h:1746: win32.h: No such file or directory

make: *** [API.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

I checked and couldn't find win32.h.  Am I missing a cygwin module?

		TIA,

		Marc
-- 
Marc Fortier, School of Information Technology & Engineering,
U. of Ottawa, P.O. Box 450 Stn A, Ottawa Ontario Canada, K1N 6N5
phone:  (613) 562-5800 ext. 6680, fax:  (613) 562-5187
mailto:mfortier@site.uottawa.ca  http://www.site.uottawa.ca/~mfortier


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list