ERROR: Slooooow dooooown... this page load was delayed.


gperf - Perfect hash function generator ChangeLog

HOWTO


# GNU gperf 3.1
# =============

# GNU gperf v3.1 released

# Get it
cd
test -f installed/gperf-3.1.tar.gz && mv -f installed/gperf-3.1.tar.gz .
test ! -f gperf-3.1.tar.gz &&
wget http://ftpmirror.gnu.org/gnu/gperf/gperf-3.1.tar.gz

# Verify tarball w/ sha1sum:
echo "e3c0618c2d2e5586eda9498c867d5e4858a3b0e2  gperf-3.1.tar.gz" | \
sha1sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 471097CD > /dev/null 2>&1 || gpg --recv-keys 471097CD ) &&
wget -nc http://ftpmirror.gnu.org/gnu/gperf/gperf-3.1.tar.gz.sig &&
  gpg --verify gperf-3.1.tar.gz.sig && rm gperf-3.1.tar.gz.sig

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
find -maxdepth 1 -type d -name "gperf-*" -exec rm -r {} \;
tar xzvf ~/gperf-3.1.tar.gz
cd gperf-3.1
test $UID = 0 && chown -R root:root .

# Become root to install it
su

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --docdir=/usr/doc/gperf-3.1 --infodir=/usr/info \
--libdir=/usr/lib64 --mandir=/usr/man

# Configure the build for anything else
test $(uname -m) != 'x86_64' &&
./configure --prefix=/usr --docdir=/usr/doc/gperf-3.1 --infodir=/usr/info \
--mandir=/usr/man

# Build it
make

# Become root to install it
su

# Remove the Slackware package, if there is one
test -x /sbin/removepkg && /sbin/removepkg gperf

# Install it
make install

# Make sure your non-root user can remove the source later
chown -R $(logname) .
chmod -R u+w .

# Become yourself again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/gperf-*.tar.*
mv gperf-3.1.tar.gz installed/


# If you ever want to uninstall gperf, this should do it:
cd
su
test -d src/gperf-* && ( cd src/gperf-* ; make uninstall )
find /usr/doc -maxdepth 1 -type d -name "gperf-*" -exec rm -r {} \;
rm -f /usr/bin/gperf /usr/doc/gperf.html /usr/info/gperf.info \
/usr/man/man1/gperf.1
exit
find ~/src -maxdepth 1 -type d -name "gperf-*" -exec rm -r {} \;
rm -f ~/installed/gperf-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EST -0500)
HOWTO last updated: 2018-07-26 10:39pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]