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

Cannot install from Homebrew #6

Open
inkel opened this issue Feb 13, 2020 · 0 comments
Open

Cannot install from Homebrew #6

inkel opened this issue Feb 13, 2020 · 0 comments

Comments

@inkel
Copy link

inkel commented Feb 13, 2020

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!

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

1 participant