GTKSourceView depends on a lot of stuff:
configure: error: Package requirements (glib-2.0 >= 2.47.0 gio-2.0 >= 2.47.0 gtk+-3.0 >= 3.19.6 libxml-2.0 >= 2.6.0) were not met:
libxml:
[artemis] util% gunzip libxml2-2.9.3.tar.gz
[artemis] util% tar -xvf libxml2-2.9.3.tar
[artemis] util% cd libxml2-2.9
[artemis] libxml2-2.9.3% ./configure --prefix=/util/libxml2-2.9.3
[artemis] libxml2-2.9.3% make
[artemis] libxml2-2.9.3% sudo make install
[artemis] libxml2-2.9.3% cd /util
[artemis] /util% sudo ln -s libxml2-2.9.3 libxml2
glib:
[artemis] util% tar xvfJ glib-2.47.5.tar.xz
[artemis] util% cd glib-2.47.5
[artemis] glib-2.47.5% ./configure --prefix=/util/glib-2.47.5
[FAIL]
Get libffi-devel RPM from http://mirror.centos.org/centos/6/os/x86_64/Packages/
% sudo rpm -i libffi-devel-3.0.5-3.2.el6.x86_64.rpm
[FAIL]
configure: error: Package requirements (libpcre >= 8.13) were not met:
No package 'libpcre' found
[I think this needs to be PCRE, not PCRE2]
[artemis] util% cp /tmp/pcre-8.38.tar.gz .
[artemis] util% gunzip pcre-8.38.tar.gz
[artemis] util% tar -xvf pcre-8.38.tar
[artemis] util% cd pcre-8.38
[artemis] pcre-8.38% ./configure --prefix=/util/pcre-8.38 --enable-utf8 --enable-unicode-properties
[artemis] pcre-8.38% make
[artemis] pcre-8.38% sudo make install clean
[artemis] pcre-8.38% /cd /util
[artemis] /util% sudo ln -s pcre-8.38/ pcre
[artemis] glib-2.47.5% setenv PCRE_LIBS /util/pcre/lib/ ???
[artemis] glib-2.47.5% setenv PKG_CONFIG_PATH /util/libxml2/lib/pkgconfig:/util/glib/lib/pkgconfig:/util/pcre/lib/pkgconfig
[artemis] glib-2.47.5% ./configure --prefix=/util/glib-2.47.5 --with-pcre=cooper
[artemis] glib-2.47.5% make
[artemis] glib-2.47.5% sudo make install clean
[artemis] glib-2.47.5% cd /util
[artemis] /util% sudo rm glib
[artemis] /util% sudo ln -s glib-2.47.5 glib
gtk+:
[artemis] util% tar xvfJ gtk+-3.16.7.tar.xz
[artemis] util% cd gtk+-3.16.7
[artemis] gtk+-3.16.7% ./configure --prefix=/util/gtk+-3.16.7
[FAIL]
configure: error: Package requirements (glib-2.0 >= 2.43.4 atk >= 2.15.1 pango >= 1.36.7 cairo >= 1.14.0 cairo-gobject >= 1.14.0 gdk-pixbuf-2.0 >= 2.30.0) were not met:
Requested 'atk >= 2.15.1' but version of Atk is 1.30.0
Requested 'pango >= 1.36.7' but version of Pango is 1.28.1
Requested 'cairo >= 1.14.0' but version of cairo is 1.8.8
No package 'cairo-gobject' found
Requested 'gdk-pixbuf-2.0 >= 2.30.0' but version of GdkPixbuf is 2.24.1
atk:
[artemis] util% tar xvfJ atk-2.18.0.tar.xz
[artemis] util% cd atk-2.18.0
[artemis] atk-2.18.0% setenv LD_LIBRARY_PATH /util/glib/lib/:${LD_LIBRARY_PATH}
[artemis] atk-2.18.0% ./configure --prefix=/util/atk-2.18.0
[artemis] atk-2.18.0% make
[artemis] atk-2.18.0% sudo make install clean
[artemis] atk-2.18.0% cd /util
[artemis] /util% sudo rm atk
[artemis] /util% sudo ln -s atk-2.18.0 atk
[Pango depends on Cairo, so install Cairo before Pango]
cairo:
[artemis] util% tar xvfJ cairo-1.14.6.tar.xz
[artemis] util% cd cairo-1.14.6
[artemis] cairo-1.14.6% ./configure --prefix=/util/cairo-1.14.6 --enable-quartz-font=yes
[artemis] cairo-1.14.6% make
[artemis] cairo-1.14.6% sudo make install
[artemis] cairo-1.14.6% cd /util
[artemis] /util% sudo ln -s cairo-1.14.6 cairo
pango:
[artemis] util% tar xvfJ pango-1.39.0.tar.xz
[artemis] util% cd pango-1.39.0
[artemis] pango-1.39.0% ./configure --prefix=/util/pango-1.39.0
[FAIL]
fontconfig:
[artemis] util% gunzip fontconfig-2.11.94.tar.gz
[artemis] util% tar -xvf fontconfig-2.11.94.tar
[artemis] util% cd fontconfig-2.11.94
[artemis] fontconfig-2.11.94% ./configure --prefix=/util/fontconfig-2.11.94 --enable-libxml2 --disable-docs
[artemis] fontconfig-2.11.94% make
[artemis] fontconfig-2.11.94% sudo make install clean
[artemis] fontconfig-2.11.94% cd /util
freetype:
[artemis] util% gunzip freetype-2.6.3.tar.gz
[artemis] util% tar -xvf freetype-2.6.3.tar
[artemis] util% cd freetype-2.6.3
[artemis] freetype-2.6.3% ./configure --prefix=/util/freetype-2.6.3
[artemis] freetype-2.6.3% make
[artemis] freetype-2.6.3% sudo make install clean
[artemis] freetype-2.6.3% cd /util
[artemis] /util% sudo ln -s freetype-2.6.3 freetype
harfbuzz:
[artemis] util% bunzip2 harfbuzz-1.1.3.tar.bz2
[artemis] util% tar -xvf harfbuzz-1.1.3.tar
[artemis] util% cd harfbuzz-1.1.3
[artemis] harfbuzz-1.1.3% ./configure --prefix=/util/harfbuzz-1.1.3
[artemis] harfbuzz-1.1.3% make
[artemis] harfbuzz-1.1.3% sudo make install clean
[artemis] harfbuzz-1.1.3% cd /util
[FAIL]
../../src/.libs/libharfbuzz.so: undefined reference to `FT_Reference_Face'
collect2: ld returned 1 exit status
[artemis] pango-1.39.0% setenv PKG_CONFIG_PATH /util/glib/lib/pkgconfig:/util/cairo/lib/pkgconfig:/util/libxml2/lib/pkgconfig/:/util/fontconfig/lib/pkgconfig:/util/freetype/lib/pkgconfig:/util/freetype2/lib/pkgconfig
gtksourceview:
[artemis] util% tar xvfJ gtksourceview-3.19.4.tar.xz
[artemis] util% cd gtksourceview-3.19.4
[artemis] gtksourceview-3.19.4% setenv PKG_CONFIG_PATH /util/libxml2/lib/pkgconfig:/util/glib/lib/pkgconfig:/util/pcre/lib/pkgconfig:/util/atk/lib/pkgconfig
[artemis] gtksourceview-3.19.4% ./configure --prefix=/util/gtksourceview-3.19.4 PKG_CONFIG=/util/bin/pkg-config
- http://www.xmlsoft.org/
- http://mirror.centos.org/centos/6/os/x86_64/Packages/
- http://ftp.gnome.org/pub/GNOME/sources/glib/
- http://www.gtk.org/download/linux.php
- http://ftp.gnome.org/pub/GNOME/sources/atk/
- http://ftp.gnome.org/pub/GNOME/sources/pango/
- http://cairographics.org/releases/