Subject: Re: pkgsrc install of vim
To: NetBSD users <netbsd-users@netbsd.org>
From: Sam Carleton <scarleton-netbsdusers@miltonstreet.com>
List: netbsd-users
Date: 02/20/2004 11:32:13
Never mind, I abanded pkgsrc and simply compiled and
installed the source from ftp.vim.org

On Fri, Feb 20, 2004 at 07:51:42AM -0500, Sam Carleton wrote:
> On Wed, Feb 18, 2004 at 09:28:39AM +0000, Ove Soerensen wrote:
> > hi,
> > 
> > substitute --with-tlib=curses for --with-tlib=ncurses in
> > pkgsrc/editors/vim/Makefile. worked for me.
> 
> Ok, I tried that but the Makefile in pkgsrc/editors/vim had the
> correct --with-tlib=curses.  I did find --with-tlib=curses in
> pkgsrc/editors/vim/work/vim62/src/Makefile, so I changed that to
> --with-tlib=ncurses.  When I recompiled I got this error:
> 
> ===> Building for vim-6.2.0nb2
> mkdir objects
> CC="gcc -Iproto -DHAVE_CONFIG_H   -I/usr/pkg/include  -O2 -I/usr/pkg/include       " srcdir=. sh ./osdef.sh
> gcc -c -I. -Iproto -DHAVE_CONFIG_H   -I/usr/pkg/include  -O2 -I/usr/pkg/include        -o objects/buffer.o buffer.c
> In file included from buffer.c:29:
> vim.h:39: parse error before `:'
> In file included from os_unix.h:28,
>                  from vim.h:186,
>                  from buffer.c:29:
> /usr/include/sys/types.h:56: parse error before `int8_t'
> /usr/include/sys/types.h:56: warning: data definition has no type or storage class
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/editors/vim/work/vim62/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/editors/vim
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/editors/vim