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

Problem with compiling subversion on AIX 4.3.3

From: <Uwe.Woitowitz_at_groz-beckert.de>
Date: 2004-12-08 09:16:21 CET

hello,

I try - once again - compiling subversion 1.1.1 on AIX 4.3.3
maintenance-level 10 with xlc 5.x (IBM-compiler) and the original
AIX-linker /usr/bin/ld. I wanna have only a local subversion without
web-access - so I did the following steps:

1.) downloading and compiling (the common way: configure, make and make
install) at first Berkeley DB 4.2.52 (there were no warnings or errors)
and this brings me following directory-content without the stuff in
./docs:

./include/db.h
./include/db_cxx.h
./lib/libdb-4.2.so
./lib/libdb-4.2.la
./lib/libdb_tcl-4.2.so
./lib/libdb_tcl-4.2.la
./lib/libdb-4.2.a
./lib/libdb.a
./lib/libdb_tcl-4.2.a
./bin/db_archive
./bin/db_checkpoint
./bin/db_deadlock
./bin/db_dump
./bin/db_load
./bin/db_printlog
./bin/db_recover
./bin/db_stat
./bin/db_upgrade
./bin/db_verify

---------------------------------------------
#!/usr/bin/ksh

base_path=/test_data/tmp
berkeley_db_path="${base_path}/BerkeleyDB.4.2"
tcl_path="${base_path}/tcl-8.4.8"
export PATH="${base_path}/libtool-1.5.10:${PATH}"
export CC="/usr/vac/bin/xlc"
../dist/configure --prefix=${berkeley_db_path}\
                                                --enable-test\
                                                --enable-tcl\
                                                --with-tcl=${tcl_path}/lib
&& make
---------------------------------------------

2.) downloading the apr-utils 1.0.1 (its the same problem with the
apr-utils 0.95 which are included in the snv-tarball) and configuring.
then I get the output during configuring:

checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for ldap support...
checking gdbm.h usability... no
checking gdbm.h presence... no
checking for gdbm.h... no
checking for Berkeley DB 4.2 in /test_data/tmp/BerkeleyDB.4.2...
checking db42/db.h usability... no
checking db42/db.h presence... no
checking for db42/db.h... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability...

the configuring-parameters were (in a small shell-script):

---------------------------------------------
#!/usr/bin/ksh

berkeley_db_path=/test_data/tmp/BerkeleyDB.4.2
export LIBPATH=${LIBPATH}:${berkeley_db_path}
export PATH=/test_data/tmp/libtool-1.5.10:${PATH}
export CC="/usr/vac/bin/xlc"
export CFLAGS="-L${berkeley_db_path}" # this might be not
necessary
./configure --prefix=/test_data/tmp/apr-util-1.0.1\
        --with-berkeley-db=${berkeley_db_path}\
        --with-apr=/test_data/tmp/apr-1.0.1\
        --with-dbm=db42\
        --with-expat=/test_data/tmp/expat-1.95.5 && make
---------------------------------------------

it seems for me to be a problem with loading and linking against Berkeley
DB. now my questions:

a.) is the result correct from the compiler-run fom Berkeley-DB? if not,
how get the (from apr-utils) expected result? I found at a few places in
the web that there should be somthing like "db-4.2.52". must this be the
result from the Berkeley-configure/make or from what?

b.) how to handle the patch on the svn-site for finding Berkely DB. is it
a - more or less simple - text substitution? what means the following (is
there a tutorial or somewhat else about available?):

--- srclib/apr-util/configure Fri Oct 24 10:51:13 2003
+++ srclib/apr-util/configure Wed Nov 26 02:45:42 2003
@@ -13386,6 +13386,536 @@ <===== are this the line-numbers for inserting
in the original configure-script?

---------------------------------------------------------------------------------------------

The information contained in this email is confidential. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. Please notify the sender immediately. (4000)
Received on Wed Dec 8 09:36:13 2004

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.