libuv - Multi-platform library for asynchronous I/O ChangeLog

HOWTO


# libuv 1.48.0
# ============
# Slackware 15.0: libuv 1.43.0

# Prerequisites:
# Sphinx (if you generate documentation)
#  Run as root: su -c "python3 -m pip install --upgrade pip sphinx"
# pkg-config

# GitHub v1.48.0 release
# GitHub Issues: Release v1.48.0 #4248
# libuv downloads
# libuv documentation

# Get the tarball
cd
test -f installed/libuv-v1.48.0.tar.gz &&
mv -f installed/libuv-v1.48.0.tar.gz .
test ! -f libuv-v1.48.0.tar.gz &&
wget https://dist.libuv.org/dist/v1.48.0/libuv-v1.48.0.tar.gz

# Verify tarball w/ sha256sum:
echo "7f1db8ac368d89d1baf163bac1ea5fe5120697a73910c8ae6b2fffb3551d59\
fb  libuv-v1.48.0.tar.gz" | sha256sum -c

# Verify tarball w/ gpg:
( gpg --list-keys 612F0EAD9401622379DF4402F28C3C8DA33C03BE > \
/dev/null 2>&1 ||
  gpg --keyserver keyserver.ubuntu.com \
   --recv-keys 612F0EAD9401622379DF4402F28C3C8DA33C03BE ) &&
wget -nc https://dist.libuv.org/dist/v1.48.0/libuv-v1.48.0.tar.gz.sign &&
  gpg --verify libuv-v1.48.0.tar.gz.sign && rm libuv-v1.48.0.tar.gz.sign

# Extract the source
mkdir -p -m 0700 ~/src
cd ~/src
tar xzvf ~/libuv-v1.48.0.tar.gz
cd libuv-v1.48.0
test $UID = 0 && chown -R root:root .

# Here we create configure, etc. but you can also use CMake if you like

# Get the source ready for autoconf/automake/libtool
./autogen.sh

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

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

# Build it
make

# Test the build
make check

# Generate libuv.1 man page (./docs/build/man/libuv.1)
# See 'make help' in ./docs/ for other options
cd docs
make man
cd ..

# Become root to install it
su

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

# Install it
make install
ldconfig

# Install the generated man page, if it's there
test -f docs/build/man/libuv.1 &&
install -m 644 docs/build/man/libuv.1 /usr/man/man1/

# Become your non-root user again
exit

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


# If you ever want to uninstall libuv, this should do it:
cd
su
test -d src/libuv-* && ( cd src/libuv-* ; make uninstall )
rm -f /usr/include/uv.h /usr/lib*/libuv.* /usr/lib*/pkgconfig/libuv.pc \
/usr/man/man1/libuv.1
test -d /usr/include/uv && rm -r /usr/include/uv
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "libuv-*" -exec rm -r {} \;
rm -f ~/installed/libuv-*.tar.*

List of HOWTOs

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