GithubHelp home page GithubHelp logo

Comments (13)

ahushh avatar ahushh commented on September 26, 2024

As a temporary solution you can decrease GHC optimization level to -O0 in Monaba.cabal

from monaba.

hails avatar hails commented on September 26, 2024

Didn't work, but it seems to work when I use stackage stack build.
First, I tried to compile in three differents Digital Ocean droplets (Ubuntu and Debian) and got some dependencies errors, even using stackage.
Now, compiling (and hacking with a mix of cabal and stackage) on my Arch Linux setup kinda worked.
Should we perhaps make Monaba "stackage compliant" and recheck the dependencies?

from monaba.

ahushh avatar ahushh commented on September 26, 2024

Hmm, it works for me when I use cabal and latest packages with GHC 7.10.2 following my readme.
I never used stackage before but I will surely take a look on it

from monaba.

hails avatar hails commented on September 26, 2024

What Linux distribution are you using to build Monaba with cabal?

from monaba.

ahushh avatar ahushh commented on September 26, 2024

gentoo

from monaba.

hails avatar hails commented on September 26, 2024

That's strange, tried several times (even asked to a friend of mine to try buidling) and got almost the same errors (dependencies failing, memory leak, and so on).
Maybe it's just me being unlucky (and being hated back by cabal) or doing something wrong.

from monaba.

ahushh avatar ahushh commented on September 26, 2024

I got memory leaking too, but -O0 always helped. Don't know how to fix it another way yet.
Just updated package list, inited sandbox and reinstalled dependencies, got no errors (except of nano-md5). What dependencies errors did you get?

from monaba.

ahushh avatar ahushh commented on September 26, 2024

I updated dependencies versions according to yesod scaffold example, not sure if it helps

from monaba.

hails avatar hails commented on September 26, 2024

Gonna test on a Digital Ocean droplet.

from monaba.

hails avatar hails commented on September 26, 2024

Welp, this time everything went well.
I guess I can close the issue now?

from monaba.

ahushh avatar ahushh commented on September 26, 2024

Let it be open to remind me that memory leak isn't fixed, -O0 still isn't a good way

from monaba.

hails avatar hails commented on September 26, 2024

Ok, if something like that happens again, I'll report it here.

from monaba.

jeanlucaslima avatar jeanlucaslima commented on September 26, 2024

@ahushh the option -O0 should be on the documentation then

from monaba.

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.