Subject: Re: pkgsrc install of vim
To: None <netbsd-users@netbsd.org>
From: Andreas Kahari <ak+netbsd@freeshell.org>
List: netbsd-users
Date: 02/18/2004 14:57:58
On Tue, Feb 17, 2004 at 10:46:48PM -0500, Sam Carleton wrote:
> I am trying to install vim from pkgsrc and I getting
> errors: 

I got exactly the same thing, but since I was using a freshly
installed NetBSD-1.6.1/sparc64 (the release from April last
year) together with a newly checked out pkgsrc I thought I had
to rebuild the system (kernel, gcc etc.) to get everything in
sync before I could expect things to work properly.


Andreas


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

-- 
Andreas Kähäri                      |<><>|
                                    |><><|
East Anglia                         |<><>|
England                             |><><|