You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Matthew S. Moore" <mm...@asf.alaska.edu> on 2005/06/02 19:23:42 UTC

Compiling Subversion v1.2 under Cygwin

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

Re: Compiling Subversion v1.2 under Cygwin

Posted by Max Bowsher <ma...@ukf.net>.
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