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

Re: Cross compiling build instructions

From: Robert Dailey <rcdailey.lists_at_gmail.com>
Date: Fri, 18 Oct 2019 10:06:54 -0500

On Thu, Oct 17, 2019 at 10:34 AM Nathan Hartman
<hartman.nathan_at_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() {

    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 \
        --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" \

    # make -j8 && make install

compile_apache_lib apr 1.7.0 \

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.
Received on 2019-10-18 17:07:10 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.