lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
990 stars 94 forks source link

Unable to compile calcurse on Ubuntu 18.04 #453

Open fi-do opened 1 year ago

fi-do commented 1 year ago

Version information: calcurse 4.8.0 Ubuntu 18.04 gcc 7.5.0

Bug description: I try to compile calcurse from the source code. In order to do that, I installed libncurses5. After the configuration step, when executing make, I get the following error: `In file included from calcurse.c:39:0: calcurse.h:49:2: error: #error "Missing ncurses header. Aborting..."

error "Missing ncurses header. Aborting..."

` Checking with 'locate ncurses' I am able to find some related files at:

Reproduce:

download https://www.calcurse.org/files/calcurse-4.8.0.tar.gz
unpack calcurse-4.8.0.tar.gz
cd calcurse-4.8.0
sudo apt-get install libncurses5-dev libncursesw5-dev
./configure
make

Expected Behavior: Compile source code

Screenshots: Configure Output Make Output

Thanks in advance, fi-do

lfos commented 1 year ago

Have you tried installing libncurses5-dev?

pmodin commented 7 months ago

I also got a ncurses error when trying to build (Ubuntu, plus debian and arch via docker), but after reverting bea73492114c95149733405205483ce56d11125a and wondering why it worked I found out that I was missing autoconf-archive :facepalm:

$ ./configure
[...]
0.889 ./configure: line 8354: AX_WITH_CURSES: command not found
0.889 configure: error: Either ncurses or ncursesw library is required to build calcurse!

Installing autoconf-archive made everything compile just fine.