Subject: pkgsrc install of vim
To: NetBSD users <netbsd-users@netbsd.org>
From: Sam Carleton <scarleton-netbsdusers@miltonstreet.com>
List: netbsd-users
Date: 02/17/2004 22:46:48
I am trying to install vim from pkgsrc and I getting
errors: 

----------------------------------------------------------
===> 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
----------------------------------------------------------

Does anyone have any idea what the correct fix is for this?

Sam