[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-moe] moe failed to build against ncurses with tinfo option enab
From: |
Antonio Diaz Diaz |
Subject: |
Re: [Bug-moe] moe failed to build against ncurses with tinfo option enabled |
Date: |
Tue, 04 Nov 2014 02:33:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Hello Mikle,
Mikle Kolyada wrote:
Hello guys, we found buildfailure that happens if moe builds with
ncurses tinfo option enabled.
It is fixed by me in gentoo https://bugs.gentoo.org/show_bug.cgi?id=527590
Please look into small patch attached below
There is something very wrong here. Your patch fails to build on my two
machines:
g++ -Wall -W -O2 -o moe arg_parser.o basic_buffer.o block.o buffer.o
buffer_handle.o encoding.o iso_8859.o menu_file.o menu_help.o
menu_opts.o rc.o regex.o screen.o window.o window_vector.o main.o
-lncurses -ltinfo
/usr/lib/gcc-lib/i486-slackware-linux/3.3.6/../../../../i486-slackware-linux/bin/ld:
cannot find -ltinfo
collect2: ld returned 1 exit status
make: *** [moe] Error 1
If I have understood the problem correctly, compiling ncurses with the
tinfo option enabled (do you mean --with-termlib?), splits libncurses in
two libraries; libncurses and libtinfo. OK?
I think that such "libtinfo split" should be transparent to client
programs. If it is not, I think all I can do is to document the problem
in INSTALL.
Best regards,
Antonio.