Compiling vim on Solaris
The following notes detail my attempts to compile vim 6.3 on Sparc Solaris 2.6, Solaris
Solaris 8 systems using the gcc
I cannot successfully compile vim
6.3 on a Solaris 2.6 system. Sunfreeware
has a vim package for this
platform; you will also need to download and install the Sunfreeware glib and gtk+ packages to use the
Sunfreeware vim package.
vim 6.3 compiles successfully using
the standard ./configure;make;make
install procedure on 32-bit Solaris 7 systems using the gcc compiler.
32-bit sparc applications
32-bit sparc kernel modules
I received the following errors when compiling vim on a 64-bit Solaris 8 system:
Starting make in the src
If there are problems, cd to the
src directory and run make there
cd src && make first
make: Entering directory
gcc -c -I. -Iproto
-DHAVE_CONFIG_H -DFEAT_GUI_MOTIF -I/usr/dt/include -g
-O2 -o objects/buffer.o
In file included from buffer.c:29:
vim.h:40: parse error before ':'
In file included from
parse error before "__gnuc_va_list"
make: *** [objects/buffer.o]
make: Leaving directory
make: *** [first] Error 2
64-bit sparcv9 applications
64-bit sparcv9 kernel modules
To successfully compile vim
on a 64-bit Solaris 8 system, use the -m64 flag with gcc to generate code for a 64-bit
CC="gcc -m64" ./configure
Back to brandonhutchinson.com.
Last modified: 12/28/2004