[GH-ISSUE #56] Build nmail on KISS Linux #54

Closed
opened 2026-03-03 01:19:25 +03:00 by kerem · 2 comments
Owner

Originally created by @Vouivre on GitHub (Nov 9, 2020).
Original GitHub issue: https://github.com/d99kris/nmail/issues/56

Originally assigned to: @d99kris on GitHub.

Hello,

I would like to test nmail on KISS Linux. The build fails with:

-- Looking for wsyncup in /usr/lib/libcurses.so - found
-- Looking for cbreak in /usr/lib/libncursesw.so
-- Looking for cbreak in /usr/lib/libncursesw.so - found
CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message):
  Could NOT find Curses (missing: CURSES_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.18/Modules/FindCurses.cmake:262 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:103 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/user/.cache/kiss/proc/20897/build/nmail/build/CMakeFiles/CMakeOutput.log".
-> nmail Build failed

I assume something is missing from ncurses. The packages libncurses-dev doesn't exists in this distribution. But there is a packages with the following files: http://pastebin.fr/72049

Which files are missing ? Or perhaps there is a path problem.

Thank you!

Originally created by @Vouivre on GitHub (Nov 9, 2020). Original GitHub issue: https://github.com/d99kris/nmail/issues/56 Originally assigned to: @d99kris on GitHub. Hello, I would like to test `nmail` on KISS Linux. The build fails with: ``` -- Looking for wsyncup in /usr/lib/libcurses.so - found -- Looking for cbreak in /usr/lib/libncursesw.so -- Looking for cbreak in /usr/lib/libncursesw.so - found CMake Error at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:165 (message): Could NOT find Curses (missing: CURSES_INCLUDE_PATH) Call Stack (most recent call first): /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:458 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.18/Modules/FindCurses.cmake:262 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:103 (find_package) -- Configuring incomplete, errors occurred! See also "/home/user/.cache/kiss/proc/20897/build/nmail/build/CMakeFiles/CMakeOutput.log". -> nmail Build failed ``` I assume something is missing from `ncurses`. The packages `libncurses-dev` doesn't exists in this distribution. But there is a packages with the following files: http://pastebin.fr/72049 Which files are missing ? Or perhaps there is a path problem. Thank you!
kerem closed this issue 2026-03-03 01:19:25 +03:00
Author
Owner

@d99kris commented on GitHub (Nov 16, 2020):

Hello @Vouivre -

It seems KISS Linux installs ncurses without separate widechar headers (i.e. there is no /usr/include/ncursesw directory).

This can be worked around by applying the attached patch to nmail:
git apply ~/kiss-nmail-ncurses.patch.txt

When I tried building nmail under KISS Linux, I also encountered some minor problems in nmail, which I addressed in commit c77a08f - so please use latest master.

For the record I used the following steps to build and install nmail and its dependencies in my KISS Linux installation:

# Xapian
cd
wget https://oligarchy.co.uk/xapian/1.4.17/xapian-core-1.4.17.tar.xz
tar xf xapian-core-1.4.17.tar.xz
cd xapian-core-1.4.17
./configure
make
make install

# SQLite
kiss b sqlite
kiss i sqlite

# Libetpan
kiss b cyrus-sasl
kiss i cyrus-sasl
kiss b libtool
kiss i libtool
kiss b autoconf
kiss i autoconf
kiss b automake
kiss i automake
cd
wget https://github.com/dinhvh/libetpan/archive/1.9.4.tar.gz
tar xvf 1.9.4.tar.gz
cd libetpan-1.9.4/
./autogen.sh
make
make install

# nmail
cd
git clone https://github.com/d99kris/nmail
cd nmail
git apply ~/kiss-nmail-ncurses.patch.txt
mkdir -p build && cd build && cmake .. && make -s
make install

Please let me know if you still encounter any build issues.

kiss-nmail-ncurses.patch.txt

<!-- gh-comment-id:727831734 --> @d99kris commented on GitHub (Nov 16, 2020): Hello @Vouivre - It seems KISS Linux installs ncurses without separate widechar headers (i.e. there is no /usr/include/ncursesw directory). This can be worked around by applying the attached patch to `nmail`: ```git apply ~/kiss-nmail-ncurses.patch.txt``` When I tried building `nmail` under KISS Linux, I also encountered some minor problems in `nmail`, which I addressed in commit c77a08f - so please use latest master. For the record I used the following steps to build and install `nmail` and its dependencies in my KISS Linux installation: ``` # Xapian cd wget https://oligarchy.co.uk/xapian/1.4.17/xapian-core-1.4.17.tar.xz tar xf xapian-core-1.4.17.tar.xz cd xapian-core-1.4.17 ./configure make make install # SQLite kiss b sqlite kiss i sqlite # Libetpan kiss b cyrus-sasl kiss i cyrus-sasl kiss b libtool kiss i libtool kiss b autoconf kiss i autoconf kiss b automake kiss i automake cd wget https://github.com/dinhvh/libetpan/archive/1.9.4.tar.gz tar xvf 1.9.4.tar.gz cd libetpan-1.9.4/ ./autogen.sh make make install # nmail cd git clone https://github.com/d99kris/nmail cd nmail git apply ~/kiss-nmail-ncurses.patch.txt mkdir -p build && cd build && cmake .. && make -s make install ``` Please let me know if you still encounter any build issues. [kiss-nmail-ncurses.patch.txt](https://github.com/d99kris/nmail/files/5545124/kiss-nmail-ncurses.patch.txt)
Author
Owner

@Vouivre commented on GitHub (Nov 16, 2020):

You installed all the packages? Awesome, thank you very much!

Yes, I can build it now, 👍. Thank you!

<!-- gh-comment-id:728101381 --> @Vouivre commented on GitHub (Nov 16, 2020): You installed all the packages? Awesome, thank you very much! Yes, I can build it now, :+1:. Thank you!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nmail#54
No description provided.