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

Subversion 0.34.0 don't compile

From: Florent Guiliani <fguiliani_at_perinfo.com>
Date: 2003-12-04 11:06:45 CET

Hi all,

Please help me, I'm trying to compile subversion 0.34.0 but it cannot find
my Berkeley DB :(

Here the screenshot, what's wrong?:

~/test $>ll /home/florent/test/Berkeley_DB-4.2.50/*
/home/florent/test/Berkeley_DB-4.2.50/bin:
total 124
-r-xr-xr-x 1 florent users 6624 déc 4 09:58 db_archive*
-r-xr-xr-x 1 florent users 8248 déc 4 09:58 db_checkpoint*
-r-xr-xr-x 1 florent users 7648 déc 4 09:58 db_deadlock*
-r-xr-xr-x 1 florent users 11496 déc 4 09:58 db_dump*
-r-xr-xr-x 1 florent users 18760 déc 4 09:58 db_load*
-r-xr-xr-x 1 florent users 9240 déc 4 09:58 db_printlog*
-r-xr-xr-x 1 florent users 7536 déc 4 09:58 db_recover*
-r-xr-xr-x 1 florent users 25940 déc 4 09:58 db_stat*
-r-xr-xr-x 1 florent users 6916 déc 4 09:58 db_upgrade*
-r-xr-xr-x 1 florent users 7748 déc 4 09:58 db_verify*

/home/florent/test/Berkeley_DB-4.2.50/docs:
total 51
drwxr-xr-x 2 florent users 6672 nov 21 04:26 api_c/
drwxr-xr-x 2 florent users 6144 nov 21 04:26 api_cxx/
drwxr-xr-x 2 florent users 1160 nov 21 04:26 api_tcl/
drwxr-xr-x 2 florent users 200 nov 21 04:26 images/
-r--r--r-- 1 florent users 2932 nov 21 04:27 index.html
drwxr-xr-x 3 florent users 584 nov 21 04:27 java/
drwxr-xr-x 51 florent users 1392 nov 21 04:26 ref/
-r--r--r-- 1 florent users 25135 nov 21 04:27 reftoc.html
drwxr-xr-x 2 florent users 144 nov 21 04:26 sleepycat/
drwxr-xr-x 2 florent users 448 nov 21 04:26 utility/

/home/florent/test/Berkeley_DB-4.2.50/include:
total 116
-r--r--r-- 1 florent users 33181 déc 4 09:54 db_cxx.h
-r--r--r-- 1 florent users 80355 déc 4 09:54 db.h

/home/florent/test/Berkeley_DB-4.2.50/lib:
total 2828
-rw-r--r-- 1 florent users 1037724 déc 4 09:58 libdb-4.2.a
-rw-r--r-- 1 florent users 814 déc 4 09:57 libdb-4.2.la
-rwxr-xr-x 1 florent users 809608 déc 4 09:57 libdb-4.2.so*
lrwxrwxrwx 1 florent users 12 déc 4 09:58 libdb-4.so ->
libdb-4.2.so*
-rw-r--r-- 1 florent users 1037724 déc 4 09:58 libdb.a
lrwxrwxrwx 1 florent users 12 déc 4 09:58 libdb.so ->
libdb-4.2.so*

~/test/subversion-0.34.0 $>./configure --prefix=/home/florent/test
--with-apxs=/home/florent/test/bin/apxs
--with-apr=/home/florent/test/bin/apr-config
--with-berkeley-db=/home/florent/test/Berkeley_DB-4.2.50
Configuring Subversion 0.34.0
creating config.nice
checking for gcc... gcc
checking for C compiler default output... 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... yes
checking APR version... 0.9.5
configure: Apache Portable Runtime Utility (APRUTIL) library configuration
checking for APR-util... reconfig
configuring package in apr-util now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for working mkdir -p... yes
APR-util Version: 0.9.5
checking for chosen layout... apr-util
Applying apr-util hints file rules for i686-pc-linux-gnu
checking for APR... yes
  setting CC to "gcc"
  setting CPP to "gcc -E"
  setting CFLAGS to " -g -O2 -pthread"
  setting CPPFLAGS to " -DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE"
checking for gcc... gcc
checking for C compiler default output... 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 for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
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 checking for Berkeley DB 4.1 in
/home/florent/test/Berkeley_DB-4.2.50...
checking db4/db.h usability... no
checking db4/db.h presence... No
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db-4.1... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 4.0 in
/home/florent/test/Berkeley_DB-4.2.50...
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db-4.0... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db4... no
checking db4/db.h usability... no
checking db4/db.h presence... no
checking for db4/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 3 in
/home/florent/test/Berkeley_DB-4.2.50...
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db3... no
checking db3/db.h usability... no
checking db3/db.h presence... no
checking for db3/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db... no
checking checking for Berkeley DB 2 in
/home/florent/test/Berkeley_DB-4.2.50...
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... No
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb2... no
checking db2/db.h usability... no
checking db2/db.h presence... no
checking for db2/db.h... no
checking db.h usability... yes
checking db.h presence... yes
checking for db.h... yes
checking for db_open in -ldb... no
checking checking for Berkeley DB 1.0.0 in
/home/florent/test/Berkeley_DB-4.2.50...
checking db1/db.h usability... yes
checking db1/db.h presence... yes
checking for db1/db.h... yes
checking for dbopen in -ldb1... yes
  setting APRUTIL_INCLUDES to
"-I/home/florent/test/Berkeley_DB-4.2.50/include"
  setting APRUTIL_LDFLAGS to "-L/home/florent/test/Berkeley_DB-4.2.50/lib"
checking for Berkeley DB... found db1
checking for default DBM... sdbm (default)
  setting APRUTIL_EXPORT_LIBS to "-ldb1"
  setting APRUTIL_LIBS to "-ldb1"
checking for Expat in /usr... no
checking for Expat in /usr/local... yes
  adding "-lexpat" to APRUTIL_EXPORT_LIBS
  adding "-I/usr/local/include" to APRUTIL_INCLUDES
  adding "-L/usr/local/lib" to APRUTIL_LDFLAGS
  adding "/usr/local/lib/libexpat.la" to APRUTIL_LIBS
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
  adding "/home/florent/test/subversion-0.34.0/apr/libapr-0.la" to
APRUTIL_LIBS
  adding "-lrt" to APRUTIL_LIBS
  adding "-lm" to APRUTIL_LIBS
  adding "-lcrypt" to APRUTIL_LIBS
  adding "-lnsl" to APRUTIL_LIBS
  adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating export_vars.sh
config.status: creating apu-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating Makefile
config.status: creating buckets/Makefile
config.status: creating crypto/Makefile
config.status: creating dbm/Makefile
config.status: creating dbm/sdbm/Makefile
config.status: creating encoding/Makefile
config.status: creating hooks/Makefile
config.status: creating ldap/Makefile
config.status: creating uri/Makefile
config.status: creating xml/Makefile
config.status: creating misc/Makefile
config.status: creating strmatch/Makefile
config.status: creating xlate/Makefile
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: include/private/apu_config.h is unchanged
config.status: executing default commands
apr-util configured properly
checking APR-UTIL version... 0.9.5
configuring libtool now
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking for a sed that does not truncate output... /bin/sed
checking how to recognise dependent libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
configure: checking neon library
checking neon library version... 0.24.4
Using neon found in source directory.
configuring package in neon now
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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 for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
checking for library containing strerror... none required
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for off_t... yes
checking for Darwin... no
checking whether make sets $(MAKE)... yes
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for gcc -Wformat -Werror sanity... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for size_t... (cached) yes
checking size of size_t... 4
checking how to print size_t... u
checking for off_t... (cached) yes
checking size of off_t... 4
checking how to print off_t... ld
checking for ssize_t... yes
checking size of ssize_t... 4
checking how to print ssize_t... d
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking for ar... /usr/bin/ar
checking for ranlib... /usr/bin/ranlib
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for pipe... yes
checking for isatty... yes
checking for usleep... yes
checking for shutdown... yes
checking for time_t... yes
checking size of time_t... 4
checking how to print time_t... ld
checking whether byte ordering is bigendian... no
checking whether strerror_r is declared... yes
checking for strerror_r... yes
checking whether strerror_r returns char *... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for strings.h... (cached) yes
checking for sys/time.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking netinet/in.h usability... Yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking for strcasecmp... yes
checking for signal... yes
checking for setvbuf... yes
checking for setsockopt... yes
checking for stpcpy... yes
checking for library containing socket... none needed
checking for library containing gethostbyname... none needed
checking for getaddrinfo... yes
checking for gai_strerror... yes
checking for inet_ntop... yes
checking for working AI_ADDRCONFIG... no
checking for struct tm.tm_gmtoff... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for inflate in -lz... yes
checking whether to enable ACL support in neon... yes
checking for krb5-config... none
checking whether to enable WebDAV support in neon... yes
checking for xml2-config... no
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for XML_SetXmlDeclHandler in -lexpat... yes
configure: XML parser used: expat
configure: debugging is enabled
configure: creating ./config.status
config.status: creating neon-config
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating test/Makefile
config.status: creating neon.pc
config.status: creating config.h
config.status: config.h is unchanged
configure: Configured to build neon 0.24.4:

  Install prefix: /home/florent/test
  Compiler: gcc
  XML Parser: expat
  SSL library: No SSL support
  zlib support: found in -lz
  Build libraries: Shared=yes, Static=yes

Now run 'make' to compile the neon library.

neon configured properly
checking for any extra libraries neon needs... -L/home/florent/test/lib -lz
-lexpat
checking for static Apache module support... no
checking for Apache module support via DSO through APXS... found at
/home/florent/test/bin/apxs
checking httpd version... recent enough
checking for socket in -lsocket... no
checking for availability of Berkeley DB... No
checking for ANSI C header files... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for working memcmp... yes
checking for vprintf... yes
checking for _doprnt... no
checking for python2... none
checking for python... /usr/bin/python
checking for Python 2.0 or newer
checking for JDK... yes
checking for perl... /usr/bin/perl
checking for swig... none
checking for makeinfo... /usr/bin/makeinfo
configure: creating ./config.status
config.status: creating Makefile
config.status: creating svn-config
config.status: creating tools/backup/hot-backup.py
config.status: creating contrib/client-side/svn_load_dirs.pl
config.status: creating tools/hook-scripts/commit-access-control.pl
config.status: creating tools/hook-scripts/commit-email.pl
config.status: creating tools/hook-scripts/propchange-email.pl
config.status: creating svn_private_config.h
config.status: svn_private_config.h is unchanged
configure: WARNING: we have configured for a client-only build

The Subversion filesystem library, part of the server, requires
Berkeley DB version 4.0.14 or newer, which you don't seem to have
installed and linked to APR-UTIL. We have created makefiles which
will build the Subversion client code only, and skip the server. You
can find latest version of Berkeley DB at http://www.sleepycat.com/.
You can find the latest version of Berkeley DB here:
  http://www.sleepycat.com/download/index.shtml

~/test/subversion-0.34.0 $>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 4 11:07:42 2003

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.