[Midnight Commander] #4461: Build failed if ncurses used without --with-ncurses-includes= configure parameter

0 views
Skip to first unread message

Ticket System

unread,
May 19, 2023, 2:11:26 PM5/19/23
to karl...@gmail.com, mc-...@googlegroups.com
#4461: Build failed if ncurses used without --with-ncurses-includes= configure
parameter
--------------------------------+-------------------------------
Reporter: karlson2k | Type: defect
Status: new | Priority: major
Milestone: Future Releases | Component: mc-core
Version: master | Keywords:
Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------------+-------------------------------
If ncurses location is not specified by configure parameters like '--with-
ncurses-includes=/some/dir' then automatic detection at compiler/system
default location is used in configure.
With automatic detection the header 'ncurses/term.h' is not checked
therefore macro HAVE_NCURSES_TERM_H is not defined.

This leads to inclusion of system <term.h> which is not compatible with
ncurses headers.

This simple fix is just addition of ncurses/term.h header detection to
configure.

The suggested fix: https://github.com/MidnightCommander/mc/pull/186

--
Ticket URL: <http://www.midnight-commander.org/ticket/4461>
Midnight Commander <https://midnight-commander.org>
Midnight Development Center

Ticket System

unread,
May 19, 2023, 2:14:27 PM5/19/23
to karl...@gmail.com, mc-...@googlegroups.com
#4461: Build failed if ncurses used without --with-ncurses-includes= configure
parameter
--------------------------+---------------------------------------
Reporter: karlson2k | Owner:

Type: defect | Status: new
Priority: major | Milestone: Future Releases
Component: mc-core | Version: master
Resolution: | Keywords:

Blocked By: | Blocking:
Branch state: no branch | Votes for changeset:
--------------------------+---------------------------------------

Comment (by karlson2k):

PLEASE DELETE
The duplicate of https://midnight-commander.org/ticket/4462

--
Ticket URL: <http://www.midnight-commander.org/ticket/4461#comment:1>

Reply all
Reply to author
Forward
0 new messages