On Thu, Oct 17, 2019 at 10:34 AM Nathan Hartman <hartman.nat...@gmail.com> wrote: > Hello Robert, > > Were you successful in getting the SVN client library to build?
Hey Nathan, Sorry for the late response. No, I eventually got a bit further but I am thinking I might give up. The end goal is to compile Subversion client lib in my product but there are so many dependencies that I could spend weeks on this and probably still not have it working. I just don't have that kind of time. My feeling at this point is that the lion's share of the problems are build-system related, rather than code. The build system does not appear to be well implemented for cross compilation support. So far this is what I have: ``` # Useful links: # - https://stackoverflow.com/a/1605497 compile_apache_lib() { library=$1 version=$2 package=$library-$version clone_or_update $library trunk https://github.com/apache/${library}.git cd $library #download_and_untar $package \ # http://mirror.metrocast.net/apache/${library}/${package}.tar.gz #cd $package autoconf && ./configure \ --prefix=$INSTALL_DIR/apache \ --host=${TOOLCHAIN_COMPILER_PREFIX} \ --disable-shared \ --enable-static \ ac_cv_file__dev_zero="yes" \ ac_cv_func_setpgrp_void="yes" \ apr_cv_process_shared_works="yes" \ apr_cv_mutex_robust_shared="no" \ apr_cv_tcp_nodelay_with_cork="yes" \ ac_cv_sizeof_struct_iovec="8" \ apr_cv_mutex_recursive="yes" \ "${@:3}" # make -j8 && make install } compile_apache_lib apr 1.7.0 \ --with-libxml2=/usr ``` I tried with trunk, and I tried with the latest released version. I got neither working. I just keep hitting problem after problem. Add onto this that I'm horribly unfamiliar with makefiles and autoconf.