From OpenLiteSpeed Wiki
OpenLiteSpeed requires the following packages: pcre, expat, openssl, geoip, zlib.
Below you will find instructions for installing the packages depending on your system.
CentOS 5, 6 and 7
You may need to enable EPEL repository to get access to some of these packages.
yum install epel-release yum install gcc gcc-c++ make autoconf glibc rcs yum install pcre-devel openssl-devel expat-devel geoip-devel zlib-devel udns-devel
sudo apt-get update sudo apt-get install build-essential sudo apt-get install rcs libpcre3-dev libexpat1-dev libssl-dev libgeoip-dev libudns-dev zlib1g-dev libxml2 libxml2-dev libpng-dev openssl
ports. Here are some examples using
cd /usr/ports/devel/pcre; make install clean; rehash; cd /usr/ports/devel/rcs; make install clean; rehash; cd /usr/ports/net/GeoIP; make install clean; rehash; cd /usr/ports/dns/udns; make install clean; rehash; cd /usr/ports/textproc/expat2; make install clean; rehash; cd /usr/ports/security/openssl; make install clean; rehash;
Mac OS X
- Install Xcode from https://developer.apple.com/xcode/ (This requires registering with your AppleID.)
- Download Command Line Tools for Xcode from the Apple Developer page above.
- Install MacPorts from http://www.macports.org/install.php#pkg
sudo port install pcre expat openssl rcs libgeoip zlib libudns