Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > cc556cc3ee61bc37dfbf99bf3b8835c8 > files > 33

lib64dbi-devel-0.9.0-2.mga4.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>Building and Installing libdbi</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="Database Independent Abstraction Layer for C"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="Contact Info"
HREF="contact.html"><LINK
REL="NEXT"
TITLE="libdbi in a Nutshell (Quickstart Guide)"
HREF="quickstart.html"></HEAD
><BODY
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Database Independent Abstraction Layer for C: libdbi Programmer's Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="contact.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="quickstart.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="BUILDINSTALL"
></A
>Chapter 2. Building and Installing libdbi</H1
><P
>libdbi uses the "autotools", i.e. <SPAN
CLASS="APPLICATION"
>automake</SPAN
>, <SPAN
CLASS="APPLICATION"
>autoconf</SPAN
>, and <SPAN
CLASS="APPLICATION"
>libtool</SPAN
> to provide a simple and consistend build and install process on all supported platforms. The good news is that you usually don't have to fiddle that much with <B
CLASS="COMMAND"
>./configure</B
> as libdbi provides only a single option:</P
><P
></P
><DIV
CLASS="VARIABLELIST"
><DL
><DT
><CODE
CLASS="OPTION"
>--disable-docs</CODE
></DT
><DD
><P
>If you build libdbi from a tarball, the docs are already prebuilt and ready to install. In this case, you don't need this option. However, if you build from a cvs checkout, this is a simple way to switch off building the documentation. This is useful if you don't want to install the prerequisites for building the docs (<SPAN
CLASS="APPLICATION"
>openjade</SPAN
>, the DocBook DSSSL stylesheets, <SPAN
CLASS="APPLICATION"
>TeX</SPAN
>, and <SPAN
CLASS="APPLICATION"
>JadeTeX</SPAN
>).</P
></DD
></DL
></DIV
><P
>If you type <B
CLASS="COMMAND"
>./configure --help</B
>, you'll see a few more options. These are provided by the autotools, and you should consult their documentation to make best use of them.</P
><P
>Once you have figured out which options to use or not, you are ready to go ahead and run:</P
><TABLE
BORDER="0"
BGCOLOR="#000000"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#32CD32"
><PRE
CLASS="SCREEN"
>      <SAMP
CLASS="PROMPT"
>$ </SAMP
><B
CLASS="COMMAND"
>./configure [your options]</B
>
      <SAMP
CLASS="PROMPT"
>$ </SAMP
><B
CLASS="COMMAND"
>make</B
>
      <SAMP
CLASS="PROMPT"
>$ </SAMP
><B
CLASS="COMMAND"
>sudo make install</B
></PRE
></FONT
></TD
></TR
></TABLE
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="contact.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="quickstart.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Contact Info</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>libdbi in a Nutshell (Quickstart Guide)</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>