Am 13.04.2020 um 23:27 schrieb William A Rowe Jr:
On Mon, Apr 13, 2020 at 4:21 PM Christopher Schultz <ch...@christopherschultz.net <mailto:ch...@christopherschultz.net>> wrote:

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA256

    William,

     >> I'm having some trouble building 2.4.x directly from svn.
     >>
     >> MacOS 10.14.6 (Mojave)
     >
     > I note you mentioned apr 1.7.0. If you grab and pre build apr, and
     > then apr-util (and openssl and anything else you want to refresh)
     > or install the compiled system package, it should work. Point at
     > them --with-apr plus --with-aprutil.

    I'm using brew which is like the missing package manager for macos.
    I've installed apr and apr-util which I thikn are both binary
    packages. I reconfigured with:

    $ ./buildconf --with-apr=/usr/local/Cellar/apr/1.7.0/bin/apr-1-config
    - --with-apr-util=/usr/local/Cellar/apr-util/1.6.1_3/bin/apu-1-config

    I get this output:

    using apr-config version 1.7.0
    ./buildconf: line 249: cd:
    /usr/local/Cellar/apr-util/1.6.1_3/bin/apu-1-config: Not a directory
    copying build files


That's your answer. It wants the parent path of the apr/apr-util installations, not the name of the apr-1-config file. It will work out bin/apr-1-config... etc.

The script looks like it should work using the path to apr-1-config, but if used in that way it unfortunately does not do what it announces, namely ignoring the apr-util setting. What is definitely not suppported is using a path to apu-1-config. This only works for apr, not apr-util.

I recommend not trying to run buildconf against installed (binary) apr / apr-util but instead against an unpacked source download of these two. Run it with giving the path to the unpacked sources of the two. The script tries to copy a few files from the source tree and it is unclear, whether those files actually get packaged by people providing a binary distribution.

Regards,

Rainer

Reply via email to