Coder Social home page Coder Social logo

creatur's People

Contributors

mhwombat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

e7dal

creatur's Issues

Please add support for recent versions of zlib and MonadRandom

Hi, I would like to build your package with the Nix package manager, but unfortunately the build fails because Nix ships versions of zlib and MonadRandom that are too new for the versions constraints your Cabal file specifies: we have zlib-0.6.1.1 and MonadRandom-0.4 already. Would it be possible to get a new release of creatur on Hackage that supports the latest versions of these libraries?

Getting a failure on cabal install

I'm running with ghc 7.6.3 and cabal 1.20.0.2. When I do a cabal install from the creatur directory, I get:

ubuntu@ip-172-31-30-17:~/Dropbox/Josh/creatur/creatur-5.9.8.2$ cabal install
Resolving dependencies...
Downloading stm-2.4.4...
Configuring stm-2.4.4...
Building stm-2.4.4...
Preprocessing library stm-2.4.4...
[ 1 of 10] Compiling Control.Sequential.STM ( Control/Sequential/STM.hs, dist/build/Control/Sequential/STM.o )
[ 2 of 10] Compiling Control.Concurrent.STM.TBQueue ( Control/Concurrent/STM/TBQueue.hs, dist/build/Control/Concurrent/STM/TBQueue.o )
[ 3 of 10] Compiling Control.Concurrent.STM.TQueue ( Control/Concurrent/STM/TQueue.hs, dist/build/Control/Concurrent/STM/TQueue.o )
[ 4 of 10] Compiling Control.Concurrent.STM.TChan ( Control/Concurrent/STM/TChan.hs, dist/build/Control/Concurrent/STM/TChan.o )
[ 5 of 10] Compiling Control.Concurrent.STM.TMVar ( Control/Concurrent/STM/TMVar.hs, dist/build/Control/Concurrent/STM/TMVar.o )
[ 6 of 10] Compiling Control.Concurrent.STM.TVar ( Control/Concurrent/STM/TVar.hs, dist/build/Control/Concurrent/STM/TVar.o )
[ 7 of 10] Compiling Control.Concurrent.STM.TArray ( Control/Concurrent/STM/TArray.hs, dist/build/Control/Concurrent/STM/TArray.o )
[ 8 of 10] Compiling Control.Monad.STM ( Control/Monad/STM.hs, dist/build/Control/Monad/STM.o )
[ 9 of 10] Compiling Control.Concurrent.STM ( Control/Concurrent/STM.hs, dist/build/Control/Concurrent/STM.o )
[10 of 10] Compiling Control.Concurrent.STM.TSem ( Control/Concurrent/STM/TSem.hs, dist/build/Control/Concurrent/STM/TSem.o )
In-place registering stm-2.4.4...
Creating package registration file: /tmp/pkgConf-stm-2.48822.4
Installing library in /home/ubuntu/.cabal/lib/x86_64-linux-ghc-7.6.3/stm-2.4.4
Registering stm-2.4.4...
Installed stm-2.4.4
Downloading exceptions-0.8.0.2...
Configuring exceptions-0.8.0.2...
Building exceptions-0.8.0.2...
Preprocessing library exceptions-0.8.0.2...
[1 of 2] Compiling Control.Monad.Catch ( src/Control/Monad/Catch.hs, dist/build/Control/Monad/Catch.o )
[2 of 2] Compiling Control.Monad.Catch.Pure ( src/Control/Monad/Catch/Pure.hs, dist/build/Control/Monad/Catch/Pure.o ) In-place registering exceptions-0.8.0.2...
Creating package registration file: /tmp/pkgConf-exceptions-0.8.08822.2
Installing library in
/home/ubuntu/.cabal/lib/x86_64-linux-ghc-7.6.3/exceptions-0.8.0.2
Registering exceptions-0.8.0.2...
Installed exceptions-0.8.0.2
Configuring creatur-5.9.8.2...
Building creatur-5.9.8.2...
Preprocessing library creatur-5.9.8.2...
[ 1 of 26] Compiling ALife.Creatur.Logger ( src/ALife/Creatur/Logger.hs, dist/build/ALife/Creatur/Logger.o )

src/ALife/Creatur/Logger.hs:38:20:
    Couldn't match expected type `time-1.5.0.1:Data.Time.Format.Locale.TimeLocale'
                with actual type `System.Locale.TimeLocale'
    In the first argument of `formatTime', namely `defaultTimeLocale'
    In the first argument of `fmap', namely
      `(formatTime defaultTimeLocale "%y%m%d%H%M%S%z")'
    In the expression:
      fmap (formatTime defaultTimeLocale "%y%m%d%H%M%S%z") getZonedTime
Failed to install creatur-5.9.8.2
cabal: Error: some packages failed to install:
creatur-5.9.8.2 failed during the building phase. The exception was:
ExitFailure 1

I'm just learning Haskell, so if there's something obvious I'm missing, sorry to bother you.

Best regards,
Josh

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.