[vim/vim] configure: error: failed to compile test program. (Issue #11246)

83 views
Skip to first unread message

OldWorldOrdr

unread,
Sep 28, 2022, 2:52:24 PM9/28/22
to vim/vim, Subscribed

Steps to reproduce

cross compile

i used this toolchain

configure command: vim_cv_toupper_broken="set" vim_cv_terminfo="set" ./configure --host=arm-apple-darwin11 --with-tlib=ncurses

Expected behaviour

normal build

wasnt sure where to go for support so if theres a better place like a discord or something lmk

Version of Vim

9.0.0618

Environment

arch linux under wsl on windows 11
windows terminal
$TERM=xterm-256color
zsh 5.9

Logs and stack traces

No response


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/11246@github.com>

lacygoill

unread,
Sep 28, 2022, 3:08:33 PM9/28/22
to vim/vim, Subscribed

What's the contents of the file ./src/auto/config.log?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/11246/1261351429@github.com>

OldWorldOrdr

unread,
Sep 28, 2022, 3:21:25 PM9/28/22
to vim/vim, Subscribed

@lacygoill
config.log


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/11246/1261365767@github.com>

lacygoill

unread,
Sep 28, 2022, 3:36:20 PM9/28/22
to vim/vim, Subscribed

Issue #2058 seems similar.

Does replacing --with-tlib=ncurses with --with-tlib=tinfo help?

I found the same issue when compile the vim as well. Here is my solution:
--with-tlib=ncurses should replace by --with-tlib=tinfo . libtinfo was generated from ncurses when you add the --with-termlib whilecompiling ncurse

source


Alternatively, does setting vim_cv_tgetent to zero help?

vim_cv_tgetent=zero

I have experienced the same issue while building Vim 8.1 through Yocto/OE recipe as well as for Buildroot. The solution was to add:

 vim_cv_tgetent=zero

source


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/11246/1261381382@github.com>

OldWorldOrdr

unread,
Sep 28, 2022, 4:00:34 PM9/28/22
to vim/vim, Subscribed

Closed #11246 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/11246/issue_event/7481073324@github.com>

OldWorldOrdr

unread,
Sep 28, 2022, 4:00:34 PM9/28/22
to vim/vim, Subscribed

vim_cv_tgetent=zero worked

the final configure command was:
vim_cv_memcpy_handles_overlap=set vim_cv_bcopy_handles_overlap=set vim_cv_memmove_handles_overlap=set vim_cv_stat_ignores_slash=set vim_cv_timer_create=set vim_cv_getcwd_broken=set vim_cv_toupper_broken="set" vim_cv_terminfo="set" vim_cv_tgetent=zero ./configure --host=arm-apple-darwin11 --with-tlib=ncurses


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/11246/1261404040@github.com>

Reply all
Reply to author
Forward
0 new messages