Hi guys, I come to you again... tryed to install vim at worked on a OLDDDD red hat distribution. After a lot of work by boss and I manage to have config and make run, however we had to configure with following options : ./configure --with-features=huge --disable-selinux then doing make buils vim but vim -g don't work, I get this horrible E25: GUI cannot be used: Not enabled at compile time.
I can only guess that this comes from --disable-selinux... Could you confirm me this ? do you see a workarounnd ? I can paste my log : $ ./configure --with-features=huge --disable-selinux configure: loading cache auto/config.cache checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for library containing strerror... (cached) none required checking for gawk... (cached) gawk checking for strip... (cached) strip checking for ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes configure: checking for buggy tools... - sh is 'GNU bash, version 3.2.25(1)-release (x86_64-redhat-linux-gnu) Copyright (C) 2005 Free Software Foundation, Inc.' - probably OK. - sed is 'GNU sed version 4.1.5 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE, to the extent permitted by law.'. checking for BeOS... no checking for QNX... no checking for Darwin (Mac OS X)... no checking --with-local-dir argument... Defaulting to /usr/local checking --with-vim-name argument... Defaulting to vim checking --with-ex-name argument... Defaulting to ex checking --with-view-name argument... Defaulting to view checking --with-global-runtime argument... no checking --with-modified-by argument... no checking if character set is EBCDIC... no checking --disable-selinux argument... yes checking --with-features argument... huge checking --with-compiledby argument... no checking --disable-xsmp argument... no checking --disable-xsmp-interact argument... no checking --enable-luainterp argument... no checking --enable-mzschemeinterp argument... no checking --enable-perlinterp argument... no checking --enable-pythoninterp argument... no checking --enable-python3interp argument... no checking --enable-tclinterp argument... no checking --enable-rubyinterp argument... no checking --enable-cscope argument... no checking --enable-workshop argument... no checking --disable-netbeans argument... no checking for socket in -lsocket... (cached) no checking for gethostbyname in -lnsl... (cached) yes checking whether compiling netbeans integration is possible... yes checking --enable-sniff argument... no checking --enable-multibyte argument... no checking --enable-hangulinput argument... no checking --enable-xim argument... defaulting to auto checking --enable-fontset argument... no checking for xmkmf... no checking for X... (cached) no checking if X11 header files can be found... no checking --enable-gui argument... no GUI support checking for X11/SM/SMlib.h... (cached) no checking whether toupper is broken... (cached) no checking whether __DATE__ and __TIME__ work... yes checking whether __attribute__((unused)) is allowed... yes checking for elf.h... (cached) yes checking for main in -lelf... (cached) no checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for stdarg.h... (cached) yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/select.h... (cached) yes checking for sys/utsname.h... (cached) yes checking for termcap.h... (cached) no checking for fcntl.h... (cached) yes checking for sgtty.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for termio.h... (cached) yes checking for iconv.h... (cached) yes checking for inttypes.h... (cached) yes checking for langinfo.h... (cached) yes checking for math.h... (cached) yes checking for unistd.h... (cached) yes checking for stropts.h... (cached) yes checking for errno.h... (cached) yes checking for sys/resource.h... (cached) yes checking for sys/systeminfo.h... (cached) no checking for locale.h... (cached) yes checking for sys/stream.h... (cached) no checking for termios.h... (cached) yes checking for libc.h... (cached) no checking for sys/statfs.h... (cached) yes checking for poll.h... (cached) yes checking for sys/poll.h... (cached) yes checking for pwd.h... (cached) yes checking for utime.h... (cached) yes checking for sys/param.h... (cached) yes checking for libintl.h... (cached) yes checking for libgen.h... (cached) yes checking for util/debug.h... (cached) no checking for util/msg18n.h... (cached) no checking for frame.h... (cached) no checking for sys/acl.h... (cached) no checking for sys/access.h... (cached) no checking for sys/sysinfo.h... (cached) yes checking for wchar.h... (cached) yes checking for wctype.h... (cached) yes checking for sys/ptem.h... (cached) no checking for sys/sysctl.h... (cached) yes checking for pthread_np.h... no checking for strings.h... (cached) yes checking if strings.h can be included after string.h... yes checking whether gcc needs -traditional... (cached) no checking for an ANSI C-conforming const... (cached) yes checking for working volatile... (cached) yes checking for mode_t... (cached) yes checking for off_t... (cached) yes checking for pid_t... (cached) yes checking for size_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for uint32_t... (cached) yes checking whether time.h and sys/time.h may both be included... (cached) yes checking for ino_t... (cached) yes checking for dev_t... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for rlim_t... (cached) yes checking for stack_t... (cached) yes checking whether stack_t has an ss_base field... no checking --with-tlib argument... empty: automatic terminal library selection checking for tgetent in -lncurses... yes checking whether we talk terminfo... (cached) yes checking what tgetent() returns for an unknown terminal... zero checking whether termcap.h contains ospeed... no checking whether ospeed can be extern... yes checking whether termcap.h contains UP, BC and PC... no checking whether UP, BC and PC can be extern... yes checking whether tputs() uses outfuntype... no checking whether sys/select.h and sys/time.h may both be included... yes checking for /dev/ptc... no checking for SVR4 ptys... yes checking for ptyranges... don't know checking default tty permissions/group... (cached) world checking return type of signal handlers... (cached) void checking for struct sigcontext... yes checking getcwd implementation is broken... (cached) no checking for bcmp... (cached) yes checking for fchdir... (cached) yes checking for fchown... (cached) yes checking for fsync... (cached) yes checking for getcwd... (cached) yes checking for getpseudotty... (cached) no checking for getpwnam... (cached) yes checking for getpwuid... (cached) yes checking for getrlimit... (cached) yes checking for gettimeofday... (cached) yes checking for getwd... (cached) yes checking for lstat... (cached) yes checking for memcmp... (cached) yes checking for memset... (cached) yes checking for mkdtemp... (cached) yes checking for nanosleep... (cached) yes checking for opendir... (cached) yes checking for putenv... (cached) yes checking for qsort... (cached) yes checking for readlink... (cached) yes checking for select... (cached) yes checking for setenv... (cached) yes checking for setpgid... (cached) yes checking for setsid... (cached) yes checking for sigaltstack... (cached) yes checking for sigstack... (cached) yes checking for sigset... (cached) yes checking for sigsetjmp... (cached) no checking for sigaction... (cached) yes checking for sigvec... (cached) yes checking for strcasecmp... (cached) yes checking for strerror... (cached) yes checking for strftime... (cached) yes checking for stricmp... (cached) no checking for strncasecmp... (cached) yes checking for strnicmp... (cached) no checking for strpbrk... (cached) yes checking for strtol... (cached) yes checking for tgetent... (cached) yes checking for towlower... (cached) yes checking for towupper... (cached) yes checking for iswupper... (cached) yes checking for usleep... (cached) yes checking for utime... (cached) yes checking for utimes... (cached) yes checking for _LARGEFILE_SOURCE value needed for large files... (cached) no checking for special C compiler options needed for large files... (cached) no checking for _FILE_OFFSET_BITS value needed for large files... (cached) no checking for st_blksize... yes checking whether stat() ignores a trailing slash... (cached) no checking for iconv_open()... yes checking for nl_langinfo(CODESET)... yes checking for strtod in -lm... (cached) yes checking for strtod() and other floating point functions... yes checking --disable-acl argument... no checking for acl_get_file in -lposix1e... (cached) no checking for acl_get_file in -lacl... (cached) no checking for POSIX ACL support... no checking for Solaris ACL support... no checking for AIX ACL support... no checking --disable-gpm argument... no checking for gpm... (cached) no checking --disable-sysmouse argument... no checking for sysmouse... (cached) no checking for FD_CLOEXEC... yes checking for rename... yes checking for sysctl... not usable checking for sysinfo... yes checking for sysinfo.mem_unit... yes checking for sysconf... yes checking size of int... (cached) 4 checking size of long... (cached) 8 checking size of time_t... (cached) 8 checking size of off_t... (cached) 8 checking uint32_t is 32 bits... ok checking whether memmove handles overlaps... (cached) yes checking for _xpg4_setrunelocale in -lxpg4... (cached) no checking how to create tags... etags checking how to run man with a section nr... man -s checking --disable-nls argument... no checking for msgfmt... (cached) msgfmt checking for NLS... gettext() works checking for bind_textdomain_codeset... (cached) yes checking for _nl_msg_cat_cntr... yes checking for dlfcn.h... (cached) yes checking for dlopen()... yes checking for dlsym()... yes checking for setjmp.h... (cached) yes checking for GCC 3 or later... yes checking whether we need -D_FORTIFY_SOURCE=1... yes configure: updating cache auto/config.cache configure: creating auto/config.status config.status: creating auto/config.mk config.status: creating auto/config.h and then the make $ make CC="gcc -Iproto -DHAVE_CONFIG_H " srcdir=. sh ./osdef.sh gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/buffer.o buffer.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/blowfish.o blowfish.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/charset.o charset.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/diff.o diff.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/digraph.o digraph.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/edit.o edit.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/eval.o eval.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds.o ex_cmds.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_cmds2.o ex_cmds2.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_docmd.o ex_docmd.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_eval.o ex_eval.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ex_getln.o ex_getln.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/fileio.o fileio.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/fold.o fold.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/getchar.o getchar.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/hardcopy.o hardcopy.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/hashtab.o hashtab.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/if_cscope.o if_cscope.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/if_xcmdsrv.o if_xcmdsrv.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/main.o main.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/mark.o mark.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/memfile.o memfile.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/memline.o memline.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/menu.o menu.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/message.o message.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/misc1.o misc1.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/misc2.o misc2.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/move.o move.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/mbyte.o mbyte.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/normal.o normal.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ops.o ops.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/option.o option.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/os_unix.o os_unix.c creating auto/pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/pathdef.o auto/pathdef.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/popupmnu.o popupmnu.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/quickfix.o quickfix.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/regexp.o regexp.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/screen.o screen.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/search.o search.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/sha256.o sha256.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/spell.o spell.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/syntax.o syntax.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/tag.o tag.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/term.o term.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/ui.o ui.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/undo.o undo.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/window.o window.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 -o objects/netbeans.o netbeans.c gcc -c -I. -Iproto -DHAVE_CONFIG_H -g -O2 -D_FORTIFY_SOURCE=1 version.c -o objects/version.o link.sh: The file 'auto/link.sed' exists, which is going to be used now. link.sh: If linking fails, try deleting the auto/link.sed file. link.sh: If this fails too, try creating an empty auto/link.sed file. link.sh: Using auto/link.sed file to omit a few libraries gcc -L/home/me/bin/vim73/testLib -L/usr/local/lib -o vim objects/buffer.o objects/blowfish.o objects/charset.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o objects/if_cscope.o objects/if_xcmdsrv.o objects/main.o objects/mark.o objects/memfile.o objects/memline.o objects/menu.o objects/message.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/syntax.o objects/tag.o objects/term.o objects/ui.o objects/undo.o objects/window.o objects/netbeans.o objects/version.o -lm -lncurses link.sh: Linked fine with a few libraries omitted make[1]: Entering directory `/home/me/bin/vim73/src/po' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/home/me/bin/vim73/src/po' make[1]: Entering directory `/home/me/bin/vim73/src/po' make[1]: Nothing to be done for `converted'. make[1]: Leaving directory `/home/me/bin/vim73/src/po' -- View this message in context: http://vim.1045645.n5.nabble.com/Building-gvim-tp3252992p3255671.html Sent from the Vim - General mailing list archive at Nabble.com. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
