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

Re: Minimal build instructions for svnserver & fsfs only?

From: Matt England <mengland_at_mengland.net>
Date: 2005-09-27 02:07:04 CEST

Summary:

Do I need the --with-apr and --with-apr-util switches?

Details:

Ok, I'm getting closer, but now I'm getting an error with my ./configure line.

First the procedure:

1) extract the tarball for subversion-x.y.z
2) cd into subversion-x.y.z
3) ./configure --without-berkeley-db --with-apr=/usr --with-apr-util=/usr
--prefix=<prefix>
4) make
5) make check
6) delete <prefix>/lib/libsvn*
7) make install

(Berkeley now spelled correctly. :)

Details at the end of this email. It complains about the APR config:

"
configure: Apache Portable Runtime (APR) library configuration
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.
"

My guess is there is some source dependency for this apr stuff...and I
don't have the src rpms install for apr nor apr-util...but I'm not
sure. /usr/include/httpd/apr* stuff exists...but I'm not sure what that means.

In any case, is there any reason why I can't just use the apr and apr-util
dirs in the my subversion source extracted tarball? Does this make the
params "--with-arp=. --with-apr-util=." ...or do I simply not provide the
params and it defaults to the stuff in the subversion tarball extract? I
presume the latter and will run it this way...but it's hard to tell via the
cmdline output, and so I thought I'd double check here.

-Matt

------------------------ install cmdline details as promised
---------------------------

mengland@example 5:08pm [...builds/subversion-1.2.3] 19> ./configure
--without-berkeley-db --with-apr=/usr --with-apr-util=/usr --prefix=/usr/local
configure: Configuring Subversion 1.2.3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
configure: creating config.nice
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking whether ln -s works... yes
configure: Apache Portable Runtime (APR) library configuration
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.
mengland@example 5:09pm [...builds/subversion-1.2.3] 20> pwd
/home/builds/subversion-1.2.3
mengland@example 5:09pm [...builds/subversion-1.2.3] 21> uname -a
Linux example.com 2.4.20-021stab028.17.777-enterprise #1 SMP Tue Jul 19
19:31:27 MSD 2005 i686 i686 i386 GNU/Linux
mengland@example 5:09pm [...builds/subversion-1.2.3] 22> date
Mon Sep 26 17:09:50 CDT 2005
mengland@example 5:09pm [...builds/subversion-1.2.3] 23>
mengland@example 5:10pm [...builds/subversion-1.2.3] 23> ls -ld
/usr/lib/libapr*
    1 lrwxrwxrwx 1 root root 15 Oct 22 2004
/usr/lib/libapr.so -> libapr.so.0.0.0*
    1 lrwxrwxrwx 1 root root 15 Aug 31 2004
/usr/lib/libapr.so.0 -> libapr.so.0.0.0*
1223 -rwxr-xr-x 1 root root 1247912 Jun 4 2004
/usr/lib/libapr.so.0.0.0*
    1 lrwxrwxrwx 1 root root 19 Oct 22 2004
/usr/lib/libaprutil.so -> libaprutil.so.0.0.0*
    1 lrwxrwxrwx 1 root root 19 Aug 31 2004
/usr/lib/libaprutil.so.0 -> libaprutil.so.0.0.0*
  682 -rwxr-xr-x 1 root root 694434 Jun 4 2004
/usr/lib/libaprutil.so.0.0.0*
mengland@example 5:10pm [...builds/subversion-1.2.3] 24>
mengland@biz2tek 5:32pm [/usr/include] 36> date
Mon Sep 26 17:32:42 CDT 2005
mengland@biz2tek 5:32pm [/usr/include] 37> pwd
/usr/include
mengland@biz2tek 5:32pm [/usr/include] 38> find . -iname apr.h
./httpd/apr.h
mengland@biz2tek 5:32pm [/usr/include] 39> ls httpd
total 1233
    1 ap_compat.h 5 apr_optional.h 5 http_main.h
   12 ap_config.h 6 apr_optional_hooks.h 29 http_protocol.h
    6 ap_config_auto.h 13 apr_poll.h 18 http_request.h
    5 ap_config_layout.h 26 apr_pools.h 5 http_vhost.h
    6 ap_listen.h 20 apr_portable.h 61 httpd.h
    7 ap_mmn.h 7 apr_proc_mutex.h 5 mod_cgi.h
   11 ap_mpm.h 6 apr_reslist.h 5 mod_core.h
   12 ap_regkey.h 19 apr_ring.h 87 mod_dav.h
    4 ap_release.h 7 apr_rmm.h 13 mod_include.h
   11 apr.h 9 apr_sdbm.h 4 mod_log_config.h
    9 apr_allocator.h 6 apr_sha1.h 12 mod_proxy.h
    7 apr_anylock.h 7 apr_shm.h 25 mod_ssl.h
   11 apr_atomic.h 5 apr_signal.h 4 mpm.h
    6 apr_base64.h 15 apr_strings.h 12 mpm_common.h
   57 apr_buckets.h 5 apr_strmatch.h 4 mpm_default.h
    9 apr_compat.h 4 apr_support.h 3 os.h
    6 apr_date.h 18 apr_tables.h 3 pcreposix.h
   12 apr_dbm.h 7 apr_thread_cond.h 4 rfc1413.h
    5 apr_dso.h 6 apr_thread_mutex.h 11 scoreboard.h
   50 apr_errno.h 30 apr_thread_proc.h 5 ssl_expr.h
   16 apr_file_info.h 7 apr_thread_rwlock.h 1 ssl_expr_parse.h
   31 apr_file_io.h 11 apr_time.h 7 ssl_toolkit_compat.h
    4 apr_fnmatch.h 10 apr_uri.h 5 ssl_util_ssl.h
   10 apr_general.h 9 apr_user.h 11 ssl_util_table.h
    9 apr_getopt.h 4 apr_uuid.h 6 unixd.h
    9 apr_global_mutex.h 5 apr_version.h 5 util_cfgtree.h
   10 apr_hash.h 5 apr_want.h 4 util_charset.h
   12 apr_hooks.h 9 apr_xlate.h 5 util_ebcdic.h
    4 apr_inherit.h 15 apr_xml.h 23 util_filter.h
    5 apr_ldap.h 5 apu.h 15 util_ldap.h
   10 apr_lib.h 7 apu_compat.h 5 util_md5.h
    7 apr_md4.h 42 http_config.h 9 util_script.h
    7 apr_md5.h 7 http_connection.h 5 util_time.h
    9 apr_mmap.h 23 http_core.h 4 util_xml.h
   29 apr_network_io.h 14 http_log.h
mengland@biz2tek 5:35pm [/usr/include] 40>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 27 02:08:51 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.