Paul Stuart wrote:
Hi there,
I'm having some problems compiling vim 7 on solaris 8, and I'd
really appreciate it if someone could point me in the right direction.
Here is the error I'm getting :
make[1]: Entering directory `/export/home/pstuart/R42014/src/vim70/src'
gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_MOTIF  -I/usr/dt/include
-g -O2  -I/usr/openwin/include        -o objects/buffer.o buffer.c
In file included from buffer.c:28:
vim.h:41: parse error before `:'
In file included from /usr/include/stdio.h:22,
                 from os_unix.h:21,
                 from vim.h:233,
                 from buffer.c:28:
/usr/include/iso/stdio_iso.h:186: parse error before `__va_list'
/usr/include/iso/stdio_iso.h:187: parse error before `__va_list'
/usr/include/iso/stdio_iso.h:188: parse error before `__va_list'
In file included from os_unix.h:21,
                 from vim.h:233,
                 from buffer.c:28:
/usr/include/stdio.h:227: parse error before `__va_list'
In file included from /usr/include/wchar.h:11,
                 from /usr/include/wctype.h:20,
                 from vim.h:435,
                 from buffer.c:28:
/usr/include/iso/wchar_iso.h:191: parse error before `__va_list'
/usr/include/iso/wchar_iso.h:192: parse error before `__va_list'
/usr/include/iso/wchar_iso.h:193: parse error before `__va_list'
[huge company disclaimer snipped]

I'm setting followups (or trying to) to the vim-dev list which is where this kind of query belongs. (Since you're compiling Vim, if you haven't yet subscribed to the vim-dev list, you should.)

The first error mentioned (at vim:h:41) is part of the following:
# if (SIZEOF_INT == 0)
    Error: configure did not run properly.  Check auto/config.log.
# endif

So what does your config.log say? Have you got one? Did configure not run at 
all?

Try setting configure options (as shown e.g. at http://users.skynet.be/antoine.mechelynck/vim/compunix.htm ) then doing (for instance)

source myenviro
cd src
make reconfig >../make.log 2>&1
tail ../make.log
./vim --version |head

If it looks OK this time, you can then "make install".


Next time, please include a line containing only two minuses followed by a space (known as a "signature separator") somewhere before the company disclaimer, so that mailers which (like mine) know about signatures can print it in lightgrey and auto-strip it on reply.

Best regards,
Tony.
--
If God is perfect, why did He create discontinuous functions?

Reply via email to