SuSE 10.0: Installing Vim 7.0
From FVue
Contents |
Problem
I'm using SuSE 10.0 with Vim 6.3 and I want to upgrade to Vim 7.0.
Followed the guidelines using aap.
- messageboxes don't have a keyboard shortcut
- when I issue
:set guifont=Bitstream\ Vera\ Sans\ MonoI get an error.
Journal
20060714
Followed the guidelines using aap. But when I issue :set guifont=Bitstream\ Vera\ Sans\ Mono I get an error. Gvim is not what I'm used from another KDE machine and I see the word 'XIM' passing by?
Deleted Vim-6.3.84 with YaST.
Removed export VIM=~/.vim from my .bashrc.
20060715
Yahoo! Groups: guifont: a few issues/problems?
:help version:
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 14 2006 12:12:18)
Included patches: 1-37
Compiled by freddy@madonna
Normal version with X11-Athena GUI. Features included (+) or not (-):
-arabic +autocmd +balloon_eval +browse +builtin_terms +byte_offset +cindent
+clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments
+cryptv -cscope +cursorshape +dialog_con_gui +diff +digraphs -dnd -ebcdic
-emacs_tags +eval +ex_extra +extra_search -farsi +file_in_path +find_in_path
+folding -footer +fork() +gettext -hangul_input -iconv +insert_expand +jumplist
-keymap -langmap +libcall +linebreak +lispindent +listcmds +localmap +menu
+mksession +modify_fname +mouse +mouseshape -mouse_dec +mouse_gpm
-mouse_jsbterm -mouse_netterm +mouse_xterm -multi_byte +multi_lang -mzscheme
-netbeans_intg -osfiletype +path_extra -perl +postscript +printer -profile
-python +quickfix +reltime -rightleft -ruby +scrollbind -signs +smartindent
-sniff +statusline -sun_workshop +syntax +tag_binary +tag_old_static
-tag_any_white -tcl +terminfo +termresponse +textobjects +title +toolbar
+user_commands +vertsplit +virtualedit +visual +visualextra +viminfo +vreplace
+wildignore +wildmenu +windows +writebackup +X11 +xfontset +xim +xsmp_interact
+xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
system gvimrc file: "$VIM/gvimrc"
user gvimrc file: "$HOME/.gvimrc"
system menu file: "$VIMRUNTIME/menu.vim"
fall-back for $VIM: "/usr/local/share/vim"
Compilation: gcc -c -I. -Iproto -I. -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15 -DNARROWPRO
TO -g -O2 -I/usr/X11R6/include
Linking: gcc -L/usr/X11R6/lib -L/usr/local/lib -o vim -lXaw -lXmu -lXext -lXt -lSM -lICE -lXpm
-lXt -lX11 -lXdmcp -lSM -lICE -ldl -lncurses -lnsl -lgpm
Found program xfontsel. This lets me select Bitstream Vera Sans Mono as
-bitstream-bitstream vera sans mono-medium-r-normal--0-0-0-0-m-0-iso8859-15
After that I can tell Vim
:set guifont=-bitstream-bitstream\ vera\ sans\ mono-medium-r-normal--11-0-0-0-m-0-iso8859-15
but the font still isn't rendered as nice as what I'm used to.
:help gui-x11-compiling
Installed gtk2-devel and gtk1-compat-devel, specified ~/install/vim/vim/src/config.arg as
--enable-gtk2-check --enable-gnome-check
but running
~/install/vim $> aap
still doesn't detect GTK:
Getting Vim version 7.0 using ftp... Aap: Attempting download of "http://www.a-a-p.org/vim/vim/main.aap" Aap: Downloaded "http://www.a-a-p.org/vim/vim/main.aap" to "/home/freddy/install/vim/vim/main.aap" Aap: CONFIG_STATUS=auto/config.status ./configure.aap --enable-gtk2-check --enable-gnome-check --with-mac-arch=ppc --cache-file=auto/config.cache configure.aap: loading cache auto/config.cache checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E checking for egrep... (cached) grep -E checking for library containing strerror... (cached) none required checking for gawk... (cached) gawk checking for strip... (cached) strip configure.aap: checking for buggy tools... - sh is 'GNU bash, version 3.00.16(1)-release (i586-suse-linux) Copyright (C) 2004 Free Software Foundation, Inc.' - probably OK. - sed is 'GNU sed version 4.1.4 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-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 --with-features argument... Defaulting to normal checking --with-compiledby argument... no checking --disable-xsmp argument... no checking --disable-xsmp-interact argument... no checking --enable-mzschemeinterp argument... no checking --enable-perlinterp argument... no checking --enable-pythoninterp 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... (cached) /usr/X11R6/bin/xmkmf checking for X... (cached) libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for gethostbyname... (cached) yes checking for connect... (cached) yes checking for remove... (cached) yes checking for shmat... (cached) yes checking for IceConnectionNumber in -lICE... (cached) yes checking if X11 header files can be found... yes checking for _XdmcpAuthDoIt in -lXdmcp... (cached) yes checking for IceOpenConnection in -lICE... (cached) yes checking for XpmCreatePixmapFromData in -lXpm... (cached) yes checking if X11 header files implicitly declare return values... no checking --enable-gui argument... yes/auto - automatic GUI support checking whether or not to look for GTK... yes checking whether or not to look for GTK+ 2... yes checking whether or not to look for GNOME... yes checking whether or not to look for Motif... yes checking whether or not to look for Athena... yes checking whether or not to look for neXtaw... yes checking whether or not to look for Carbon... yes checking --with-gtk-prefix argument... no checking --with-gtk-exec-prefix argument... no checking --disable-gtktest argument... gtk test enabled checking for gtk-config... (cached) no checking for gtk12-config... (cached) no checking for pkg-config... (cached) no checking for location of Motif GUI includes... <not found> checking if Athena header files can be found... yes checking if neXtaw header files can be found... no checking for XShapeQueryExtension in -lXext... (cached) yes checking for wslen in -lw... (cached) no checking for dlsym in -ldl... (cached) yes checking for XmuCreateStippledPixmap in -lXmu... (cached) yes checking for extra X11 defines... -DFUNCPROTO=15 -DNARROWPROTO checking for X11/SM/SMlib.h... (cached) yes checking for X11/xpm.h... (cached) yes checking for X11/Sunkeysym.h... (cached) yes checking for XIMText in X11/Xlib.h... yes X GUI selected; xim has been enabled checking for X11/Xmu/Editres.h... yes checking quality of toupper... good checking whether __DATE__ and __TIME__ work... 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 ANSI C header files... (cached) yes checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking for stdarg.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) yes 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 termio.h... (cached) yes checking for iconv.h... (cached) yes checking for langinfo.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 sys/ptem.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/sysctl.h... (cached) yes checking for sys/sysinfo.h... (cached) yes checking for wchar.h... (cached) yes checking for wctype.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 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 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 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... (cached) yes checking whether we talk terminfo... yes -- terminfo spoken here checking what tgetent() returns for an unknown terminal... zero checking whether termcap.h contains ospeed... yes checking whether termcap.h contains UP, BC and PC... 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... abcdepqrstuvwxyz / 0123456789abcdef checking default tty permissions/group... pty mode: 0620, group: 5 checking return type of signal handlers... (cached) void checking for struct sigcontext... yes checking getcwd implementation... it is usable checking for bcmp... (cached) yes checking for fchdir... (cached) yes checking for fchown... (cached) yes checking for fseeko... (cached) yes checking for fsync... (cached) yes checking for ftello... (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 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 st_blksize... yes checking whether stat() ignores a trailing slash... no checking for iconv_open()... yes checking for nl_langinfo(CODESET)... 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) yes checking for rename... yes checking for sysctl... not usable checking for sysinfo... yes checking for sysconf... yes checking size of int... (cached) 4 checking whether memmove/bcopy/memcpy handle overlaps... memmove does checking for _xpg4_setrunelocale in -lxpg4... (cached) no checking how to create tags... checking how to run man with a section nr... man 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 configure.aap: creating auto/config.status config.status: creating auto/config.aap config.status: creating auto/config.h config.status: auto/config.h is unchanged
rm vim/source/auto/config.cache