Skip to content

Instantly share code, notes, and snippets.

@Wizek
Last active August 28, 2018 01:40
Show Gist options
  • Save Wizek/2f24f8e3c3763ddf292da82bc2cc3f9d to your computer and use it in GitHub Desktop.
Save Wizek/2f24f8e3c3763ddf292da82bc2cc3f9d to your computer and use it in GitHub Desktop.
$ stack install stack-run
terminfo-0.4.1.0: configure
hslogger-1.2.10: configure
hslogger-1.2.10: build
hslogger-1.2.10: copy/register
Progress 2/5
-- While building custom Setup.hs for package terminfo-0.4.1.0 using:
/tmp/stack19043/terminfo-0.4.1.0/.stack-work/dist/x86_64-linux/Cabal-1.24.2.0/setup/setup --builddir=.stack-work/dist/x86_64-linux/Cabal-1.24.2.0 configure --with-ghc=/home/wizek/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc --with-ghc-pkg=/home/wizek/.stack/programs/x86_64-linux/ghc-8.0.2/bin/ghc-pkg --user --package-db=clear --package-db=global --package-db=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/pkgdb --libdir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/lib --bindir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/bin --datadir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/share --libexecdir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/libexec --sysconfdir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/etc --docdir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/doc/terminfo-0.4.1.0 --htmldir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/doc/terminfo-0.4.1.0 --haddockdir=/home/wizek/.stack/snapshots/x86_64-linux/lts-9.14/8.0.2/doc/terminfo-0.4.1.0 --dependency=base=base-4.9.1.0
Process exited with code: ExitFailure 1
Logs have been written to: /home/wizek/.stack/global-project/.stack-work/logs/terminfo-0.4.1.0.log
Configuring terminfo-0.4.1.0...
configure: WARNING: unrecognized options: --with-compiler
checking for gcc... /usr/bin/gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc accepts -g... yes
checking for /usr/bin/gcc option to accept ISO C89... none needed
checking for setupterm in -ltinfo... no
checking for setupterm in -lncursesw... no
checking for setupterm in -lncurses... no
checking for setupterm in -lcurses... no
configure: error: in `/tmp/stack19043/terminfo-0.4.1.0':
configure: error: curses library not found, so this package cannot be built
See `config.log' for more details
@Wizek
Copy link
Author

Wizek commented Aug 28, 2018

solution: sudo apt install libtinfo-dev NixOS/nixpkgs#15995 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment