awgn/cgrep

Can't build

joehillen opened this issue · 1 comments

$ make
make[1]: Entering directory '/home/joe/src/cgrep/src'
ghc --make -hide-package bytestring-0.10.0.2 -O2 -Wall -threaded -rtsopts -with-rtsopts="-A64M -N" -cpp Main.hs -o ../bin/cgrep
<command line>: cannot satisfy -hide-package bytestring-0.10.0.2
    (use -v for more information)
Makefile:23: recipe for target 'cgrep' failed
make[1]: *** [cgrep] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/home/joe/src/cgrep/src'
Makefile:12: recipe for target 'src' failed
make: *** [src] Error 2
 2 
$ cabal install bytestring
Resolving dependencies...
All the requested packages are already installed:
bytestring-0.10.4.0
Use --reinstall if you want to reinstall anyway.

You should probably use cabal instead of make.

awgn commented

Yes, absolutely. It's something planned for the near future. In the meanwhile, try removing the -hide-package bytestring from ghc command line in the Makefile.
You can also try the binary packages available for Debian Jessie and Wheezy :-)