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

Subversion 1.4.2 compilation with apr 0.9.6

From: Andre Oliveira da Costa <costa_at_tecgraf.puc-rio.br>
Date: 2006-12-14 19:06:10 CET

Hi,

I am trying to compile svn 1.4.2 on Fedora 4, which has apr 0.9.6, and
compilation fails because configuration requires apr >= 0.9.7. I tried
hard to upgrade both apr and apr-util, but only combination that works
was apr 0.9.{11-13} with apr-util 0.9.7 (which probably is not a good
thing). Even so, subversion 1.4.2 compilation fails on this scenario
with this:

/local2/costa/redhat/BUILD/subversion-1.4.2/subversion/svn
/local2/costa/redhat/BUILD/subversion-1.4.2/subversion/libsvn_fs_base/.libs/libsvn_fs_base-1.so: undefined reference to `db_create'
/local2/costa/redhat/BUILD/subversion-1.4.2/subversion/libsvn_fs_base/.libs/libsvn_fs_base-1.so: undefined reference to `db_env_create'
/local2/costa/redhat/BUILD/subversion-1.4.2/subversion/libsvn_fs_base/.libs/libsvn_fs_base-1.so: undefined reference to `db_version'
/local2/costa/redhat/BUILD/subversion-1.4.2/subversion/libsvn_fs_base/.libs/libsvn_fs_base-1.so: undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make: *** [subversion/svn/svn] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.6901 (%build)
    Bad exit status from /var/tmp/rpm-tmp.6901 (%build)

I then reverted back to 0.9.6 and tweaked regexes on 'configure' script
to allow apr 0.9.6, and compilation apparently succeeded. But, I
wouldn't trust a version generated this way unless svn developers tell
me it's ok...

Any tips? Is apr >= 0.9.7 really needed? Any additional info I could
provide? We really need svn client 1.4.2 on our FC4 stations...

(actually we need to upgrade from FC4, but that's a whole different
problem...)

TIA

Andre

-- 
Andre Oliveira da Costa
(costa@tecgraf.puc-rio.br)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 14 19:07:09 2006

This is an archived mail posted to the Subversion Users mailing list.