delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/04/17:13:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Mon, 4 Jun 2001 17:12:39 -0400 (edt)
From: Marc Fortier <mfortier AT site DOT uottawa DOT ca>
To: Cygwin Mailing List <cygwin AT sources DOT redhat DOT com>
Subject: trouble using CPAN from cygwin
Message-ID: <Pine.WNT.4.33.0106041701140.588-100000@admin2>
X-X-Sender: mfortier AT mail DOT site DOT UOttawa DOT CA
MIME-Version: 1.0

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 AT site DOT uottawa DOT ca  http://www.site.uottawa.ca/~mfortier


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019