[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Ruby Subversion Bindings for windows

From: Vagmi Mudumbai <vagmi.mudumbai_at_gmail.com>
Date: 2006-11-29 09:08:05 CET

Hi All,

I am really stuck with this one.

Has anybody got Ruby SWIG bindings for SVN built on Windows? I get these
wierd errors while building libsvn_swig_ruby. I searched around and found
that adding config.h before win32.h might solve some problems. But it takes
care of the first three errors. But the rest remain. Any help is truly
appreciated.

------ Build started: Project: libsvn_swig_ruby, Configuration: Release
Win32 ------
Compiling...
swigutil_rb.c
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(166) : error C2061:
syntax error : identifier 'pipe_exec'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(166) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(166) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(171) : error C2143:
syntax error : missing ')' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(171) : error C2081:
'fd_set' : name in formal parameter list illegal
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(171) : error C2143:
syntax error : missing '{' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(171) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(171) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(172) : error C2143:
syntax error : missing ')' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(172) : error C2081:
'fd_set' : name in formal parameter list illegal
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(172) : error C2143:
syntax error : missing '{' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(172) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(172) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(173) : error C2143:
syntax error : missing ')' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(173) : error C2081:
'fd_set' : name in formal parameter list illegal
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(173) : error C2143:
syntax error : missing '{' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(173) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(173) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(174) : error C2143:
syntax error : missing ')' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(174) : error C2081:
'fd_set' : name in formal parameter list illegal
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(174) : error C2143:
syntax error : missing '{' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(174) : error C2059:
syntax error : ','
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(174) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(178) : error C2143:
syntax error : missing ')' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(178) : error C2081:
'u_long' : name in formal parameter list illegal
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(178) : error C2143:
syntax error : missing '{' before '*'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(178) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(178) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(187) : error C2061:
syntax error : identifier 'rb_w32_get_osfhandle'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(187) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(187) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(202) : warning C4005:
'snprintf' : macro redefinition
        command-line arguments : see previous definition of 'snprintf'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(209) : error C2061:
syntax error : identifier 'waitpid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(209) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(209) : error C2143:
syntax error : missing ')' before ','
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(209) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(209) : error C2059:
syntax error : ')'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(214) : error C2061:
syntax error : identifier 'rb_w32_getpid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(214) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(214) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(304) : error C2061:
syntax error : identifier 'getuid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(304) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(304) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(305) : error C2061:
syntax error : identifier 'geteuid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(305) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(305) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(306) : error C2061:
syntax error : identifier 'getgid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(306) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(306) : error C2059:
syntax error : 'type'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(307) : error C2061:
syntax error : identifier 'getegid'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(307) : error C2059:
syntax error : ';'
c:\ruby184\src\ruby-1.8.4_2006-04-14\win32/win32.h(307) : error C2059:
syntax error : 'type'
C:\ruby184\src\ruby-1.8.4_2006-04-14\ruby.h(34) : fatal error C1083: Cannot
open include file: 'strings.h': No such file or directory
Build log was saved at "
file://c:\workfolder\svnsrc\tags\subversion-1.4.2\Release\subversion\bindings\swig\ruby\libsvn_swig_ruby\BuildLog.htm
"
libsvn_swig_ruby - 52 error(s), 1 warning(s)

I am able to create a vcproj file. But I am unable to create a makefile for
windows. How do I do that?

Regards,
Vagmi

http://installneo.blogspot.com

"Peace is its own reward." - Mahatma Gandhi
Received on Wed Nov 29 09:08:20 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.