mhwombat / creatur Goto Github PK
View Code? Open in Web Editor NEWFramework for artificial life and other evolutionary algorithms.
License: Other
Framework for artificial life and other evolutionary algorithms.
License: Other
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.