Giter Site home page Giter Site logo

Comments (5)

hkalexling avatar hkalexling commented on May 22, 2024

Ameba is a development dependency of Mango and it looks it failed to build. I am not the developer of ameba so I am not entirely sure what went wrong :(

I would suggest installing Mango with either Docker or the pre-built binary, so you don't have to deal with dependency issues. If you don't trust the binary I uploaded on the release page, you can use the one built by GitHub Action without any human intervention (see the "Artifacts" section).

If you insist on compiling from source, you can do the followings:

  1. Edit shard.yml and delete the following lines
  kemal:
    github: kemalcr/kemal
  1. Re-run shards install
  2. Run crystal build src/mango.cr --release --progress. This builds the mango binary.

from mango.

Chatto avatar Chatto commented on May 22, 2024

This is what I get:

hinterlandroad 福 ~/Mango/mango/Mango ➤ 3039031|master
374 ± : sudo crystal build src/mango.cr --release --progress [8d10h22m] ✹ ✭
baking ../../disttop level)
while requiring "./server" (Exception)
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from __crystal_main
from main
from __libc_start_main
from _start
from ???
Caused by: while requiring "./handlers/*" (Exception)
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from __crystal_main
from main
from __libc_start_main
from _start
from ???
Caused by: Error executing process: No such file or directory (RuntimeError)
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from ???
from __crystal_main
from main
from __libc_start_main
from _start
from ???
Error: you've found a bug in the Crystal compiler. Please open an issue, including source code that will allow us to reproduce the bug: https://github.com/crystal-lang/crystal/issues

from mango.

hkalexling avatar hkalexling commented on May 22, 2024

Does make run work? Is there any particular reason why you want to compile from source?

from mango.

Chatto avatar Chatto commented on May 22, 2024

from mango.

hkalexling avatar hkalexling commented on May 22, 2024

Sorry there's nothing much I can do :( The error message provided by the compiler is not informative, and our CI builds fine so it's not an issue with Mango itself. It's either a Crystal bug or your environment is not set up correctly. Perhaps your Crystal compiler is not the latest version (v0.34.0)? I cannot tell with limited information.

Again, I would suggest installing Mango with other methods unless you are interested in developing it. Closing this, but feel free to comment with more information and I will be happy to help.

from mango.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.