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