Subject: | not work on win32 systems |
i have trouble under windows with perl 5.10 (activeperl) with this Modul
and ruby 1.8.7 with mingw (dmake)
it work not better with the patch on win32, see
https://rt.cpan.org/Ticket/Display.html?id=32536 (see file log1.txt for
without patch and log2.txt for with patch)
Log from perl Makefile.PL:
Set up gcc environment - 3.4.5 (mingw-vista special r3)
Found 1 ruby executables on your PATH.
1. c:/Ruby187/bin/ruby.exe
Use which? [1]
Using c:/Ruby187/bin/ruby.exe
Using these settings:
Extra Libs: -lshell32 -lws2_32
Ruby Lib: -Lc:/Ruby187/lib -lmsvcrt-ruby18.dll
Includes: -Ic:/Ruby187/lib/ruby/1.8/i386-mingw32
Extra Flags: none (perl Makefile.PL --help for details)
Writing Makefile for Inline::Ruby
Are there any experiences with the module under win32 with ruby 1.8.7
without cygwin?
Subject: | log1.txt |
cp lib/Inline/Ruby.pod blib\lib\Inline\Ruby.pod
cp Ruby.pm blib\lib\Inline\Ruby.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\
typemap Ruby.xs > Ruby.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e "mv"
-- Ruby.xsc Ruby.c
C:/Perl/site/bin/gcc.exe -c -Ic:/Ruby187/lib/ruby/1.8/i386-mingw32 -DNDEBUG
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_
LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC
RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERS
ION=\"0.02\" -DXS_VERSION=\"0.02\" "-IC:\Perl\lib\CORE" -UEXPOSE_PERL -DCRE
ATE_RUBY -UCREATE_PERL Ruby.c
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:91:1: warning: "WNOHANG" rede
fined
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2826,
from rb2pl.h:5,
from Ruby.xs:26:
C:/Perl/lib/CORE/win32.h:168:1: warning: this is the location of the previous de
finition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:115:1: warning: "close" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:527:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:116:1: warning: "fclose" rede
fined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:499:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:117:1: warning: "read" redefi
ned
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:539:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:118:1: warning: "write" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:547:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:119:1: warning: "getpid" rede
fined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:576:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:120:1: warning: "sleep" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:570:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:164: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:205: error: conflicting types
for 'chown'
C:/Perl/lib/CORE/win32.h:296: error: previous declaration of 'chown' was here
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:205: error: conflicting types
for 'chown'
C:/Perl/lib/CORE/win32.h:296: error: previous declaration of 'chown' was here
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:206: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:207: error: syntax error befo
re '(' token
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:209:38: macro "do_spawn" pass
ed 2 arguments, but takes just 1
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: syntax error befo
re ')' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:211: error: syntax error befo
re '(' token
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:13,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:301: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:303:30: macro "PerlProc_getui
d" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:304:31: macro "PerlProc_geteu
id" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:305:30: macro "PerlProc_getgi
d" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:306:31: macro "PerlProc_geteg
id" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:307: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:308: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:589: error: redefinition of `
struct tms'
dmake.exe: Error code 129, while making 'Ruby.o'
Subject: | log2.txt |
Skip blib\lib\Inline\Ruby.pod (unchanged)
cp Ruby.pm blib\lib\Inline\Ruby.pm
C:\Perl\bin\perl.exe C:\Perl\lib\ExtUtils\xsubpp -typemap C:\Perl\lib\ExtUtils\
typemap Ruby.xs > Ruby.xsc && C:\Perl\bin\perl.exe -MExtUtils::Command -e "mv"
-- Ruby.xsc Ruby.c
C:/Perl/site/bin/gcc.exe -c -Ic:/Ruby187/lib/ruby/1.8/i386-mingw32 -DNDEBUG
-DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE -DPRIVLIB_
LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSVC
RT_READFIX -DHASATTRIBUTE -fno-strict-aliasing -mms-bitfields -O2 -DVERS
ION=\"0.03\" -DXS_VERSION=\"0.03\" "-IC:\Perl\lib\CORE" -UEXPOSE_PERL -DCRE
ATE_RUBY -UCREATE_PERL Ruby.c
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:91:1: warning: "WNOHANG" rede
fined
In file included from C:/Perl/lib/CORE/win32thread.h:4,
from C:/Perl/lib/CORE/perl.h:2826,
from rb2pl.h:5,
from Ruby.xs:26:
C:/Perl/lib/CORE/win32.h:168:1: warning: this is the location of the previous de
finition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:115:1: warning: "close" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:527:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:116:1: warning: "fclose" rede
fined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:499:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:117:1: warning: "read" redefi
ned
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:539:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:118:1: warning: "write" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:547:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:119:1: warning: "getpid" rede
fined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:576:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:120:1: warning: "sleep" redef
ined
In file included from rb2pl.h:6,
from Ruby.xs:26:
C:/Perl/lib/CORE/XSUB.h:570:1: warning: this is the location of the previous def
inition
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:164: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:205: error: conflicting types
for 'chown'
C:/Perl/lib/CORE/win32.h:296: error: previous declaration of 'chown' was here
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:205: error: conflicting types
for 'chown'
C:/Perl/lib/CORE/win32.h:296: error: previous declaration of 'chown' was here
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:206: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:207: error: syntax error befo
re '(' token
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:209:38: macro "do_spawn" pass
ed 2 arguments, but takes just 1
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:210: error: syntax error befo
re ')' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:211: error: syntax error befo
re '(' token
In file included from c:/Ruby187/lib/ruby/1.8/i386-mingw32/defines.h:186,
from c:/Ruby187/lib/ruby/1.8/i386-mingw32/ruby.h:37,
from rb2pl.h:18,
from Ruby.xs:26:
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:301: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:303:30: macro "PerlProc_getui
d" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:304:31: macro "PerlProc_geteu
id" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:305:30: macro "PerlProc_getgi
d" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:306:31: macro "PerlProc_geteg
id" passed 1 arguments, but takes just 0
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:307: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:308: error: syntax error befo
re '(' token
c:/Ruby187/lib/ruby/1.8/i386-mingw32/win32/win32.h:589: error: redefinition of `
struct tms'
dmake.exe: Error code 129, while making 'Ruby.o'