rob897
January 25th, 2004, 22:42
I was trying to do a portupgrade on vim and no matter what I do it keeps failing here:
[code:1:92d8dd590b]===> Building for vim-6.2.154
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -I/usr/X11R6/include/gtk12 -I/usr/local/include/glib12 -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -O -pipe -mcpu=pentiumpro -mcpu=pentiumpro -I/usr/X11R6/include -o objects/buffer.o buffer.c
In file included from os_unix.h:57,
from vim.h:186,
from buffer.c:29:
/usr/local/include/libc.h:33: error: syntax error before "Rune"
/usr/local/include/libc.h:34: error: syntax error before '*' token
*** Error code 1

Stop in /usr/ports/editors/vim/work/vim62/src.
*** Error code 1

Stop in /usr/ports/editors/vim.[/code:1:92d8dd590b]

Any ideas?

molotov
January 27th, 2004, 18:54
Do you use the X version of vim or just the console version? If just the console, try building it w/o X11 support (no_x11 if I remember correctly), see if that helps.

socomm
January 27th, 2004, 19:17
Have you tried pkg_add -r vim? Vim 6.2 compiled/installed just fine on FreeBSD 5.2-current for me, though I keep my ports tree up to date, might wanna give cvsup a shot.

Good luck.