Loading ...
Sorry, an error occurred while loading the content.

Cannot compile gvim 7.3 and 7.2 without -xfontset option

Expand Messages
  • Evgeny Privarotskiy
    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
    Message 1 of 3 , Dec 28, 2010
    • 0 Attachment
      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

      --
      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
    • Tony Mechelynck
      ... 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,
      Message 2 of 3 , Jan 1, 2011
      • 0 Attachment
        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 antoine.mechelynck@...
        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
      • Evgeny Privarotskiy
        Thanks Tony, I will try play with -multi_byte. Best regards, Evgeny On Jan 1, 9:50 pm, Tony Mechelynck ... -- You received this
        Message 3 of 3 , Jan 4, 2011
        • 0 Attachment
          Thanks Tony,

          I will try play with -multi_byte.

          Best regards,
          Evgeny

          On Jan 1, 9:50 pm, Tony Mechelynck <antoine.mechely...@...>
          wrote:
          > 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 antoine.mechely...@...
          > 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"- Hide quoted text -
          >
          > - Show quoted text -

          --
          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
        Your message has been successfully submitted and would be delivered to recipients shortly.