Yakov Lerner wrote:
On 7/31/06, Yakov Lerner <[EMAIL PROTECTED]> wrote:
On 7/31/06, Robert Cussons <[EMAIL PROTECTED]> wrote:
> <snip>
> >
> >
> > Are those two vims built with same GUI libraries ? I suspect
> > that they are build with different GUIs.
> > Can you send first 4 lines out :version output from each of two
vims ?
> >
> > Yakov
> >
> > P.S. I remember that I had similar issue between one Qt-based
> > program and similar Xt-based program. I set same font for them two,
> > but they showed it rather differently. Maybe you'll want to rebuild
> > vim7 to use same GUI as your vim6.3. If you send first 4 lines from
> > both vims :version, we'll know which GUI they are both built with.
> >
>
> VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 31 2006 08:50:59)
> Included patches: 1-42
> Compiled by ...
> Huge version with X11-Motif GUI. Features included (+) or not (-):
>
> VIM - Vi IMproved 6.3 (2004 June 7, compiled Jul 30 2005 12:36:01)
> Included patches: 1-71, 81-82
> Compiled by ...
> Big version with GTK2 GUI. Features included (+) or not (-):
>
>
> Seems you have hit the nail on the head Yakov, how would I rebuild Vim7
> using your script but changing the GUI is it using the --configure
options?
a) install package 'openmotif-devel' or (motif-dev or what's called)
b) ./vim7-install.sh ----enable-gui=motif
Oops, I misread the data. You'll want to rebuild vim with GTK2, not
with motif, right? Then:
./vim7-install.sh ----enable-gui=gtk2
and you'll need gtk2-devel package installed
Yakov
See also my HowTo page
http://users.skynet.be/antoine.mechelynck/vim/compunix.htm which
includes the following bash script
#!/bin/bash
export CONF_OPT_GUI='--enable-gnome-check'
export CONF_OPT_PERL='--enable-perlinterp'
export CONF_OPT_PYTHON='--enable-pythoninterp'
export CONF_OPT_TCL='--enable-tclinterp --with-tcl=tclsh8.4'
export CONF_OPT_RUBY='--enable-rubyinterp'
export CONF_OPT_MZSCHEME='--enable-mzschemeinterp'
export CONF_OPT_CSCOPE='--enable-cscope'
export CONF_OPT_MULTIBYTE='--enable-multibyte'
export CONF_OPT_OUTPUT='--enable-fontset'
export CONF_OPT_FEAT='--with-features=huge'
export CONF_OPT_COMPBY='"[EMAIL PROTECTED]"'
which I source (in bash; "running" it in bash without "source" or "."
doesn't work) to set configure options. IIUC, configure will pick GTK+2
in preference to ther GUIs if it finds that the gtk2-devel package is
installed. You may use that script, and you will want to modify one or
more lines of it (including, at least, the --with-compiledby to put your
name there instead of mine). The result I get is the following (with
-python and -mzscheme even though I enabled them, because I haven't got
the corresponding "development" packages"; pretty much everything else
is included):
VIM - Vi IMproved 7.0 (2006 May 7, compiled Jul 23 2006 22:50:51)
Included patches: 1-42
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 +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 -DHAVE_CONFIG_H -DFEAT_GUI_GTK
-DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0
-I/usr/include/freetype2 -I/usr/include/freetype2/config
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-DORBIT2=1 -pthread -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API
-I/usr/include/libart-2.0 -I/usr/include/libxml2
-I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0
-I/opt/gnome/include/libgnomecanvas-2.0 -I/opt/gnome/include/gtk-2.0
-I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include
-I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0
-I/opt/gnome/include/gnome-vfs-2.0
-I/opt/gnome/lib/gnome-vfs-2.0/include
-I/opt/gnome/include/bonobo-activation-2.0
-I/opt/gnome/include/pango-1.0 -I/usr/include/freetype2
-I/opt/gnome/lib/gtk-2.0/include -I/usr/X11R6/include
-I/opt/gnome/include/atk-1.0 -I/usr/include/freetype2/config -O2
-fno-strength-reduce -Wall -I/usr/X11R6/include -D_REENTRANT
-D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64
-I/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -I/usr/include
-D_LARGEFILE64_SOURCE=1 -I/usr/lib/ruby/1.8/i686-linux
Linking: gcc -L/opt/gnome/lib -L/usr/X11R6/lib -rdynamic -Wl,-E
-Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE
-L/usr/local/lib -o vim -L/opt/gnome/lib -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/opt/gnome/lib
-L/usr/X11R6/lib -lgnomeui-2 -lbonoboui-2 -lxml2 -lz -lgnomecanvas-2
-lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0
-latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0
-lgobject-2.0 -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation
-lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXt -lncurses -lgpm
-Wl,-E -Wl,-rpath,/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE
/usr/lib/perl5/5.8.6/i586-linux-thread-multi/auto/DynaLoader/DynaLoader.a
-L/usr/lib/perl5/5.8.6/i586-linux-thread-multi/CORE -lperl -lutil -lc
-L/usr/lib -ltcl8.4 -lieee -lruby -lm
Best regards,
Tony.