Linux HOWTOs

About | Home | Search


HOWTO: gmime
Description: Lib and utils for creating and parsing MIME messages
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# gmime 2.0.14
# ============
# Prerequisites:
# gawk
# grep
# sed
# pkg-config
# glib >= 2.0.0
# libiconv

# gmime's binaries are uuencode and uudecode, and you most likely already
# have a uuencode and uudecode on your system which originally came from the
# GNU sharutils package.  In Slackware, sharutils is part of the 'bin'
# package.  Below, we install gmime into the /usr/local prefix.  So, either
# make sure you always run the appropriate one with it's full path
# (/usr/bin/uudecode = sharutils, /usr/local/bin/uudecode = gmime), rename the
# old ones to *.old, or just remove the old ones.  Here are all of the files
# from the old ones, you can delete/backup/rename/whatever these and remove
# the lines that refer to them from the /var/adm/packages/bin-* package file.
#
# /usr/bin/uudecode
# /usr/bin/uuencode
# /usr/man/man1/uuencode.1.gz
# /usr/man/man1/uudecode.1.gz
# /usr/man/man5/uuencode.5.gz
#
# If you ever decide you want to put the original ones back, they're in the
# appropriate bin-*.tgz tarball at ftp://ftp.slackware.com/:
# /pub/slackware/slackware-10.1/slackware/a/
# /pub/slackware/slackware-10.0/slackware/a/
# /pub/slackware/slackware-9.1/slackware/a/
# /pub/slackware/slackware-9.0/slackware/a/
# /pub/slackware/slackware-8.1/slackware/a/
# and you may also want to check for one in
# /pub/slackware/slackware-x.x/patches/.  ...or you can install sharutils,
# which you can download here:
# http://ftp.gnu.org/gnu/sharutils/

cd
test -f installed/gmime-2.0.14.tar.gz && mv installed/gmime-2.0.14.tar.gz .
test ! -f gmime-2.0.14.tar.gz &&
 wget http://spruce.sourceforge.net/gmime/sources/v2.0/gmime-2.0.14.tar.gz
mkdir -p -m 0700 src
cd src
find -type d -maxdepth 1 -name "gmime-*" -exec rm -r {} \;
tar xzvf ~/gmime-2.0.14.tar.gz
cd gmime-2.0.14
./configure
make

# Become root to install it
su
rm -f /usr/local/lib/libgmime-2.0.*
make install
ldconfig

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/gmime-*.tar.*
mv gmime-2.0.14.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>