andrep / hoc

Automatically exported from code.google.com/p/hoc
8 stars 1 forks source link

Create bindings failed #20

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. following README.txt to build HOC to step 2 "Create the bindings"
2. cd Bindings
3. sh make-bindings-macos.sh

What is the expected output? What do you see instead?
Got the following message:
~/project/os/hoc-read-only/hoc/Bindings/Generated/HOC-Foundation
~/project/os/hoc-read-only/hoc/Bindings/Generated
Warning: HOC-Foundation.cabal: A package using section syntax should require
"Cabal-Version: >= 1.2" or equivalent.
Configuring HOC-Foundation-1.0...
Setup.hs: At least the following dependencies are missing:
HOC -any

What version of the product are you using? On what operating system?
svn head.
HOC: svn head
Mac OS X: 10.5.8
GHC: 6.10.4
Cabal: 1.6.0.3

Please provide any additional information below.

Original issue reported on code.google.com by Dexte...@gmail.com on 2 Sep 2009 at 10:09

GoogleCodeExporter commented 9 years ago
Oh.. I see the "cabal install" command does per-user installations by default.

So for step 3, use {{{sh make-bindings-macos.sh --user}}}.

I will change README.txt to suggest using "runhaskell Setup.hs" instead of the 
cabal 
command, so that the defaults for both phases match up.

Original comment by aut...@gmail.com on 8 Sep 2009 at 5:04

GoogleCodeExporter commented 9 years ago
README.txt has been changed.

Original comment by aut...@gmail.com on 27 Sep 2009 at 10:12