php-doc-en/internals2/pdo/building.xml

63 lines
1.7 KiB
XML
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<sect1 xml:id="internals2.pdo.building" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>Building</title>
<para>
The build process is designed to work with PEAR (see <link
xlink:href="&url.php.pear;"/> for more information about
PEAR). There are two files that are used to assist in configuring your
package for building. The first is config.m4 which is the
<command>autoconf</command> configuration file for all platforms except
Win32. The second is config.w32 which is a build configuration file for use
on Win32. Skeleton files for these are built for you when you first set up
your project. You then need to customize them to fit the needs of your
project. Once you've customized your config files, you can build your driver
using the following sequence of commands:
</para>
<para>
Before first build:
</para>
<screen><![CDATA[
$ sudo pecl install PDO
]]></screen>
<para>
For each build:
</para>
<screen><![CDATA[
$ cd pdo_SKEL
$ phpize
$ ./configure
$ make
$ sudo make install
]]></screen>
<para>
The process can then be repeated as necessary during the development
process.
</para>
</sect1>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->