# bmeps 2.1.2

- Overview
- Download / Installation
- Usage
- Examples
- bmeps GUI
- mkpdfsls
- FAQ
- Change log
- Other projects
- PDF manual (en)
- PDF manual (de)
- Doxygen docu

## Installation

- Installation from source
- Before you install
- Download bmeps
- Unpack, compile and install bmeps
- Create shared libraries
- Installation package prefix
- Installation on Windows

### Installation from source

#### Before you install

Install the following libraries:

- zlib, http://www.zlib.net (required)
- libbz2, http://sources.redhat.com/bzip2/ (optional)
- libpng, http://www.libpng.org/pub/png/libpng.html (required)
- JPEG lib, ftp://ftp.uu.net/graphics/jpeg/jpegsrc.v6b.tar.gz (required)
- NetPBM, ftp://ftp.metalab.unc.edu/pub/Linux/apps/graphics/convert/netpbm-10.11.10.tgz (optional)
- Tiff library, http://www.remotesensing.org/libtiff (optional)
- dklibs libraries (version 1.20.4 or above required, 1.20.6 or above strongly recommended), http://dklibs.sourceforge.net/ (required)

On Linux distributions you can install the most of these libraries (except dklibs) using your distribution's package management. Make sure to install developer support for the libraries too, developer support contains the header files needed by the compiler.

#### Download bmeps

Bmeps is available at SourceForge, see http://sourceforge.net/projects/bmeps.

#### Unpack, compile and install bmeps

Use

    gzip -dc bmeps-2.0.0.tar.gz | tar xvf -

to unpack the source archive. Change into the bmeps-2.0.0 directory and run

    ./configure
    make
    make install

to build and install the software.

#### Create shared libraries

Use

    ./configure
    make -f Makefile-shared-linux
    make -f Makefile-shared-linux install

to create libdkbif.so and libbmeps.so instead of libdkbif.a and libbmeps.a.

#### Installation package prefix

Use<7p>

    ./configure
    make
    make pp=/tmp/bmeps-files install

to create a binary which is running from /usr/local/bin but install a directory structure in /tmp/bmeps-files. This can be used to prepare a directory structure for rpm or other binary packag generation.

### Installation on Windows

Windows users should download the dklibs-win32-*-*.exe executable setup file from http://sourceforge.net/projects/dklibs. The dklibs-win32-*-user.exe file installs binaries, libraries and documentation. This is the recommended setup.
The dklibs-win32-*-base.exe file installs the binaries only, documentation start menu entries point to web resources. You should use this setup only if you need to save disk space and the computer is connected to the internet permanently.