Skip to content

Cannot install from Homebrew #6

@inkel

Description

@inkel

Hey, dear @foca.

I tried to install today this tool using brew install foca/mpp/mpp but I've got a few issues. The first one being that the install failed with the issue solved in 86cc7a1; for some reason, it was still trying to use crystal compile on my machine.

I was able to hack the crystal wrapper to fix this issue, but then I'm getting this new error:

inkel@rivendel:~ $ brew install foca/mpp/mpp
==> Installing mpp from foca/mpp
==> Downloading https://github.com/foca/mpp/archive/v1.0.0.rc3.tar.gz
Already downloaded: /Users/inkel/Library/Caches/Homebrew/downloads/e477525372606dea1f8b0156f93e254831b1aec526aec317804370ad53d2ff5f--mpp-1.0.0.rc3.tar.gz
==> ./configure --prefix=/usr/local/Cellar/mpp/1.0.0.rc3
==> make
Last 15 lines from /Users/inkel/Library/Logs/Homebrew/mpp/02.make:
2020-02-13 14:21:46 -0300

make

echo 'MPP_VERSION = "1.0.0.rc3"' > src/version.cr
mkdir -p bin
crystal compile -o bin/mpp src/mpp.cr
Showing last frame. Use --error-trace for full trace.

In src/path.cr:1:7

 1 | class Path
           ^
Error: Path is not a class, it's a struct
make: *** [bin/mpp] Error 1

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
  https://github.com/foca/homebrew-mpp/issues

Any ideas on what could it be?

Thanks!

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