On Mon, Apr 13, 2020, 11:41 Eric Covener <cove...@gmail.com> wrote: > On Mon, Apr 13, 2020 at 12:19 PM Christopher Schultz > <ch...@christopherschultz.net> wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA256 > > > > All, > > > > I'm having some trouble building 2.4.x directly from svn. > > > > MacOS 10.14.6 (Mojave) > > > > $ autoconf -V > > autoconf (GNU Autoconf) 2.69 > > > > $ glibtool --version > > glibtool (GNU libtool) 2.4.6 > > [ installed via "brew install libtool" ] > > > > $ cc --version > > Apple LLVM version 10.0.1 (clang-1001.0.46.4) > > > > After "svn checkout", I tried: > > > > $ ./configure > > > > - -bash: ./configure: No such file or directory > > > > $ ./buildconf --with-apr=/usr/local/Cellar/apr/1.7.0/bin/apr-1-config > > [ output okay, a few "missing directory" warnings which INSTALL says > > [no output, but now "configure" exists] > > > > $ ./configure > > ./configure: line 2990: syntax error near unexpected token `Apache,' > > ./configure: line 2990: `APR_ENABLE_LAYOUT(Apache, errordir iconsdir > > htdocsdir cgidir)' > > > > I'm no expert in toolchains, so I'm not sure where to look next. Did I > > do something wrong? >
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 always use the --with-included-apr method where you extract apr to > the srclib/ dir of your source tree. > svn co http://svn.apache.org/repos/asf/apr/apr/trunk srclib/apr > If you check out a 1.7.0 flavor of apr, be sure to also use --with-included-aprutil and the latest aprutil 1.6.5 flavor checked out into srclib/aprutil alongside any apr flavor 1.x. Jeff's suggestion above, apr 2.0 (which has not been released) now combines aprutil into apr. Any of these options should get you further.