npth - Library providing a non-preemptive threads implementation ChangeLog

HOWTO


# nPth 1.6
# ========
# Slackware 15.0: npth 1.6

# Get the source
cd
test -f installed/npth-1.6.tar.bz2 &&
mv -f installed/npth-1.6.tar.bz2 .
test ! -f npth-1.6.tar.bz2 &&
wget https://gnupg.org/ftp/gcrypt/npth/npth-1.6.tar.bz2

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

# Read README, and if upgrading, read NEWS for a summary or ChangeLog for
# all changes

# Configure the build for 64-bit
test $(uname -m) = 'x86_64' &&
./configure --prefix=/usr --libdir=/usr/lib64

# Configure the build for anything else
test $(uname -m) = 'x86_64' && ./configure --prefix=/usr

# Build it
make

# Check the build
make check

# Become root to install it
su

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

# Install it
make install
ldconfig

# Become your non-root user again
exit

# Save the source for later
cd
mkdir -p -m 0700 installed
rm -f installed/npth-*.tar.*
mv npth-1.6.tar.bz2 installed/


# If you ever want to uninstall nPth, this should do it:
cd
su
test -d src/npth-* && ( cd src/npth-* ; make uninstall )
rm -f /usr/bin/npth-config /usr/include/npth.h /usr/lib*/libnpth.* \
/usr/share/aclocal/npth.m4
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "npth-*" -exec rm -r {} \;
rm -f ~/installed/npth-*.tar.*

List of HOWTOs

Web page itself last updated: 2023-12-20 8:06pm (EDT -0400)
HOWTO last updated: 2023-09-12 12:45pm
Copyright © 2001-2024 Jason Englander. All Rights reserved.
[HTML5]