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

RE: SVN 1.6.5 with memcached

From: Andrea Antonio Maleci <A.Maleci_at_iwbank.it>
Date: Thu, 1 Oct 2009 17:21:11 +0200

Here is mine:

configure:6674: looking for apr_memcache as part of apr-util
configure:6688: checking apr_memcache.h usability
configure:6705: gcc -c -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/private/home/dynamo/subversion-1.6.5/apr/include -I/private/home/dynamo/subversion-1.6.5/apr-util/include conftest.c >&5
configure:6712: $? = 0
configure:6726: result: yes
configure:6730: checking apr_memcache.h presence
configure:6745: gcc -E -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/private/home/dynamo/subversion-1.6.5/apr/include -I/private/home/dynamo/subversion-1.6.5/apr-util/include conftest.c
configure:6752: $? = 0
configure:6766: result: yes
configure:6799: checking for apr_memcache.h
configure:6806: result: yes
configure:6814: checking for apr_memcache_create in -laprutil-1
configure:6849: gcc -o conftest -g -O2 -g -O2 -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/private/home/dynamo/subversion-1.6.5/apr/include -I/private/home/dynamo/subversion-1.6.5/apr-util/include -L/private/home/dynamo/subversion-1.6.5/apr-util -laprutil-1 -lexpat conftest.c -laprutil-1 >&5
/usr/bin/ld: cannot find -laprutil-1
collect2: ld returned 1 exit status
configure:6856: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "subversion"
| #define PACKAGE_TARNAME "subversion"
| #define PACKAGE_VERSION "1.6.5"
| #define PACKAGE_STRING "subversion 1.6.5"
| #define PACKAGE_BUGREPORT "http://subversion.tigris.org/"

I find on /private/home/dynamo/subversion-1.6.5/apr-util lots of files. In them I see:

-rw-rw-r-- 1 dynamo dynamo 2487 Oct 1 16:34 libaprutil-1.la

Have I to build apr-util with some different options ?
Thanks,
Andrea

-----Original Message-----
From: 'Stefan Sperling' [mailto:stsp_at_elego.de]
Sent: giovedì 1 ottobre 2009 16.44
To: Andrea Antonio Maleci
Cc: users_at_subversion.tigris.org
Subject: Re: SVN 1.6.5 with memcached

On Thu, Oct 01, 2009 at 04:27:45PM +0200, Andrea Antonio Maleci wrote:
> I've built and installed latest version of httpd (2.2.13), with last APR-util (1.3.9) inside, but it does't work again.
>
> I suppose there should be a parameter on subversion's configure that I missed.
> I've looked inside distributed configure but I don't find anything.
> Any other idea?

What does your Subversion's config.log say about apr_memcache?

Mine says:

configure:6210: looking for apr_memcache as part of apr-util
configure:6224: checking apr_memcache.h usability
configure:6241: gcc -c -g -O2 -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/bdb/include -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include conftest.c >&5
configure:6247: $? = 0
configure:6261: result: yes
configure:6265: checking apr_memcache.h presence
configure:6280: gcc -E -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/bdb/include -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include conftest.c
configure:6286: $? = 0
configure:6300: result: yes
configure:6333: checking for apr_memcache.h
configure:6340: result: yes
configure:6348: checking for apr_memcache_create in -laprutil-1
configure:6383: gcc -o conftest -g -O2 -g -O2 -Wall -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/bdb/include -I/home/stsp/svn/prefix/apr/include/apr-1 -I/home/stsp/svn/prefix/apr/include -L/home/stsp/svn/prefix/neon/lib -L/home/stsp/svn/prefix/apr/lib -L/home/stsp/svn/prefix/bdb/lib -L/home/stsp/svn/prefix/apr/lib -L/home/stsp/svn/prefix/apr/lib -laprutil-1 conftest.c -laprutil-1 >&5
conftest.c:31: warning: function declaration isn't a prototype
conftest.c:34: warning: function declaration isn't a prototype
/home/stsp/svn/prefix/apr/lib/libaprutil-1.so.3.9: warning: strcpy() is almost always misused, please use strlcpy()
/home/stsp/svn/prefix/apr/lib/libaprutil-1.so.3.9: warning: strcat() is almost always misused, please use strlcat()
/home/stsp/svn/prefix/apr/lib/libaprutil-1.so.3.9: warning: sprintf() is often misused, please use snprintf()
configure:6389: $? = 0
configure:6407: result: yes

Stefan

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2402563

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-01 17:22:15 CEST

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