#5021: How to get shared base libraries with profiling when installing from
ghc-7.0.2-i386-unknown-linux.tar.bz2
--------------------------------+-------------------------------------------
Reporter: Lemming | Owner:
Type: feature request | Status: new
Priority: normal | Component: None
Version: 7.0.2 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: x86 | Failure: None/Unknown
--------------------------------+-------------------------------------------
I have installed GHC-7.0.2 from ghc-7.0.2-i386-unknown-linux.tar.bz2 and
like to build my packages with cabal --enable-library-profiling --enable-
shared .
However I cannot build executables, since there are no shared profiling
libraries installed.
{{{
$ cabal install -fbuildExample --enable-library-profiling --enable-
executable-profiling --enable-shared --ghc-option=-dynamic gnuplot
...
[19 of 21] Compiling Data.Record.HT ( src/Data/Record/HT.hs,
dist/build/Data/Record/HT.o )
[20 of 21] Compiling Data.String.HT ( src/Data/String/HT.hs,
dist/build/Data/String/HT.o )
[21 of 21] Compiling Data.List.Match ( src/Data/List/Match.hs,
dist/build/Data/List/Match.o )
Implicit import declaration:
Could not find module `Prelude':
Perhaps you haven't installed the "p_dyn" libraries for package
`base'?
Use -v to see a list of the files searched for.
}}}
Could GHC be shipped with shared profiling libraries?
Since this would considerably increase the size of the GHC package it
would also be fine for me if I would be able to build these libraries
myself, preferably with cabal.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5021>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs