invicnaper / cmus-youtube

A patch that allows you to download and play youtube songs using cmus
48 stars 4 forks source link

configure failed - Installation #6

Open ooyendyk opened 4 years ago

ooyendyk commented 4 years ago

When I run the ./configure command during installation I get the a configure failed error:

user:cmus$ ./configure checking for program gcc... /usr/bin/gcc checking for program gcc... /usr/bin/gcc checking for C11 (with atomics support)... yes checking for CFLAGS -pipe -Wall -Wshadow -Wcast-align -Wpointer-arith -Wwrite-strings -Wundef -Wmissing-prototypes -Wredundant-decls -Wextra -Wno-sign-compare -Wformat-security... yes checking for CFLAGS -Wold-style-definition... yes checking for CFLAGS -Wno-pointer-sign... yes checking for CFLAGS -Werror-implicit-function-declaration... yes checking for CFLAGS -Wno-unused-parameter... yes checking for CFLAGS -Wno-missing-field-initializers... yes checking if CC can generate dependency information... yes checking byte order... little-endian checking for DL_LIBS (-ldl -Wl,--export-dynamic)... yes checking for PTHREAD_LIBS (-lpthread)... yes checking for realtime scheduling... yes checking for program pkg-config... /usr/bin/pkg-config checking for NCURSES_LIBS (pkg-config)... no checking for NCURSES_LIBS (-lncursesw)... no checking for NCURSES_LIBS (pkg-config)... no checking for NCURSES_LIBS (-lncurses)... no checking for NCURSES_LIBS (pkg-config)... no checking for NCURSES_LIBS (-lcurses)... no configure failed.

This is fixed by running sudo apt-get install libncurses5-dev.

I'm opening this issue in case another user has this issue. Also, I'm not sure if it's worth while, but I'll be make a PR with an updated readme.