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

William,

On 4/13/20 15:30, William A Rowe Jr wrote:
> On Mon, Apr 13, 2020, 11:41 Eric Covener <cove...@gmail.com
> <mailto:cove...@gmail.com>> wrote:
>
> On Mon, Apr 13, 2020 at 12:19 PM Christopher Schultz
> <ch...@christopherschultz.net
> <mailto: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'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
./buildconf: line 261: automake: command not found
cp: /config.guess: No such file or directory
cp: /config.sub: No such file or directory
cp: /usr/local/opt/apr/libexec/build-1/apr_common.m4: No such file or
directory
cp: /usr/local/opt/apr/libexec/build-1/find_apr.m4: No such file or
directory
cp: /usr/local/opt/apr/libexec/build-1/find_apu.m4: No such file or
directory
rebuilding include/ap_config_auto.h.in
rebuilding configure
rebuilding rpm spec file
fixing timestamps for ap_expr sources

Running ./configure gives me the same error as before. Umm.. is
"automake: command not found" a problem? That could be the core if my
issues.

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

Must apr and apr-util both be available as source? Or can a binary
package be used? Those packages installed by brew do include the
header files for the package, which I'm assuming is the important part.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/

iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAl6U19cACgkQHPApP6U8
pFhA4w//TyXA3C2Ie81mrc/+yT6DJC+Tyb9Gqw4kc2qiqgKU0Kxl74g0lTELsaYa
vQfx8SfBPqvCR2qjMtxdGQkZx3vPmk8Zo1ey1mHrGyY3cvLmNixUk8zBvB36CQmO
eRC+XCIOhe/QbfvSbcFiXr+Gh/8pnvvXCtjRqCuPJKfKmAAGTve+uRbWbdBkvwe6
qn78H7SuvlYBi6qIMwJj3DQ2tY68B7jgUHY818kVPlM6m+MYIQevcDhJHSNcucoJ
xyG7L12OztOTourm6ceh/n1V/o15F1rzzaX8SY5ua7sMfR5C2V+VDVCY4Bw+gmkB
EwEBd4Yy8Oz/AgIN1sSmhZALuog/W9vybfLjdHjPlxEqC5ws69E2YFDi/M7feaG9
nokVYsW6EhtlSUVTtpvwjRlJbTwohiwRlB4afP37PX0BxWBnUSrPIFyp09NS9KIC
bcLyWfX1kZBeXG58fMVXABhIfl/xXSSQQnBKbp6Nunv6F18P23JzwpzP1OyDTecO
8RhLk1/gRksfja0CudfA8pTfpPxtxX7FSfSlKN6ksesJ9sIw1VMB2IeD/PMt+Rxd
gKHYRjJ1D+DE0DfDjsXl2/Wd2GztIxWoA5wmpIBosxlGvliIVIA8MbhHMJQ3hUhp
kG0zE3F14ek/PqlQIVcB1yt5CCMle30qjKgo/EJxYL9CjCRE7ww=
=d+9F
-----END PGP SIGNATURE-----

Reply via email to