Chapter 1. Installing PBC

Table of Contents

Simple Makefile
Quick start
Basics

The PBC library needs the GMP library.

This build system has been tested and works on Linux and Mac OS X with a fink installation.

$ ./configure
$ make
$ make install

On Windows, the configure command requires a couple of options:

$ ./configure -disable-static -enable-shared

By default the library is installed in /usr/local/lib. On some systems, this may not be in the library path. One way to fix this is to edit /etc/ld.so.conf and run ldconfig.

Simple Makefile

For speed and simplicity, I use simple.make during development. Naturally it is less portable.

$ make -f simple.make

PBC uses some GNU C extensions such as nested functions.