GaloisInc / HaLVM

The Haskell Lightweight Virtual Machine (HaLVM): GHC running on Xen
BSD 3-Clause "New" or "Revised" License
1.05k stars 88 forks source link

`make install` failed #66

Closed izgzhen closed 8 years ago

izgzhen commented 9 years ago

I am rebuilding the whole thing on Fedora 22, and in the final make install there came some errors:

"inplace/bin/ghc-cabal" copy libraries/ghc-prim dist-install ":" '' '/home/user/halvm-dist' '/home/user/halvm-dist/lib/HaLVM-2.0.0' '/home/user/halvm-dist/share/doc/ghc/html/libraries' 'v p'  
Installing library in /home/user/halvm-dist/lib/HaLVM-2.0.0/ghc-prim-0.3.1.0
ghc-cabal: Error: Could not find module: GHC.CString with any suffix: ["hi"]
in the search path: ["dist-install/build"]
ghc.mk:918: recipe for target 'install_packages' failed
make[2]: *** [install_packages] Error 1
Makefile:71: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/user/repos/HaLVM/halvm-ghc'
Makefile:404: recipe for target 'install' failed
make: *** [install] Error 2

Seems something hi files are not compiled? I am not sure.

izgzhen commented 8 years ago

Now I can build it well