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

Compiling Subversion v1.2 under Cygwin

From: Matthew S. Moore <mmoore_at_asf.alaska.edu>
Date: 2005-06-02 21:23:42 CEST

Max Bowsher wrote:
>
> I build the official Cygwin packages of Subversion - and it is very
> Unixy, and quite easy.
>
> Max.

Max,

   I just noticed these emails from last month regarding compiling Subversion
v1.2 RC1 under Cygwin after trying to compile it myself. I just did a standard:

./configure
make

   and got the same problem with linking the apr libraries that Matthew England
got below. Do you (or anyone else) know how to resolve this? Can you give any
suggestions for compiling Subversion under Cygwin? Do you use and options with
configure?

   Now that the official v1.2 has been released, when do you plan to submit the
offical Cygwin Subversion v1.2 package?

   Thanks,

Matthew Moore

Matthew England wrote:
> Hello,
>
> As per the "Subversion 1.2 RC1 Binaries" thread, I'm trying to build
> Subversion 1.2-rc1 on my cygwin-winxp box without any apache integration
> (svnserve-based only) and no Berkley DB support (fsfs only). I figured
> this deserved a new thread (sorry if I'm breaking svn-email-list
> etiquette here...but please don't hesitate to let me know).
>
> (I was able to build the same things under Redhat9 without any problems.)
>
> Is this (svn 1.2-rc1 build on cygwin-winxp w/out apache nor bdb)
> currently possible? If so, how? My details below.
>
> fyi, I will not be able to attempt any VS build process, only cygwin.
>
> -Matt
>
>> At 4/12/2005 04:16 PM, Matthew England wrote:
>>
>> Fyi, I'm building without apache integration (I'll run exclusively
>> from svnserve or the native svn lib) nor Berkley DB capability. My
>> build cmdline:
>>
>> ./configure --without-berkeley-db && make && make check
>>
>> The following is an exercept of my build output.
>>
>> -Matt
>>
>>
>> [...]
>> cd subversion/libsvn_subr && /bin/bash
>> /cygdrive/e/scratch/builds/subversion-1.2.0-rc1/libtool --tag=CC
>> --silent --mode=link gcc -g -O2 -g -O2 -DNEON_ZLIB -rpath
>> /usr/local/lib -o libsvn_subr-1.la -no-undefined auth.lo cmdline.lo
>> config.lo config_auth.lo config_file.lo config_win.lo ctype.lo date.lo
>> error.lo hash.lo io.lo lock.lo md5.lo opt.lo path.lo pool.lo
>> quoprint.lo sorts.lo stream.lo subst.lo svn_base64.lo svn_string.lo
>> target.lo time.lo utf.lo utf_validate.lo validate.lo version.lo xml.lo
>> /cygdrive/e/scratch/builds/subversion-1.2.0-rc1/apr-util/libaprutil-0.la
>> -lgdbm -lexpat -liconv
>> /cygdrive/e/scratch/builds/subversion-1.2.0-rc1/apr/libapr-0.la
>> -lresolv -lcrypt -lintl
>>
>> *** Warning: This system can not link to static lib archive
>> /cygdrive/e/scratch/builds/subversion-1.2.0-rc1/apr-util/libaprutil-0.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library. But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>>
>> *** Warning: This system can not link to static lib archive
>> /cygdrive/e/scratch/builds/subversion-1.2.0-rc1/apr/libapr-0.la.
>> *** I have the capability to make that library automatically link in when
>> *** you link to this library. But I can only do this if you have a
>> *** shared version of the library, which you do not appear to have.
>> Creating library file: .libs/libsvn_subr-1.dll.a
>> .libs/auth.o(.text+0x19): In function `svn_auth_open':
>>
/cygdrive/e/scratch/builds/subversion-1.2.0-rc1/subversion/libsvn_subr/auth.c:103:
>> undefined reference to `_apr_palloc'
>>
.libs/auth.o(.text+0x32):/cygdrive/e/scratch/builds/subversion-1.2.0-rc1/subversion/libsvn_subr/auth.c:104:

>> undefined reference to `_apr_hash_make'
>>
.libs/auth.o(.text+0x3f):/cygdrive/e/scratch/builds/subversion-1.2.0-rc1/subversion/libsvn_subr/auth.c:105:

>> undefined reference to `_apr_hash_make'
>> [...]

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 2 21:26:28 2005

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