[OmniOS-discuss] cannot remove temp dir

Paul B. Henson henson at acm.org
Fri May 24 16:07:33 EDT 2013


On Fri, May 10, 2013 at 12:11:26AM +0100, Matthieu Paindavoine wrote:

> Install a 'bloody' OmniOS from DVD.
[...]
> #> ./configure --prefix=/opt/ghc-7.0.3
> #> make install
> 
> update path and ld_library_path
[...]
> #> ./configure --prefix=/opt/ghc-7.4.2
> #> make install

I'm trying to reproduce this on the just released omnios stable.
Installing ghc gives me this error:

Installing library in /opt/ghc-7.4.2/lib/ghc-7.4.2/ghc-prim-0.2.0.0
ghc-cabal: Error: Could not find module: GHC.Classes with any suffix:
["p_hi"]
in the search path: ["dist-install/build"]
make[1]: *** [install_packages] Error 1
make: *** [install] Error 2

It's probably to do with updating LD_LIBRARY_PATH? It's obvious what
path should be changed to include, but I'm not sure what to change in
LD_LIBRARY_PATH? After installing the binary ghc 7.0.3, I added
/opt/ghc-7.0.3/lib/ghc-7.0.3. That dir includes a bunch of subdirs
though, do they all need to be added as well? Or?



More information about the OmniOS-discuss mailing list