On Tue, Nov 22, 2011 at 11:24:57AM +0100, Marcus Meissner wrote:
On Tue, Nov 22, 2011 at 02:21:37PM +0400, Ilya Chernykh wrote:
On Tuesday 22 November 2011 13:51:01 Stephan Kulow wrote:
This is not about voting. This is about people taking care sysvinit does not bitrot while systemd gets all the development and bug fixes for things people see.
You can vote as much as you like, but in open source projects those that pull stronger on one end win most of the times. Unless of course enough people find themselves pulling at the other end.
For example in this case just adding -ltinfo does not help:
gcc -L/usr/lib/qt3/lib -L/opt/kde3/lib -L/usr/lib -lkdecore -lkdeui -lkio -lqt-mt -lkparts -lDCOP -ldl -lstdc++ -ltinfo -lncurses -Wl,-Bsymbolic-functions -L/usr/local/lib -o vim objects/buffer.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/gui.o objects/pty.o objects/gui_kde.o objects/gui_kde_x11.o objects/gui_kde_widget.o objects/gui_kde_widget_moc.o objects/kvim_iface_skel.o objects/netbeans.o objects/version.o -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lnsl -lncurses -lacl -lattr -ldl objects/os_unix.o: In function `mch_set_shellsize': /home/abuild/rpmbuild/BUILD/kvim-6.3/src/os_unix.c:3178: undefined reference to `term_set_winsize' collect2: ld returned 1 exit status
It needs to be added after -lncurses
Nevertheless the function `term_set_winsize' seems not to be part of ncurses: werner/ncurses> grep -rsi term_set_winsize /usr/include/ncurses/ werner/ncurses> for configuration with ncurses pleas have a look at /usr/share/doc/packages/ncurses/README.devel beside this libtinfo is mentioned in the INSTALL file of ncurses its self to be able to resolve the conflict between e.g. terminfo functions like tgetent() and the ncurses API its self with normal and wide character support as libtinfo for both normal and wide character support are binary compatible. As libreadline requires terminfo functions (nm -D /lib/libreadline.so.6.2 shows at least tgetent, tgetflag, tgetnum, tgetstr, and tgoto) and there are programs like Phyton with wide character support requiring libncursesw and for line editing support the libreadline, this split was required. For all programs only relying on tgetent, tgetflag, tgetnum, tgetstr, tgoto, ... should modify the configure.in lines like AC_SEARCH_LIBS(tgetent, termlib termcap curses ncurses) into AC_SEARCH_LIBS(tgetent, termlib termcap tinfo curses ncurses) and run autoreconf. For bash and tcsh I've done this. Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org