2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 06:09:30 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:39:12 +00:00
|
|
|
<sect1 xml:id="internals2.pdo.building" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2005-10-03 22:02:16 +00:00
|
|
|
<title>Building</title>
|
|
|
|
<para>
|
2007-06-20 22:39:12 +00:00
|
|
|
The build process is designed to work with PEAR (see <link
|
|
|
|
xlink:href="&url.php.pear;"/> for more information about
|
2005-10-03 22:02:16 +00:00
|
|
|
PEAR). There are two files that are used to assist in configuring your
|
2007-06-06 05:20:48 +00:00
|
|
|
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:
|
2005-10-03 22:02:16 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>
|
|
|
|
Before first build:
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<screen><![CDATA[
|
2007-03-03 22:31:02 +00:00
|
|
|
$ sudo pecl install PDO
|
2005-10-03 22:02:16 +00:00
|
|
|
]]></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
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2005-10-03 22:02:16 +00:00
|
|
|
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
|
|
|
|
-->
|