Closed evincarofautumn closed 10 years ago
Building with make
is not working for me on OSX 10.10, GHC 7.8.3. Says cabal: Could not resolve dependencies:
.
Getting the same error on a Windows 7 machine. GHC 7.8.3, cabal-install version 1.18.0.5, and version 1.18.3.1 of Cabal library. I will try updating cabal to see if this fixes it.
Having the same error with cabal-install version 1.20.0.3. I'm guessing this is an error with the GHC version.
@evincarofautumn : Trying to get kitten set up right now. I'm a little new to Haskell and kitten. What command would you use to install it through cabal (with --force-reinstalls
).
@EpicDavi You can use make -n
to see what Make will run, but it’s basically just:
cabal install --only-dependencies
cabal configure --enable-tests
cabal build
I don’t really know how to get out of this situation in a clean way. It’s just going to be an afternoon of fiddling with the version bounds in kitten.cabal
, I think.
@EpicDavi You can try building from that commit with:
cabal sandbox init
make
@evincarofautumn Yes! Thanks! It is working on my MacBook! Not sure if the make
was supposed to add kitten
to my path but eventually I found it in the dist
. Maybe consider putting, in the build instructions, instructions for after you run make
?
Cool. I suppose I can add a make install
, but we’re getting into configuration system territory here…I’d really prefer to avoid autotools/CMake for as long as possible. :)
Unfortunately, I can't get this to build on my windows machine due to make giving me the error:
make: *** No rule to make target '|', needed by 'dist/build/kitten/kitten'. Stop.
However this seems an unrelated issue (and probably just a windows issue). I am just happy to get it working on my other computer :). Thanks for the help!
That is probably due to the make
on your Windows machine not supporting order-only prerequisites. I don’t know what can be done about that, other than simplifying the Makefile or upgrading your make
.
Building with the Makefile appears to be broken (at least on Windows) with the latest Haskell Platform. Directly using Cabal works (at least with
--force-reinstalls
).