notroj / litmus

WebDAV test suite.
https://notroj.github.io/litmus/
GNU General Public License v2.0
12 stars 4 forks source link

Building on macOS #10

Open ad-si opened 1 year ago

ad-si commented 1 year ago

Describe the bug I'm trying to build it on macOS.

Environment

To Reproduce

  1. autoconf
  2. ./configure, which yields:
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether the compiler supports GNU C... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to enable C11 features... none needed
    checking whether make sets $(MAKE)... yes
    checking for a BSD-compatible install... /opt/homebrew/bin/ginstall -c
    ./configure: line 3455: syntax error near unexpected token `0,'
    ./configure: line 3455: `NE_REQUIRE_VERSIONS(0, 27 28 29 30 31 32)'

How can I fix it?

gstrauss commented 1 year ago

litmus depends on the neon library, so I would suggest starting with building neon (https://notroj.github.io/neon/) and telling litmus ./configure where to find it.

gstrauss commented 1 year ago

@ad-si did you set up the working copy properly?

git clone https://github.com/notroj/litmus
cd litmus
git submodule update --init
./autogen.sh
./configure
make

(If you forgot to init the submodule, then be sure to re-run ./autogen.sh after git submodule update --init)

yarkm13 commented 1 month ago

@gstrauss thanks, I can confirm that it's working with that steps on MacOS 14.5 I just need to install automake

brew install automake

because before that aclocal: command not found.