Recent Changes - Search:

Documents

Download

Building

Support

Wiki Stuff

edit SideBar

Building PTLib on Unix (pre-Wolf)

Main.BuildPTLibPreWolf History

Hide minor edits - Show changes to output

Changed line 3 from:
This page describes how to build PTLib to revision 2.4.2 (Wolf) or earlier.
to:
This page describes how to build PTLib prior to revision 2.4.2 (Wolf).
Added lines 3-5:
This page describes how to build PTLib to revision 2.4.2 (Wolf) or earlier.
For information on building later releases of PTLib, see [[BuildingPTLibUnix|this page]]

Changed lines 1-2 from:
(:title Building PTLib on Unix (pre-Wolf:)
to:
(:title Building PTLib on Unix (pre-Wolf) :)
Added lines 1-43:
(:title Building PTLib on Unix (pre-Wolf:)

!! Contents
# [[#Introduction|Introduction]]
# [[#Prerequisites|Prerequisites]]
# [[#Downloads|Download the PTLib source code]]
# [[#Build|@@configure@@ and build]]

[[#Introduction]]
!!1. Introduction

PTLib is built from source using @@make@@ and @@configure@@ in the same way as most other Unix programs.

[[#Prerequisites]]
!!2. Prerequisites

You will need the following:

* gcc 3.2.2 or later. Earlier versions of gcc may work, but are not maintained.

* GNU @@bison@@ and @@flex@@ must be installed.

* A copy of the PTLib source archive from the [[http://sourceforge.net/project/showfiles.php?group_id=204472|SourceForge download page]] or from [[http://wiki.opalvoip.org/index.php?n=Main.Subversion|Subversion]]

[[#Download]]
!!3. Download and install the PTLib source code

Download and extract the PTLib source code. For the purposes of this document, the directory that contains PTLIB will be indicated as ''installdir''/PTLIB

[[#Build]]
!!4. @@configure@@ and build

To build the release (optimised) version of PTLib, use the following commands:

--> @@cd@@ ''installdir''@@/PTLIB@@
--> @@./configure@@
--> @@make opt@@

To build the debug version (includes debugging symbols) of PTLib, use the following commands:

--> @@cd@@ ''installdir''@@/PTLIB@@
--> @@./configure@@
--> @@make debug@@
Edit - History - Print - Recent Changes - Search
Page last modified on October 09, 2008, at 03:18 AM