HOWTOs
HOWTO
# gtkmm
# =====
# Slackware 8.0's 'gtkmm' package includes version 1.2.5, 8.1's includes
# 1.2.8 Newer versions of Slackware don't include gtkmm.
# I include the latest 2.6.x and 2.8.x versions below, but keep in mind
# that I only actually use the 2.8.x version
# If you ever want to uninstall gtkmm, or clean up files from an old
# version before installing a new one, skip down to the bottom for
# instructions
# Prerequisites (for both versions):
# gawk
# sed
# grep
# m4
# perl
# pkg-config
# gtkmm 2.6.14 (GTK+ 2.5/2.6)
# ============
# Prerequisites (beyond those listed above):
# glibmm -2.4 >= 2.6.0
cd
test -f installed/gtkmm-2.6.14.tar.bz2 && mv installed/gtkmm-2.6.14.tar.bz2 .
test ! -f gtkmm-2.6.14.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.6/gtkmm-2.6.14.tar.bz2
# Verify tarball w/ md5sum :
echo "31f28293f9d258c40b1a1181900dbe12 gtkmm-2.6.14.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gtkmm-*" -exec rm -r {} \;
tar xjvf ~/gtkmm-2.6.14.tar.bz2
cd gtkmm-2.6.14
test $UID = 0 && chown -R root:root .
./configure
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg gtkmm
make install
ldconfig
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/gtkmm-*.tar.*
mv gtkmm-2.6.14.tar.bz2 installed/
# gtkmm 2.8.8 (GTK+ 2.8)
# ===========
# Prerequisites (beyond those listed above):
atkmm
# glibmm -2.4 >= 2.8.0
cd
test -f installed/gtkmm-2.8.8.tar.bz2 && mv installed/gtkmm-2.8.8.tar.bz2 .
test ! -f gtkmm-2.8.8.tar.bz2 &&
wget http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/gtkmm-2.8.8.tar.bz2
# Verify tarball w/ md5sum :
echo "319a7847f67c5099a78afb495e148143 gtkmm-2.8.8.tar.bz2" | md5sum -c
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "gtkmm-*" -exec rm -r {} \;
tar xjvf ~/gtkmm-2.8.8.tar.bz2
cd gtkmm-2.8.8
test $UID = 0 && chown -R root:root .
./configure
make
# Become root to install it
su
test -x /sbin/removepkg && /sbin/removepkg gtkmm
make install
ldconfig
chown -R $USER .
# Become yourself again
exit
cd
mkdir -p -m 0700 installed
rm -f installed/gtkmm-*.tar.*
mv gtkmm-2.8.8.tar.bz2 installed/
# If you ever want to uninstall gtkmm, this should do it:
cd
su
test -d src/gtkmm-* && ( cd src/gtkmm-* ; make uninstall )
( cd /usr/local/lib ; rm -f libgtkmm-* libgtkmm_generate_extra_defs-* )
find /usr/local/include -maxdepth 1 -type d -name "gtkmm-*" -exec rm -r {} \;
find /usr/local/lib -maxdepth 1 -type d -name "gtkmm-*" -exec rm -r {} \;
find /usr/local/share/doc -maxdepth 1 -type d -name "gtkmm-*" \
-exec rm -r {} \;
rm -f /usr/local/share/aclocal/gtkmm_check_perl.m4 \
/usr/local/lib/pkgconfig/gtkmm-2.*.pc
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "gtkmm-*" -exec rm -r {} \;
rm -f ~/installed/gtkmm-*.tar.*
List of HOWTOs
Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2006-08-19 4:12pm
Copyright © 2001-2024 Jason Englander . All Rights reserved.