Skip to content

Instantly share code, notes, and snippets.

@amejiarosario
Last active December 14, 2015 15:29
Show Gist options
  • Save amejiarosario/5108443 to your computer and use it in GitHub Desktop.
Save amejiarosario/5108443 to your computer and use it in GitHub Desktop.
# ./sublime_text
# libgio version is less than 2.26, single instance support disabled
# Segmentation fault (core dumped)
## FIX ##
# You must have gtk-doc installed to compile GLib.
sudo apt-get install gtk-doc-tools
git clone git://git.gnome.org/gtk-doc
cd gtk-doc
./autogen.sh --prefix=/opt/lib/gtk-doc
make
sudo make install
# Compiling glib to update libgio to 2.6
git clone git://git.gnome.org/glib
cd glib
git checkout 2.26.1
./autogen.sh --prefix=/usr/lib
# (troubleshooting) if you get a 'configure: error: could not find DocBook XSL Stylesheets in XML catalog' then
# install docbook and fop
# sudo apt-get install docbook docbook-xml docbook-xsl docbook-xsl-doc-html
# sudo apt-get install fop
make
sudo make install
# reference: http://www.tipiweb.tk/blog/2012/05/31/compile-glib-to-get-sublime-text-2-multi-instances-worked/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment