Hi Ryan,
Here's what's going on:
$ pwd
/usr/local/src/subversion/subversion-1.6.4
$ ll apr
total 2908
drwxr-xr-x 25 tsakai analysisgroup 4096 Oct 15 19:10 .
drwxr-xr-x 16 tsakai analysisgroup 4096 Oct 15 21:03 ..
-rwxr-xr-x 1 tsakai analysisgroup 7001 Oct 15 19:10 apr-1-config
-rw-r--r-- 1 tsakai analysisgroup 6903 Aug 3 21:56 apr-config.in
-rw-r--r-- 1 tsakai analysisgroup 7004 Oct 15 18:51 apr-config.out
-rw-r--r-- 1 tsakai analysisgroup 17947 Aug 3 21:56 apr.dsp
-rw-r--r-- 1 tsakai analysisgroup 1220 Aug 3 21:56 apr.dsw
-rw-r--r-- 1 tsakai analysisgroup 8130 Oct 15 18:51 apr.exp
-rw-r--r-- 1 tsakai analysisgroup 377 Oct 15 19:10 apr.pc
-rw-r--r-- 1 tsakai analysisgroup 313 Aug 3 21:56 apr.pc.in
-rw-r--r-- 1 tsakai analysisgroup 2553 Aug 3 21:56 apr.spec
drwxr-xr-x 6 tsakai analysisgroup 4096 Aug 3 21:56 atomic
drwxr-xr-x 4 tsakai analysisgroup 4096 Oct 15 19:10 build
-rwxr-xr-x 1 tsakai analysisgroup 3650 Aug 3 21:56 buildconf
-rw-r--r-- 1 tsakai analysisgroup 619 Aug 3 21:56 build.conf
-rw-r--r-- 1 tsakai analysisgroup 62539 Aug 3 21:56 build-outputs.mk
-rw-r--r-- 1 tsakai analysisgroup 101074 Aug 3 21:56 CHANGES
-rw-r--r-- 1 tsakai analysisgroup 7340 Aug 3 21:56 config.layout
-rw-r--r-- 1 tsakai analysisgroup 522146 Oct 15 19:10 config.log
-rwxr-xr-x 1 tsakai analysisgroup 190 Oct 15 19:10 config.nice
-rwxr-xr-x 1 tsakai analysisgroup 39031 Oct 15 19:10 config.status
-rwxr-xr-x 1 tsakai analysisgroup 1394568 Aug 3 21:56 configure
-rw-r--r-- 1 tsakai analysisgroup 70833 Aug 3 21:56 configure.in
drwxr-xr-x 2 tsakai analysisgroup 4096 Aug 3 21:56 docs
drwxr-xr-x 9 tsakai analysisgroup 4096 Aug 3 21:56 dso
-rw-r--r-- 1 tsakai analysisgroup 488 Aug 3 21:56 emacs-mode
-rw-r--r-- 1 tsakai analysisgroup 37473 Oct 15 18:51 exports.c
-rw-r--r-- 1 tsakai analysisgroup 32 Oct 15 18:51 export_vars.c
drwxr-xr-x 6 tsakai analysisgroup 4096 Aug 3 21:56 file_io
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:10 include
-rw-r--r-- 1 tsakai analysisgroup 837 Oct 15 18:51 libapr-1.la
-rw-r--r-- 1 tsakai analysisgroup 23104 Aug 3 21:56 libapr.dsp
-rw-r--r-- 1 tsakai analysisgroup 171800 Aug 3 21:56 libaprnw.mcp.zip
-rw-r--r-- 1 tsakai analysisgroup 2160 Aug 3 21:56 libapr.rc
drwxr-xr-x 2 tsakai analysisgroup 4096 Oct 15 18:51 .libs
-rwxr-xr-x 1 tsakai analysisgroup 229684 Oct 15 19:10 libtool
-rw-r--r-- 1 tsakai analysisgroup 17983 Aug 3 21:56 LICENSE
drwxr-xr-x 7 tsakai analysisgroup 4096 Aug 3 21:56 locks
-rw-r--r-- 1 tsakai analysisgroup 10 Oct 15 18:50 .make.dirs
-rw-r--r-- 1 tsakai analysisgroup 4087 Oct 15 19:10 Makefile
-rw-r--r-- 1 tsakai analysisgroup 3876 Aug 3 21:56 Makefile.in
-rw-r--r-- 1 tsakai analysisgroup 4650 Aug 3 21:56 Makefile.win
drwxr-xr-x 3 tsakai analysisgroup 4096 Aug 3 21:56 memory
drwxr-xr-x 5 tsakai analysisgroup 4096 Aug 3 21:56 misc
drwxr-xr-x 4 tsakai analysisgroup 4096 Aug 3 21:56 mmap
drwxr-xr-x 6 tsakai analysisgroup 4096 Aug 3 21:56 network_io
-rw-r--r-- 1 tsakai analysisgroup 518 Aug 3 21:56 NOTICE
-rw-r--r-- 1 tsakai analysisgroup 8342 Aug 3 21:56 NWGNUmakefile
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 18:50 passwd
drwxr-xr-x 4 tsakai analysisgroup 4096 Aug 3 21:56 poll
drwxr-xr-x 3 tsakai analysisgroup 4096 Aug 3 21:56 random
-rw-r--r-- 1 tsakai analysisgroup 3179 Aug 3 21:56 README.dev
drwxr-xr-x 6 tsakai analysisgroup 4096 Aug 3 21:56 shmem
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 18:50 strings
drwxr-xr-x 3 tsakai analysisgroup 4096 Aug 3 21:56 support
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 18:50 tables
drwxr-xr-x 5 tsakai analysisgroup 8192 Oct 15 19:10 test
drwxr-xr-x 7 tsakai analysisgroup 4096 Aug 3 21:56 threadproc
drwxr-xr-x 4 tsakai analysisgroup 4096 Aug 3 21:56 time
drwxr-xr-x 5 tsakai analysisgroup 4096 Aug 3 21:56 user
$ ll apr-util
total 1900
drwxr-xr-x 20 tsakai analysisgroup 4096 Oct 15 19:10 .
drwxr-xr-x 16 tsakai analysisgroup 4096 Oct 15 21:03 ..
-rw-r--r-- 1 tsakai analysisgroup 18606 Aug 3 21:56 aprutil.dsp
-rw-r--r-- 1 tsakai analysisgroup 7430 Aug 3 21:56 aprutil.dsw
-rw-r--r-- 1 tsakai analysisgroup 5114 Oct 15 19:03 aprutil.exp
-rw-r--r-- 1 tsakai analysisgroup 386 Oct 15 19:10 apr-util.pc
-rw-r--r-- 1 tsakai analysisgroup 414 Aug 3 21:56 apr-util.pc.in
-rw-r--r-- 1 tsakai analysisgroup 4617 Aug 3 21:56 apr-util.spec
-rwxr-xr-x 1 tsakai analysisgroup 6243 Oct 15 19:10 apu-1-config
-rw-r--r-- 1 tsakai analysisgroup 6228 Aug 3 21:56 apu-config.in
-rw-r--r-- 1 tsakai analysisgroup 6246 Oct 15 19:03 apu-config.out
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 buckets
drwxr-xr-x 4 tsakai analysisgroup 4096 Oct 15 18:01 build
-rwxr-xr-x 1 tsakai analysisgroup 3002 Aug 3 21:56 buildconf
-rw-r--r-- 1 tsakai analysisgroup 1556 Aug 3 21:56 build.conf
-rw-r--r-- 1 tsakai analysisgroup 9992 Aug 3 21:56 build-outputs.mk
-rw-r--r-- 1 tsakai analysisgroup 33236 Aug 3 21:56 CHANGES
-rw-r--r-- 1 tsakai analysisgroup 7401 Aug 3 21:56 config.layout
-rw-r--r-- 1 tsakai analysisgroup 30663 Oct 15 19:10 config.log
-rwxr-xr-x 1 tsakai analysisgroup 222 Oct 15 19:10 config.nice
-rwxr-xr-x 1 tsakai analysisgroup 32261 Oct 15 19:10 config.status
-rwxr-xr-x 1 tsakai analysisgroup 1483058 Aug 3 21:56 configure
-rw-r--r-- 1 tsakai analysisgroup 7457 Aug 3 21:56 configure.in
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 crypto
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:03 dbd
drwxr-xr-x 4 tsakai analysisgroup 4096 Oct 15 19:02 dbm
drwxr-xr-x 2 tsakai analysisgroup 4096 Aug 3 21:56 docs
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 encoding
-rw-r--r-- 1 tsakai analysisgroup 23692 Oct 15 19:03 exports.c
-rw-r--r-- 1 tsakai analysisgroup 381 Oct 15 19:03 export_vars.c
-rw-r--r-- 1 tsakai analysisgroup 355 Oct 15 19:10 export_vars.sh
-rw-r--r-- 1 tsakai analysisgroup 404 Aug 3 21:56 export_vars.sh.in
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 hooks
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:10 include
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 ldap
-rw-r--r-- 1 tsakai analysisgroup 2528 Oct 15 19:02 libaprutil-1.la
-rw-r--r-- 1 tsakai analysisgroup 22085 Aug 3 21:56 libaprutil.dsp
-rw-r--r-- 1 tsakai analysisgroup 2426 Aug 3 21:56 libaprutil.rc
drwxr-xr-x 2 tsakai analysisgroup 4096 Oct 15 19:04 .libs
-rw-r--r-- 1 tsakai analysisgroup 21179 Aug 3 21:56 LICENSE
-rw-r--r-- 1 tsakai analysisgroup 10 Oct 15 19:02 .make.dirs
-rw-r--r-- 1 tsakai analysisgroup 4495 Oct 15 19:10 Makefile
-rw-r--r-- 1 tsakai analysisgroup 4199 Aug 3 21:56 Makefile.in
-rw-r--r-- 1 tsakai analysisgroup 12051 Aug 3 21:56 Makefile.win
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 memcache
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 misc
-rw-r--r-- 1 tsakai analysisgroup 571 Aug 3 21:56 NOTICE
-rw-r--r-- 1 tsakai analysisgroup 5506 Aug 3 21:56 NWGNUmakefile
-rw-r--r-- 1 tsakai analysisgroup 1407 Aug 3 21:56 README
-rw-r--r-- 1 tsakai analysisgroup 316 Aug 3 21:56 README.MySQL
-rw-r--r-- 1 tsakai analysisgroup 74 Aug 3 21:56 renames_pending
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 strmatch
drwxr-xr-x 4 tsakai analysisgroup 4096 Oct 15 19:10 test
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 uri
drwxr-xr-x 3 tsakai analysisgroup 4096 Oct 15 19:02 xlate
drwxr-xr-x 4 tsakai analysisgroup 4096 Oct 15 19:02 xml
The file apr/apr-1-config and apr-util/apu-1-config
are both made quite recently. Then I issued:
$ ./configure --with-apr=./apr --with-apr-util=./apr-util
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
configure failed for serf
$ ./configure --with-apr=./apr/apr-1-config --with-apr-util=./apr-util/apu-1-config
checking for APR... configure: error: the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file.
configure failed for serf
In the first case, I am specifying a build directory, am I not?
And in the second case, I am sapecifying an apr-config file, am
I not? So, I fail to understand what it's upset about.
Can you please shed some lihgt?
Thank you.
Regards,
Tena Sakai
tsakai_at_gallo.ucsf.edu
-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009b_at_ryandesign.com]
Sent: Thu 10/15/2009 8:34 PM
To: Tena Sakai
Cc: users_at_subversion.tigris.org
Subject: Re: building subversion from tar ball
On Oct 15, 2009, at 22:19, Tena Sakai wrote:
> As I understand, the apache httpd uses different
> versions of apr. The subversion install guide I
> am looking at tells me that httpd 2.0 uses apr 0.9.x
> and httpd 2.2 uses apr 1.2.x.
>
> As I build subversion from tar ball, here's the
> complaint I get from running configure script:
> .
> .
> checking httpd version... recent enough
> checking whether Apache version is compatible with APR version... no
> configure: error: Apache version incompatible with APR version
>
> Question #1:
> How would I find out which version of httpd I am
> using?
$ httpd -v
Server version: Apache/2.2.11 (Unix)
Server built: May 18 2009 12:37:03
> Question #2:
> In terms of running configure script, how would I
> tell I want apr 0.9.x be used (instead of 1.2.x)?
> Ie., how would I ask:
> $ ./configure --please-use-apr-0.9.x
$ ./configure \
--with-apr=/path/to/apr-config \
--with-apr-util=/path/to/apu-config
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2408100
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-10-16 06:31:26 CEST