You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by mi...@apache.org on 2011/12/19 15:17:26 UTC

svn commit: r1220759 - /apr/site/trunk/docs/compiling_unix.html

Author: minfrin
Date: Mon Dec 19 14:17:26 2011
New Revision: 1220759

URL: http://svn.apache.org/viewvc?rev=1220759&view=rev
Log:
Update transformation.

Modified:
    apr/site/trunk/docs/compiling_unix.html

Modified: apr/site/trunk/docs/compiling_unix.html
URL: http://svn.apache.org/viewvc/apr/site/trunk/docs/compiling_unix.html?rev=1220759&r1=1220758&r2=1220759&view=diff
==============================================================================
--- apr/site/trunk/docs/compiling_unix.html (original)
+++ apr/site/trunk/docs/compiling_unix.html Mon Dec 19 14:17:26 2011
@@ -68,7 +68,7 @@
                 <table border="0" cellspacing="0" cellpadding="2" width="100%">
  <tr><td bgcolor="#525D76">
   <font color="#ffffff" face="arial,helvetica,sanserif">
-   <a name="requirements"><strong>Requirements</strong></a>
+   <a name="fromsource"><strong>Building from Source</strong></a>
   </font>
  </td></tr>
  <tr><td>
@@ -82,10 +82,6 @@
    make
    make install
 </pre>
-<p>As of this writing, APR is not quite ready to be installed as a
-   system-wide shared library; it currently works best when tied
-   directly to the application using it.
-</p>
 <p>Note that if you are compiling directly from the Subversion repository,
    you'll need GNU autoconf and GNU libtool installed, and you'll need
    to run <code>./buildconf</code> before running the commands listed above.
@@ -93,6 +89,118 @@
   </blockquote>
  </td></tr>
 </table>
+           <table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#525D76">
+  <font color="#ffffff" face="arial,helvetica,sanserif">
+   <a name="fromrpm"><strong>Building RPMs (Redhat / CentOS / Fedora)</strong></a>
+  </font>
+ </td></tr>
+ <tr><td>
+  <blockquote>
+<p>While APR is available as an RPM for most distributions, it can
+  sometimes be desirable to install and use the canonical version of
+  APR on these systems, replacing the natively provided versions
+  of the packages.</p>
+<p>While the APR project does not currently create binary RPMs for
+  the various distributions out there, it is easy to build your own
+  binary RPMs from the native APR and APR-Util tarballs as follows.</p>
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#828DA6">
+  <font color="#ffffff" face="arial,helvetica,sanserif">
+   <a name="creatingsrpms"><strong>Creating Source RPMs</strong></a>
+  </font>
+ </td></tr>
+ <tr><td>
+  <blockquote>
+<p>The APR and APR-Util source tarballs can be converted into SRPMs
+    as follows:</p>
+<example>
+      rpmbuild -ts apr-1.4.x.tar.bz2<br />
+      rpmbuild -ts apr-util-1.4.x.tar.bz2
+    </example>
+  </blockquote>
+ </td></tr>
+</table>
+<table border="0" cellspacing="0" cellpadding="2" width="100%">
+ <tr><td bgcolor="#828DA6">
+  <font color="#ffffff" face="arial,helvetica,sanserif">
+   <a name="buildingrpms"><strong>Building RPMs</strong></a>
+  </font>
+ </td></tr>
+ <tr><td>
+  <blockquote>
+<p>The APR RPM can be built directly from the APR source tarball using
+    the following command:</p>
+<example>
+      rpmbuild -tb apr-1.4.x.tar.bz2
+    </example>
+<p>Corresponding "-devel" packages will be required to be installed on your
+    build system prior to building the RPMs, the <code>rpmbuild</code> command
+    will automatically calculate what RPMs are required and will list any
+    dependencies that are missing on your system. These "-devel" packages will
+    not be required after the build is completed, and can be safely removed.</p>
+<p>If successful, the following RPMs will be created:</p>
+<dl>
+    <dt>apr-1.4.x-1.i686.rpm</dt>
+    <dd>The core APR library.</dd>
+
+    <dt>apr-debuginfo-1.4.x-1.i686.rpm</dt>
+    <dd>Debugging symbols for the library.</dd>
+
+    <dt>apr-devel-1.4.x-1.i686.rpm</dt>
+    <dd>Headers and development files for the library.</dd>
+
+    </dl>
+<p>An APR-Util RPM can be built directly from the APR-Util source
+    tarball using the following command:</p>
+<example>
+      rpmbuild -tb apr-util-1.4.x.tar.bz2
+    </example>
+<p>If successful, the following RPMs will be created:</p>
+<dl>
+    <dt>apr-util-1.4.x-1.i686.rpm</dt>
+    <dd>The core APR-Util library.</dd>
+
+    <dt>apr-util-debuginfo-1.4.x-1.i686.rpm</dt>
+    <dd>Debugging symbols for the library.</dd>
+
+    <dt>apr-util-devel-1.4.x-1.i686.rpm</dt>
+    <dd>Headers and development files for the library.</dd>
+
+    <dt>apr-util-dbm-1.4.x-1.i686.rpm</dt>
+    <dd>DBM driver, dependent on db4.</dd>
+
+    <dt>apr-util-pgsql-1.4.x-1.i686.rpm</dt>
+    <dd>DBD Postgres driver, dependent on postgresql.</dd>
+
+    <dt>apr-util-mysql-1.4.x-1.i686.rpm</dt>
+    <dd>DBD MySQL driver, dependent on mysql.</dd>
+
+    <dt>apr-util-sqlite-1.4.x-1.i686.rpm</dt>
+    <dd>DBD SQLite3 driver, dependent on sqlite3.</dd>
+
+    <dt>apr-util-freetds-1.4.x-1.i686.rpm</dt>
+    <dd>DBD FreeTDS driver, dependent on freetds.</dd>
+
+    <dt>apr-util-odbc-1.4.x-1.i686.rpm</dt>
+    <dd>DBD ODBC driver, dependent on unixODBC.</dd>
+
+    <dt>apr-util-ldap-1.4.x-1.i686.rpm</dt>
+    <dd>LDAP driver, dependent on openldap.</dd>
+
+    <dt>apr-util-openssl-1.4.x-1.i686.rpm</dt>
+    <dd>Crypto OpenSSL driver, dependent on openssl.</dd>
+
+    <dt>apr-util-nss-1.4.x-1.i686.rpm</dt>
+    <dd>Crypto NSS driver, dependent on Mozilla NSS.</dd>
+
+    </dl>
+  </blockquote>
+ </td></tr>
+</table>
+  </blockquote>
+ </td></tr>
+</table>
          </td>
    </tr>
    <!-- FOOTER -->