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

Re: Compiling Subversion v1.2 under Cygwin

From: Max Bowsher <maxb_at_ukf.net>
Date: 2005-06-02 22:44:18 CEST

Matthew S. Moore wrote:
> 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?

See the official Cygwin source package for all the exact patches and options
I use.

Initial observations:
I build trunk on Cygwin all the time - it definitely works.
I always use ./autogen.sh.
I always use a seperate apr, aprutil and neon (--with-apr=/usr, etc.)

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

Yes. But not for another 7-10 days or so, I have university final exams
finishing then.

Max.

>>> [...]
>>> 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 22:46:47 2005

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

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