<!DOCTYPE HTML PUBLIC "-//Norman Walsh//DTD DocBook HTML 1.0//EN">
<HTML
><HEAD
><TITLE
>How do I configure the source code for my system?
      (or... Where are the Makefiles hiding?)</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet"><LINK
REL="HOME"
TITLE="GNOME Frequently Asked Questions"
HREF="index.html"><LINK
REL="UP"
TITLE="Compiling GNOME"
HREF="compilinggnome.html"><LINK
REL="PREVIOUS"
TITLE="Compiling GNOME"
HREF="compilinggnome.html"><LINK
REL="NEXT"
TITLE="Where is configure hiding?"
HREF="x372.html"></HEAD
><BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>GNOME Frequently Asked Questions</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="compilinggnome.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Compiling GNOME</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x372.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN359"
>How do I configure the source code for my system?
      (or... Where are the Makefiles hiding?)</A
></H1
><P
>GNOME uses configure (generated by Autoconf) to set up the
      source code to compiler properly on your system. Configure will
      investigate how your system is set up, and define compiler
      constants to add or remove various pieces of code as
      needed.</P
><P
>Configure accepts a variety of options, type
      <B
CLASS="COMMAND"
>./configure --help</B
> for the full list.  The
      most important one is <TT
CLASS="USERINPUT"
><B
>--prefix</B
></TT
>, which
      tells the system where GNOME is to be installed.  If you omit
      the prefix, configure assumes you want
      <TT
CLASS="FILENAME"
>/usr/local</TT
>.  Most RPMs use a prefix of
      <TT
CLASS="FILENAME"
>/usr</TT
>.  Many users prefer to use a prefix of
      <TT
CLASS="USERINPUT"
><B
>/opt/gnome</B
></TT
>, which requires a little
      advance preparation, described below.</P
><P
>Configure also checks certain environment variables. Set
      your <TT
CLASS="ENVAR"
>CFLAGS</TT
> to equal whatever compiler options
      you want to make sure get passed, for example
      <TT
CLASS="USERINPUT"
><B
>-O6</B
></TT
> will maximize optimization,
      <TT
CLASS="USERINPUT"
><B
>-g</B
></TT
> will include debugging symbols,
      etc.</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="compilinggnome.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x372.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Compiling GNOME</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="compilinggnome.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Where is configure hiding?</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>