I'm trying to compile one of my executables with profiling options. I added the -prof
options in my cabal file. When I do that, I get a message saying
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 do I do that? I tried cabal install --only-dependency --reinstall
and I get the following response :
All the requested packages are already installed:
Use --reinstall if you want to reinstall anyway.
I already used --reinstall
what should I do ? I also tried cabal configure --enable-profiling-libraries
etc ...