66 lines
1.6 KiB
Plaintext
66 lines
1.6 KiB
Plaintext
Installation Instructions
|
|
*************************
|
|
|
|
Requirements
|
|
==================
|
|
You will need both mozjpeg (libjpeg-turbo will work too) and zopflipng compiled as libraries to be able to
|
|
compile CaesiumCLT. Refer to their own documentation for the detailed
|
|
instructions.
|
|
|
|
This is the step-by-step sequence tested on Ubuntu 16.04 LTS:
|
|
|
|
mozjpeg
|
|
|
|
$ git clone https://github.com/mozilla/mozjpeg
|
|
$ cd mozjpeg/
|
|
$ autoreconf -fiv
|
|
$ mkdir build && cd build
|
|
$ ../configure
|
|
$ make && sudo make install
|
|
|
|
Note that on some systems you have to run $ autoreconf -fiv twice.
|
|
|
|
zopflipng
|
|
|
|
$ git clone https://github.com/google/zopfli.git
|
|
$ cd zopfli
|
|
$ make libzopflipng
|
|
$ sudo cp libzopflipng.so.1.0.0 /usr/lib
|
|
$ sudo ln -s libzopflipng.so.1.0.0 /usr/lib/libzopflipng.so
|
|
$ sudo ln -s libzopflipng.so.1.0.0 /usr/lib/libzopflipng.so.1
|
|
$ sudo mkdir /usr/include/zopflipng
|
|
$ sudo cp src/zopflipng/zopflipng_lib.h /usr/include/zopflipng
|
|
|
|
Basic Installation
|
|
==================
|
|
|
|
You should be able to compile this software the standard way.
|
|
Unpack the archive (if not cloned from GIT), enter the directory
|
|
and compile the program.
|
|
The sequence should be something like:
|
|
|
|
$ tar xfv caesiumclt-*.tar.gz
|
|
$ cd caesiumclt-*
|
|
$ cmake .
|
|
$ make
|
|
$ sudo make install
|
|
|
|
Cloning from git
|
|
==================
|
|
$ git clone https://github.com/Lymphatus/CaesiumCLT
|
|
$ cd CaesiumCLT
|
|
$ autoreconf -fiv
|
|
$ cmake .
|
|
$ make
|
|
$ sudo make install
|
|
|
|
You can build out of the source tree in a separate folder. Add this steps before
|
|
invoking configure:
|
|
$ mkdir build
|
|
$ cd build
|
|
Then call:
|
|
$ cmake ..
|
|
$ make
|
|
$ sudo make install
|
|
|
|
|