You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Scott Sanders <ss...@dotnot.org> on 2003/07/10 18:57:14 UTC

0.25 build problem

Currently using 0.24.2, so I downloaded the 0.25 tarball,  and ran into 
this problem during make:

/bin/sh /root/dev/subversion-0.25/libtool --silent --mode=compile gcc 
-DLINUX=2 -D_REENTRANT -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE 
-D_GNU_SOURCE  -g -pthread -DNEON_ZLIB -Wpointer-arith -Wwrite-strings 
-Wshadow -DSVN_DEBUG -DAP_DEBUG -std=c89   -I./subversion/include -I. 
-I/root/dev/subversion-0.25/neon/src -I/usr/local/include/neon 
-I/usr/local/BerkeleyDB.4.0/include  -I/usr/local/apr/include/apr-0   
-I/usr/local/apr/include/apr-0  -o subversion/libsvn_subr/xml.lo -c 
subversion/libsvn_subr/xml.c
cd subversion/libsvn_subr && /bin/sh /root/dev/subversion-0.25/libtool 
--silent --mode=link gcc  -g -pthread -DNEON_ZLIB -Wpointer-arith 
-Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -std=c89    -rpath 
/usr/local/lib -o libsvn_subr-1.la auth.lo cmdline.lo config.lo 
config_auth.lo config_file.lo config_win.lo error.lo getdate.lo hash.lo 
io.lo md5.lo opt.lo path.lo pool.lo quoprint.lo sorts.lo stream.lo 
subst.lo svn_base64.lo svn_string.lo target.lo time.lo utf.lo 
validate.lo xml.lo /usr/local/apr/lib/libaprutil-0.la -lgdbm -ldb 
-lexpat /usr/local/apr/lib/libapr-0.la -lm -lcrypt -lnsl  -ldl
/usr/bin/ld: cannot find -ldb
collect2: ld returned 1 exit status
make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

I ran configure like this (same script that built 0.24.2):

./configure \
   --enable-maintainer-mode \
   --with-apxs=/usr/local/apache2/bin/apxs \
   --with-jdk=/usr/java/jdk \
   --with-apr=/usr/local/apr/bin/apr-config \
   --with-apr-util=/usr/local/apr/bin/apu-config

and ldconfig -p | grep libdb gives me:

    libdb1.so (libc6) => /usr/lib/libdb1.so
         libdb_tcl.so (libc6) => /usr/lib/libdb_tcl.so
         libdb_tcl-3.3.so (libc6) => /usr/lib/libdb_tcl-3.3.so
         libdb_tcl-3.2.so (libc6) => /usr/lib/libdb_tcl-3.2.so
         libdb_tcl-3.1.so (libc6) => /usr/lib/libdb_tcl-3.1.so
         libdb_cxx-4.0.so (libc6) => /usr/lib/libdb_cxx-4.0.so
         libdb_cxx-3.3.so (libc6) => /usr/lib/libdb_cxx-3.3.so
         libdb_cxx-3.2.so (libc6) => /usr/lib/libdb_cxx-3.2.so
         libdb_cxx-3.1.so (libc6) => /usr/lib/libdb_cxx-3.1.so
         libdb.so.3 (libc6) => /usr/lib/libdb.so.3
         libdb.so.2 (libc6) => /usr/lib/libdb.so.2
         libdb.so (libc6) => /usr/local/BerkeleyDB.4.0/lib/libdb.so
         libdb-4.0.so (libc6) => /lib/libdb-4.0.so
         libdb-4.0.so (libc6) => 
/usr/local/BerkeleyDB.4.0/lib/libdb-4.0.so
         libdb-4.so (libc6) => /usr/local/BerkeleyDB.4.0/lib/libdb-4.so
         libdb-3.3.so (libc6) => /lib/libdb-3.3.so
         libdb-3.2.so (libc6) => /lib/libdb-3.2.so
         libdb-3.1.so (libc6) => /lib/libdb-3.1.so

What have I done wrong?

Thanks,
Scott Sanders


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 0.25 build problem

Posted by Scott Sanders <ss...@dotnot.org>.
On Thursday, July 10, 2003, at 12:30 PM, Philip Martin wrote:

> Scott Sanders <ss...@dotnot.org> writes:
>
>> ./configure \
>>    --enable-maintainer-mode \
>>    --with-apxs=/usr/local/apache2/bin/apxs \
>>    --with-jdk=/usr/java/jdk \
>>    --with-apr=/usr/local/apr/bin/apr-config \
>>    --with-apr-util=/usr/local/apr/bin/apu-config
>
> Don't know if it will fix the problem, but those last two should be
>
>      --with-apr=/usr/local/apr
>      --with-apr-util=/usr/local/apr
>
> Normally one has apr and apr-util in the apache dir, in which case use
>
>      --with-apr=/usr/local/apache2
>      --with-apr-util=/usr/local/apache2

Thanks, Philip.  Just replying for the mailing list archive.  Those 
settings were what I used for every svn before 0.24.2, but those did 
not work.  I will return to using those settings.

thanks
Scott


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 0.25 build problem

Posted by Philip Martin <ph...@codematters.co.uk>.
Scott Sanders <ss...@dotnot.org> writes:

> ./configure \
>    --enable-maintainer-mode \
>    --with-apxs=/usr/local/apache2/bin/apxs \
>    --with-jdk=/usr/java/jdk \
>    --with-apr=/usr/local/apr/bin/apr-config \
>    --with-apr-util=/usr/local/apr/bin/apu-config

Don't know if it will fix the problem, but those last two should be

     --with-apr=/usr/local/apr
     --with-apr-util=/usr/local/apr

Normally one has apr and apr-util in the apache dir, in which case use

     --with-apr=/usr/local/apache2
     --with-apr-util=/usr/local/apache2

-- 
Philip Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 0.25 build problem

Posted by Scott Sanders <ss...@dotnot.org>.
On Thursday, July 10, 2003, at 12:12 PM, Paul L Lussier wrote:

> In a message dated: Thu, 10 Jul 2003 11:57:14 PDT
> Scott Sanders said:
>
>> Currently using 0.24.2, so I downloaded the 0.25 tarball,  and ran 
>> into
>> this problem during make:
>
>> /usr/bin/ld: cannot find -ldb
>> collect2: ld returned 1 exit status
>> make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1
>
> I think you need to upgrade libdb on your system.
>

Dropping down to just:
./configure --enable-maintainer-mode --with-apxs=... --with-jdk=...

worked just fine.  hmmm.

Scott



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: 0.25 build problem

Posted by Paul L Lussier <pl...@lanminds.com>.
In a message dated: Thu, 10 Jul 2003 11:57:14 PDT
Scott Sanders said:

>Currently using 0.24.2, so I downloaded the 0.25 tarball,  and ran into 
>this problem during make:

>/usr/bin/ld: cannot find -ldb
>collect2: ld returned 1 exit status
>make: *** [subversion/libsvn_subr/libsvn_subr-1.la] Error 1

I think you need to upgrade libdb on your system.
-- 

Seeya,
Paul
--
Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org