Subject: vim and ncurses
To: None <tech-pkg@netbsd.org>
From: Martti Kuparinen <martti.kuparinen@iki.fi>
List: tech-pkg
Date: 02/05/2002 14:58:12
Hi!
I've been trying to figure out what's wrong with vim on
mac68k (pkg/15160). The problem is that vim-share (which
doesn't buildlink ncurses) works just fine while vim
(which buildlinks ncurses) can't link one test program.
The failing command is:
configure:6214: cc -o conftest -I/usr/pkgsrc/editors/vim/work/.buildlink/include -O2 -m68040 -I/usr/pkgsrc/editors/vim/work/.buildlink/include -L/usr/pkgsrc/editors/vim/work/.buildlink/lib -Wl,-R/usr/pkg/lib -L/usr/local/lib conftest.c -lncurses 1>&5
The .buildlink/lib directory contains the proper symlinks so
it's not about missing libs (I think).
libncurses.a -> /usr/lib/libcurses.a
libncurses.so -> /usr/lib/libcurses.so
libncurses.so.3 -> /usr/lib/libcurses.so.3
libncurses.so.3.6 -> /usr/lib/libcurses.so.3.6
libncurses.so.5 -> /usr/lib/libcurses.so.5
libncurses.so.5.0 -> /usr/lib/libcurses.so.5.0
It looks like vim-share links with -ltermlib while vim uses
-lncurses. Use of -lncurses makes the configuration test fail.
Any ideas? I can't see this on i386 or sparc64...
Martti
---
Martti Kuparinen <martti.kuparinen@iki.fi> NetBSD - No media hype
http://www.iki.fi/~kuparine/ http://www.netbsd.org/