making swig more backward compatible
[lwes-php.git] / README
blob9f70ad5d75229a000869f5089fff523e783e427f
1 This is the PHP API for the Light Weight Event System.
3 It uses a PECL-compatible build system, so the simplest way
4 to compile and install this package is:
6   1. ./bootstrap
7   2. ./configure
8   3. make
9   4. make install
11 This will attempt to build and install the LWES extension into the
12 modules directory defined by "php-config".  Note that you must have
13 the LWES library installed first before you can install the PHP extension,
14 as well as have pkg-config setup to detect the location of the library.
16 You may need to edit the PKG_CONFIG_PATH variable if your system has
17 trouble detecting the location of LWES.  Most commonly, the following
18 environment variable needs to be set before running the above steps:
20   export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
22 So that pkg-config can pick up the .pc file needed to configure LWES.
24 However, if you are using a system install of LWES in /usr, usually
25 pkgconfig will pick up the .pc file in /usr/lib/pkgconfig, and no
26 manual intervention is necessary.