Skip to content

build steps for osx #101

@seanjensengrey

Description

@seanjensengrey

This is not a bug but an quick guide for folks building c-mera on OSX.

These are the steps I went through to get the cm tool installed on OSX using homebrew. I am not a Common Lisp developer, so all of this was new to me.

The existing readme build steps are pretty good, but there are a couple little gotchas.

install deps

brew install clozure-cl gpg autoconf automake m4

add new m4 to path, shadows existing m4

export PATH="/usr/local/opt/m4/bin:$PATH"

create symlink for ccl

clozure-cl only install ccl64, build scripts expect ccl

pushd /usr/local/bin; ln -s ccl64 ccl; popd

install quicklisp

https://www.quicklisp.org/beta/#installation

install network library

ccl --eval "(ql:quickload :net.didierverna.clon)"

build

git clone https://github.com/kiselgra/c-mera
cd c-mera
# fixed an odd build breakage when running configure
mkdir m4
autoreconf -if
./configure --prefix=$HOME/opt/c-mera --with-ccl
make
make install

The cm tool will now be in $HOME/opt/c-mera/bin/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions