Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [128.6.231.141] From: "sameer nandoliya" To: cygwin AT cygwin DOT com Subject: install OLE module for perl under cygwin Date: Fri, 21 Jun 2002 19:12:52 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 21 Jun 2002 19:12:52.0501 (UTC) FILETIME=[A40DC450:01C21957] Hi, I am trying to install Win32::OLE module for perl under cygwin, so that I can call excel from within perl. I tried following commands perl -MCPAN -e shell install Win32::OLE It gave me following error:::: /usr/bin/perl -I/usr/lib/perl5/5.6.1/cygwin-multi -I/usr/lib/perl5/5.6.1 /usr/li b/perl5/5.6.1/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.6.1/ExtUtils/typemap OL E.xs >xstmp.c && mv xstmp.c OLE.cpp g++ -c -fvtable-thunks -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -I/usr/local /include -DUSEIMPORTLIB -O2 -DVERSION=\"0.1403\" -DXS_VERSION=\"0.1403\" -I/u sr/lib/perl5/5.6.1/cygwin-multi/CORE OLE.cpp OLE.xs: In function `BOOL IsLocalMachine(PerlInterpreter *, char *)': OLE.xs:397: implicit declaration of function `int USING_WIDE(...)' OLE.xs:400: implicit declaration of function `int A2WHELPER(...)' OLE.xs:402: implicit declaration of function `int _wcsicmp(...)' OLE.xs: In function `void ReportOleError(PerlInterpreter *, HV *, long int, EXCE PINFO * = 0, SV * = 0)': OLE.xs:789: implicit declaration of function `int W2AHELPER(...)' OLE.xs: In function `HRESULT FindDefaultSource(PerlInterpreter *, WINOLEOBJECT * , IID *, ITypeInfo **, unsigned int, long unsigned int)': OLE.xs:1749: warning: converting NULL to non-pointer type OLE.xs: In function `IV GetLocaleNumber(PerlInterpreter *, HV *, char *, long un signed int, long unsigned int)': OLE.xs:2992: implicit declaration of function `int _wtol(...)' OLE.xs: In function `void XS_Win32__OLE_WithEvents(PerlInterpreter *, CV *)': OLE.xs:4152: warning: converting NULL to non-pointer type OLE.xs: In function `void XS_Win32__OLE__NLS_SendSettingChange(PerlInterpreter * , CV *)': OLE.xs:6163: warning: converting NULL to non-pointer type make: *** [OLE.o] Error 1 Can anybody Please help me out with this. Sameer _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/