Skip to content

Building libtecla

Jon Szymaniak edited this page Dec 9, 2013 · 7 revisions

Download and extract the latest release

Fetch the latest release from the official site. This is always named libtecla.tar.gz.

wget http://www.astro.caltech.edu/~mcs/tecla/libtecla.tar.gz

Extract the tarball to the current directory. A libtecla/ directory will be extracted.

tar xzf libtecla.tar.gz

Configure and build

By default, libtecla will install into /usr/local. If you wish to install the library elsewhere, add --prefix=<desired location> to the following configure command.

Configure the build via: CC=gcc ./configure or CC=clang ./configure, depending upon which compiler you'd like to use.

Install

Install via:

sudo make install
Clone this wiki locally