You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Juan Gabriel Covas <jg...@softline.es> on 2019/08/06 19:38:07 UTC

svnmucc fails to build from sources

Hello,

Build box is an Ubuntu 18.04 where only standard system updates are applied. 

Built svn 1.11.0 from sources with no problems, now trying to build the latest 1.12.2 is throwing the following error.

[...]
cd subversion/svnmucc && /bin/bash "/usr/local/src/subversion-1.12.2/libtool" --tag=CC --silent --mode=link gcc  -g -O2   -pthread    -rpath /usr/local/lib  -o svnmucc  svnmucc.lo ../../subversion/libsvn_client/libsvn_client-1.la ../../subversion/libsvn_ra/libsvn_ra-1.la ../../subversion/libsvn_subr/libsvn_subr-1.la ../../subversion/libsvn_delta/libsvn_delta-1.la -L/usr/lib/x86_64-linux-gnu -laprutil-1 -L/usr/lib/x86_64-linux-gnu -lapr-1
../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined reference to `svn_wc__get_experimental_dir'
../../subversion/libsvn_client/.libs/libsvn_client-1.so: undefined reference to `svn_wc__find_copies_of_repos_path'
collect2: error: ld returned 1 exit status
build-outputs.mk:1194: recipe for target 'subversion/svnmucc/svnmucc' failed
make: *** [subversion/svnmucc/svnmucc] Error 1

I have lots of the following, can't recall if it's "normal".
ar: `u' modifier ignored since `D' is the default (see `U')

Any insight would be greatly appreciated. Thanks!

Juan


RE: svnmucc fails to build from sources

Posted by Juan Gabriel Covas <jg...@softline.es>.
Nevermind.

Seeing that /usr/local/lib was included in the compile line as "rpath", I tried moving all existing libsvn_* files from /usr/local/lib to an "old_1.11" directory (they came from the 1.11 compilation)

After that, "make" just went fine.

Regards,

Juanga