bscarlet / llvm-general

Rich LLVM bindings for Haskell (with transfer of LLVM IR to and from C++, detailed compilation pass control, etc.)
http://hackage.haskell.org/package/llvm-general
132 stars 38 forks source link

Missing setenv dependency #68

Closed surr closed 11 years ago

surr commented 11 years ago

I'm getting error

Setup.hs:14:8:
    Could not find module `System.SetEnv'
    Use -v to see a list of the files searched for.

while trying to build llvm-general-pure-3.2.7.2 under nix.

Probably, setenv dependency should be returned back, if it is used in package explicitly.

bscarlet commented 11 years ago

Sorry about that. As a workaround, installing setenv independently should let you proceed, but I should have a fix up soon.

bscarlet commented 11 years ago

Fixed.

sebeaumont commented 10 years ago

I'm getting this on the llvm3.4 branch -- where was it fixed?

bscarlet commented 10 years ago

It should be fixed by the presence of setenv in the dependencies listed in the .cabal files. What version of the code and compiler are you using?

sebeaumont commented 10 years ago

Yes indeed the dependency on setenv is correctly built and installed -- this is a cabal sandbox feature: https://github.com/haskell/cabal/issues/948 -- the workaround is to install setenv globally.

bscarlet commented 10 years ago

Thanks for tracking it down.