I am trying to compile one of my executable files with profiling options. I added the -prof options to my cabal file. When I do this, I get a message that
Could not find module 'Package-X' Perhaps you haven't installed the profiling libraries for package 'package-x'? Use -v to see a list of the files searched for.
How can I do it? I tried cabal install --only-dependency --reinstall and got the following answer:
All the requested packages are already installed: Use
I already used --reinstall , what should I do? I also tried cabal configure --enable-profiling-libraries , etc.
mb14 source share