Majian wrote: > Hi, all: > > Running make gives me the following *error * when I try to build *Vim* 7.2 > > [r...@foo vim72]# make > Starting make in the src directory. > If there are problems, cd to the src directory and run make there > cd src && make first > make[1]: Entering directory `/opt/vim72/src' > gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK > -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 > -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 > -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 > -I/usr/include/libpng12 -g -O2 -o objects/os_unix.o os_unix.c > os_unix.c:45:30: error: selinux/selinux.h: No such file or directory > os_unix.c: In function ‘mch_copy_sec’: > os_unix.c:2615: error: ‘security_context_t’ undeclared (first use in > this function) > os_unix.c:2615: error: (Each undeclared identifier is reported only once > os_unix.c:2615: error: for each function it appears in.) > os_unix.c:2615: error: expected ‘;’ before ‘from_context’ > os_unix.c:2616: error: expected ‘;’ before ‘to_context’ > os_unix.c:2618: error: ‘from_context’ undeclared (first use in this > function) > os_unix.c:2631: error: ‘to_context’ undeclared (first use in this function) > make[1]: *** [objects/os_unix.o] Error 1 > make[1]: Leaving directory `/opt/vim72/src' > make: *** [first] Error 2 > > > Is it the os_unix.c file error? BTM , My laptop OS is CentOS 5.4 i686 > Any help with this problem would be very appreciated ... > > > Thanks in advance ~
perhaps add --disable-selinux Don't check for SELinux support. to the configure command --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
