You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by we...@tigris.org on 2009/05/04 11:14:41 UTC

Compiling Subversion & Ruby Bindings under Windows

Hi,
I've posted this 2 days ago, but since it does not apeared, I'm trying it again.

Because of smooth compatibility with Ruby One Click installer I'm trying to build SVN ruby bindings (from 1.5.6 tag ) against OpenSSL 0.9.8d on Windows. Finally I've builded svn, it's great, but I can't find out how to compile ruby bindigs. It ends with:

--------------------Configuration: swig_ruby_core - Win32
Release--------------------
Performing Custom Build Step on ..\..\..\subversion\bindings\swig\core.i
..\..\..\subversion\include\svn_types.h(835): Warning(314): end is a ruby keyword
..\..\..\subversion\include\svn_opt.h(384): Warning(314): end is a ruby keyword Compiling resources...
Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 Copyright (C) Microsoft Corporation.  All rights reserved.
Compiling...
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
empty.c
core.c
C:\SVN\src-trunk\subversion\bindings\swig\ruby\core.c(20233) : warning
C4018: '<' : signed/unsigned mismatch
Generating Code...
Linking...
   Creating library
..\..\..\Release\subversion\bindings\swig\ruby/core.lib and object ..\..\..\Release\subversion\bindings\swig\ruby/core.exp
core.obj : error LNK2019: unresolved external symbol
__imp__apr_time_ansi_put@8 referenced in function __wrap_apr_time_ansi_put ..\..\..\Release\subversion\bindings\swig\ruby\core.dll : fatal error
LNK1120: 1 unresolved externals
Error executing link.exe.

__SWIG_RUBY__ - 2 error(s), 78 warning(s)

I'm on Vista, using VC6 and Vista Platform SDK. Project files were generated with python gen-make.py -t dsp --with-swig="C:\swigwin-1.3.25" 
--with-httpd=..\httpd-2.0.63 --with-berkeley-db=db4-win32 --with-openssl=..\openssl-0.9.8d --with-zlib=..\zlib --with-libintl=..\svn-win32-libintl --enable-nls --enable-bdb-in-apr-util


I've tryied it on XP also with same results.

I woud really appreciate if somebody can help me.
Or if someone can send me ruby bindings compiled against OpenSLL 0.9.8d :-)

Thanks

Roman

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2055395

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].