
Hi all, I have a code which makes use of the uniplate package. When I try to compile with profiling enabled, I get the following error: $$ ghc --make -O2 -prof -auto-all test.hs test.hs:10:7: Could not find module `Data.Generics.Uniplate.Data': Perhaps you haven't installed the profiling libraries for package `uniplate-1.5.1'? Use -v to see a list of the files searched for. And of course I do have uniplate installed, and everything works fine if I don't compile with profiling enabled. I guess I either need to install profiling libraries for uniplate, or disable profiling of those functions coming from uniplate. Any suggestion is welcome. Best, -- Ozgur Akgun

I guess I either need to install profiling libraries for uniplate, or disable profiling of those functions coming from uniplate.
Exactly. For the former cabal install --reinstall --enable-library-profiling uniplate should do the trick. Sebastian -- Underestimating the novelty of the future is a time-honored tradition. (D.G.)

On Sat, May 1, 2010 at 3:02 PM, Sebastian Fischer < sebf@informatik.uni-kiel.de> wrote:
I guess I either need to install profiling libraries for uniplate, or
disable profiling of those functions coming from uniplate.
Exactly. For the former
cabal install --reinstall --enable-library-profiling uniplate
should do the trick.
To avoid having to manually install profiling versions of libraries in the future you can enable profiling support in your ~/.cabal file. -- Johan

Thanks guys!
On 1 May 2010 14:04, Johan Tibell
On Sat, May 1, 2010 at 3:02 PM, Sebastian Fischer < sebf@informatik.uni-kiel.de> wrote:
I guess I either need to install profiling libraries for uniplate, or
disable profiling of those functions coming from uniplate.
Exactly. For the former
cabal install --reinstall --enable-library-profiling uniplate
should do the trick.
To avoid having to manually install profiling versions of libraries in the future you can enable profiling support in your ~/.cabal file.
-- Johan
-- Ozgur Akgun
participants (3)
-
Johan Tibell
-
Ozgur Akgun
-
Sebastian Fischer