On Wednesday, June 8, 2016 at 6:41:47 PM UTC+12, tracyone wrote:
> OS:ubuntu 16.04 x86-64
> I build vim from source by myself,build script is:
> ./configure \
> --with-features=huge \
> --with-compiledby="tracyone" \
> --enable-multibyte \
> --enable-gui=gtk3 \
> --enable-gpm \
> --enable-cscope \
> --enable-fontset \
> --enable-sniff \
> --enable-xim \
> --enable-fail-if-missing \
> --enable-pythoninterp=dynamic \
> --enable-fail-if-missing \
> --with-python-config-dir=/usr/lib/python2.7/config-x86_64-linux-gnu \
> --enable-python3interp=dynamic \
> --with-python3-config-dir=/usr/lib/python3.5/config-3.5m-x86_64-linux-gnu
> run any command in gvim will lead to SEGV
I'm on 16.04, so I had a go compiling with your options, with patches up to
2187. configure said:
configure: WARNING: unrecognized options: --enable-sniff
I don't understand that, but anyway I compiled with make and vim -g runs ok. I
did run
sudo apt-get build-dep vim-gtk3
and it pulled down some packages:
gir1.2-atspi-2.0 gir1.2-gconf-2.0 gir1.2-gnomekeyring-1.0 icu-devtools
libart-2.0-dev libatk-bridge2.0-dev libatspi2.0-dev libavahi-client-dev
libavahi-common-dev libavahi-glib-dev libbonobo2-dev libbonoboui2-dev
libdbus-1-dev libdrm-dev libegl1-mesa-dev libepoxy-dev libgail-common
libgail-dev libgconf2-dev libgmp-dev libgmpxx4ldbl libgnome-keyring-dev
libgnome2-dev libgnomecanvas2-dev libgnomeui-dev libgnomevfs2-dev
libgnutls-dev libgnutlsxx28 libgtk-3-dev libicu-dev libidl-2-0 libidl-dev
libidn11-dev libmirclient-dev libmircommon-dev libmircookie-dev
libmircookie2 liborbit2 liborbit2-dev libp11-kit-dev libpopt-dev
libprotobuf-dev libprotobuf9v5 libtasn1-6-dev libwayland-dev libx11-xcb-dev
libxcb-dri2-0-dev libxcb-dri3-dev libxcb-glx0-dev libxcb-present-dev
libxcb-randr0-dev libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev
libxkbcommon-dev libxml2-dev libxshmfence-dev libxtst-dev libxxf86vm-dev
nettle-dev orbit2 ruby-dev ruby2.3-dev x11proto-dri2-dev x11proto-gl-dev
x11proto-record-dev x11proto-xf86vidmode-dev
I've been building fine with GTK2 without that lot.
My :ver says
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/
include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/
include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk
-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/mirclient -I/usr/include/mircom
mon -I/usr/include/mircookie -I/usr/include/cairo -I/usr/include/pango-1.0 -I/us
r/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/includ
e/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -
I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -DCANBERRA -Wall -Wextra -W
missing-prototypes -Wunreachable-code -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
-D_REENTRANT
Linking: gcc -L/usr/local/lib -Wl,--as-needed -o vim -lgtk-3 -lgdk-3 -lpango
cairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2
.0 -lgobject-2.0 -lglib-2.0 -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE -lm
-ltinfo -lnsl -lselinux -lacl -lattr -lgpm -ldl -lcanberra
(Ignore the canberra stuff, I don't like the GTK bell so have coded in my own.
Canberra needs -D_REENTRANT.)
HTH, and regards, John Little
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.