Opened 4 years ago

Closed 4 years ago

#61212 closed defect (fixed)

vim fails to configure, tgetent() not found

Reported by: hellhovnd (Jean-Pierre Chauvel) Owned by: raimue (Rainer Müller)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc:
Port: vim

Description

:info:configure checking for linking with ncurses library... OK
:info:configure checking for tgetent()... configure: error: NOT FOUND!
:info:configure       You need to install a terminal library; for example ncurses.
:info:configure       Or specify the name of the library with --with-tlib.

I successfully compiled all the dependencies for this variant: +cscope+gtk3+huge+lua+perl+python27+python37+tcl+x11+xim

Attachments (3)

main.log (782.1 KB) - added by hellhovnd (Jean-Pierre Chauvel) 4 years ago.
main.2.log (48.8 KB) - added by ve3m 4 years ago.
ncurses_main.log (377.0 KB) - added by MacMittwoch (MacMittwoch) 4 years ago.

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by hellhovnd (Jean-Pierre Chauvel)

Attachment: main.log added

comment:1 Changed 4 years ago by hellhovnd (Jean-Pierre Chauvel)

Summary: vim fails to configure, getent() not foundvim fails to configure, tgetent() not found

Changed 4 years ago by ve3m

Attachment: main.2.log added

comment:2 Changed 4 years ago by mf2k (Frank Schima)

Cc: raimue@… removed
Milestone: MacPorts 2.7.0
Owner: set to raimue
Status: newassigned

comment:3 Changed 4 years ago by MacMittwoch (MacMittwoch)

I have the same problem and it will not be solved with the described variants "+cscope+gtk3+huge+lua+perl+python27+python37+tcl+x11+xim".

From my point of view the file ncurses is missing. I found only the file ncurses6-config in /opt/local/bin. Additional point is, that the ncurses log file shows an error to download the ncurses-bootstrap source. A direct port install of ncurses-bootstrap shows similar errors.

Changed 4 years ago by MacMittwoch (MacMittwoch)

Attachment: ncurses_main.log added

comment:4 Changed 4 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: assignedclosed

In 69c4040cc9369accab4e0e5899cf7249f23ba931/macports-ports (master):

vim: Fix build with Xcode 12

Apple clang in Xcode 12 treats implicit function declarations as an
error, which causes the check for ncurses to fail. Apply the upstream
patch for this problem as a backport.

No revision bump as it was only a build failure.

Closes: #61212

Note: See TracTickets for help on using tickets.