install OLE module for perl under cygwin

sameer nandoliya sameernand@hotmail.com
Fri Jun 21 17:56:00 GMT 2002


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/



More information about the Cygwin mailing list