delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/29/17:42:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <20050629174154.wh7tcah140288ocs@www.iscs-i.com>
Date: Wed, 29 Jun 2005 17:41:54 -0400
From: hkatz AT iscs-i DOT com
To: cygwin AT cygwin DOT com
Subject: Re: problems building subversion 1.20
References: <20050629150603 DOT e5wrdeffsjow8sk8 AT www DOT iscs-i DOT com> <06f401c57ce9$2da61350$e6ec6f83 AT chimaera>
In-Reply-To: <06f401c57ce9$2da61350$e6ec6f83@chimaera>
MIME-Version: 1.0
User-Agent: Internet Messaging Program (IMP) H3 (4.0)
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - esc49.midphase.com
X-AntiAbuse: Original Domain - cygwin.com
X-AntiAbuse: Originator/Caller UID/GID - [32001 32001] / [47 12]
X-AntiAbuse: Sender Address Domain - iscs-i.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-IsSubscribed: yes

Quoting Max Bowsher <maxb AT ukf DOT net>:

> hkatz AT iscs-i DOT com wrote:
>> Hello,
>>
>>  I am attempting to build svn 1.20 under cygwin (latest)
>
> To get mod_dav_svn.so, I assume?
>
> Some of the output below leads me to believe that you are not using the
> Cygwin source package as a starting point - perhaps this would be a good
> idea?
> If you don't want to do this, then I would point out that the Cygwin package
> is configured using --with-apr=/usr --with-apr-util=/usr --with-neon=/usr .

Point taken. Actually I neglected to specify that I was trying to build 
against
the latest httpd-2.0.54 which was built and installed in /usr/local, hence
the same path below.

Thanks,
Henry
>
>> and am encountering this:
>>
>> .libs/xml.o: In function `svn_xml_make_open_tag_v':
>> /usr/src/rpm/SOURCES/subversion-1.2.0/subversion/libsvn_subr/xml.c:602:
>> undefined reference to `_apr_pool_destroy'
>>
>>  I've narrowed it down to this in particular:
>>
>>  [1]+  Exit 1                  cd subversion/libsvn_subr &&
>> /bin/bash /usr/bin/libtool --debug --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
>> /usr/src/rpm/SOURCES/subversion-1.2.0/apr-util/libaprutil-0.la -lgdbm
>> -ldb-4.3 -lexpat -liconv
>> /usr/src/rpm/SOURCES/subversion-1.2.0/apr/libapr-0.la -lresolv
>> -lcrypt -lintl >/tmp/libtool-local 2>&1
>
> This indicates it is trying to link against an included copy of apr. I don't
> know why its not working. I haven't built subversion against an included
> copy of apr for months. Possibly years. Since apr has a fairly sedate pace
> of development, I save myself time by building and installing it seperately,
> and then over time, I will build subversion many times without rebuilding
> apr.
>
>>  An nm on the static archive libraries in /usr/local/lib shows that
>> the undefined symbols are indeed there:
>>
>>  nm /usr/local/lib/libapr-0.a| grep ' T ' | sort +2 | grep pool_des
>> 000014a0 T _apr_pool_destroy
>> 00001790 T _apr_pool_destroy_debug
>
> Does this actually provide any useful data? You can see from the command
> that it is trying to link to
> /usr/src/rpm/SOURCES/subversion-1.2.0/apr/libapr-0.la, not
> /usr/local/lib/<anything>. Besides, linking something in an RPM with
> something in /usr/local !!?!? I'm pretty sure you don't want to do that.
>
> Max.
>
>




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019