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

Please help me get the Ruby bindings built

From: Joe Swatosh <joe.swatosh_at_gmail.com>
Date: 2006-12-15 07:08:13 CET

Greetings,

I'm attempting to build the Ruby bindings for windows. I'd appreciate any help
you can offer, from suggestions on modifying my approach or specific advice on
getting things to compile without warnings.

To validate that I have sensibly set up my development environment, I am
planning on first building Subversion and validating that it works correctly
(the bottom of this message has my specific questions on that task, so far).
Then I want to build the Perl and Python bindings and validate them to ensure
that I've got the SWIG part figured out. Finally, tackling the Ruby bindings
themselves.

Using the following versions of the libraries that Subversion depends upon, I
appear to have a working build based on vc6-build.bat.in and reading the INSTALL
doc. As always there are questions.

        db-4.4.20-win32.zip
        neon-0.26.1.tar.gz
        svn-win32-libintl.zip
        gettext-0.14.4-bin.zip
        gettext-0.14.4-dep.zip
        httpd-2.0.59-win32-src.zip
        openssl-0.9.7d.tar.gz
        zlib123.zip
        zlib123dll.zip

I am building on both W2K and XP with similar results. Using VC6 (service pack
6) and the February 2003 PSDK. Perl v5.8.4 built for MSWin32-x86-multi-thread.
Python 2.4.3. ruby 1.8.4 (2006-04-14) [i386-mswin32] from the one-click
installer. I'm sure there is a significant bit of useful information I'm
leaving out.

Attached is a zip containing a log from running vc6-build.bat, the line numbers
below refer to lines in that file.

Questions About Building:

When building Apache I'm getting several messages like the one on line 3484:

        Error scanning file xxxxxx for dependencies.

When building both Apache and Subversion the resource compiler appears to be
having trouble finding certain files for APR (perhaps due to a less capable
preprocessor for the resource compiler than the c compiler). This isn't
preventing the build from happening, but it is a little disconcerting. First
example at line 3487.

        D:\SVN\...\apr_want.h(52): Could not find the file strings.h.
        D:\SVN\...\apr_want.h(85): Could not find the file sys/uio.h.
        D:\SVN\...\apr_want.h(103): Could not find the file arpa/inet.h.

Are these significant? What have I misconfigured?

Apache is building with 38 warnings. Subversion is building with 58 warnings.
Are this consistent with what others are getting when they build for windows?

Questions About the Tests:

We're passing all 48 of the 48 tests run and we are skipping 30 tests. Does
this match others? Or can more of the tests be run with a better build?

Since the tests take so long to run on my system, I'm not testing via
http://localhost, assuming that for my purposes testing the http protocol isn't
significant. Is this a reasonable assumption?

Questions About the vc6-build:

At lines 6232 and 6235 intl.dll and iconv.dll cannot be found to copy, but the
tests appear to be working. Indeed I can't find them in any directory of code
that I'm building or the dependent libraries. What am I missing? Or are these
files obsolete and the script hasn't been updated because the tests pass?

Since the build-bot doesn't seem to be doing windows at the moment, is there
somewhere else on the web I can check how others windows builds are going?

On to building the Perl and Python bindings!

Thanks for your time,

--Joe Swatosh

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Received on Fri Dec 15 07:09:03 2006

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