On 28/12/10 17:41, Evgeny Privarotskiy wrote:
HI all,I try to build and use latest gvim 7.3 (the same problem with 7.2). After compilation and installation, I run gvim and it fails with: Warning: Missing charsets in String to FontSet conversion E665: Cannot start GUI, no valid font found Press ENTER or type command to continue After that gvim runs without GUI. As I found in WEB, the problem is is +xfontset feature. I did not find how to remove the feature. If I understand correct, by default it is disabled. Also, according to src/auto/config.log: configure:6131: checking --enable-fontset argument configure:6140: result: no So, my expectation is it will be built with -xfontset. However, --version returns: VIM - Vi IMproved 7.2 (2008 Aug 9, compiled Dec 28 2010 18:24:46) Compiled by ... 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 +float +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_sysmouse +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 -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA -DFUNCPROTO=15 -DNARROWPROTO -O2 -fno-strength-reduce -Wall -I/usr/include64 Linking: gcc -L/usr/lib64 -L/usr/local/lib -o vim -lXaw -lXext -lm -lncurses -lselinux -lacl -lgpm How can I solve the problem? Thanks in advance, Evgeny
I don't know about the Athena GUI you are using. Also, I wonder at the fact that you get -multi_byte together with +xfontset.
I use a GTK2/Gnome2 GUI, which is incompatible with +xfontset, and I get a GUI with +multi_byte -xfontset with no problems. Here's the first part of my :version text:
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Dec 31 2010 08:37:11) Included patches: 1-94 Compiled by [email protected] Huge version with GTK2-GNOME GUI. Features included (+) or not (-): +arabic +autocmd +balloon_eval +browse ++builtin_terms +byte_offset +cindent +clientserver +clipboard +cmdline_compl +cmdline_hist +cmdline_info +comments +conceal +cryptv +cscope +cursorbind +cursorshape +dialog_con_gui +diff +digraphs +dnd -ebcdic +emacs_tags +eval +ex_extra +extra_search +farsi +file_in_path +find_in_path +float +folding -footer +fork() +gettext -hangul_input +iconv +insert_expand +jumplist +keymap +langmap +libcall +linebreak +lispindent +listcmds +localmap +lua +menu +mksession +modify_fname +mouse +mouseshape +mouse_dec +mouse_gpm -mouse_jsbterm +mouse_netterm -mouse_sysmouse +mouse_xterm +multi_byte +multi_lang -mzscheme +netbeans_intg -osfiletype +path_extra +perl +persistent_undo +postscript +printer +profile +python -python3 +quickfix +reltime +rightleft +ruby +scrollbind +signs +smartindent -sniff +startuptime +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 Best regards, Tony. -- Pig, n.: An animal (Porcus omnivorous) closely allied to the human race by the splendor and vivacity of its appetite, which, however, is inferior in scope, for it balks at pig. -- Ambrose Bierce, "The Devil's Dictionary" -- You received this message from the "vim_dev" 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
