libvncserver - Library providing an API for VNC servers ChangeLog

HOWTO


# LibVNCServer 0.9.1
# ==================
# If you ever want to uninstall LibVNCServer or just clean up files from
# an old version before installing a new one, skip down to the bottom
# for instructions

# I was unable to build 0.8.2 with gcc 4.0.3, but had no trouble building
# 0.9.1 with gcc 4.1.2

# Prerequisites:
# XFree86 or X.org
# OpenSSL (optional)
# libjpeg
# zlib
# rpm (not sure what this is about, configure looked for /usr/src/rpm)

cd
test -f installed/LibVNCServer-0.9.1.tar.gz &&
mv installed/LibVNCServer-0.9.1.tar.gz .
test ! -f LibVNCServer-0.9.1.tar.gz &&
wget http://downloads.sf.net/libvncserver/LibVNCServer-0.9.1.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "LibVNCServer-*" -exec rm -r {} \;
tar xzvf ~/LibVNCServer-0.9.1.tar.gz
cd LibVNCServer-0.9.1
test $UID = 0 && chown -R root:root .

# If your OpenSSL is installed under /usr/local/ssl, add this to the
# beginning of the configure line
LDFLAGS=-L/usr/local/ssl/lib CPPFLAGS=-I/usr/local/ssl/include \

./configure
make

# Become root to install it
su

# Install it
make install
ldconfig

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

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/LibVNCServer-*.tar.*
mv LibVNCServer-0.9.1.tar.gz installed/


# If you ever want to uninstall LibVNCServer, this should do it:
cd
su
test -d src/LibVNCServer-* && ( cd src/LibVNCServer-* ; make uninstall )
( cd /usr/local/bin ; rm -f LinuxVNC libvncserver-config x11vnc )
test -d /usr/local/include/rfb && rm -r /usr/local/include/rfb
( cd /usr/local/lib ; rm -f libvncclient.a libvncserver.a )
rm -f /usr/local/man/man1/x11vnc.1
ldconfig
exit
find ~/src -maxdepth 1 -type d -name "LibVNCServer-*" -exec rm -r {} \;
rm -f ~/installed/LibVNCServer-*.tar.*

List of HOWTOs

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