Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building on macOS #10

Open
ad-si opened this issue Oct 14, 2023 · 3 comments
Open

Building on macOS #10

ad-si opened this issue Oct 14, 2023 · 3 comments

Comments

@ad-si
Copy link

ad-si commented Oct 14, 2023

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

Environment

  • cadaver version: -
  • neon version: -
  • OS: macOS 12.6.8
  • SSL library version: -

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
Copy link
Contributor

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
Copy link
Contributor

@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
Copy link

yarkm13 commented Sep 24, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants