Blob Blame History Raw
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>How to find, configure, install, and troubleshoot GTK+</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="GTK+ FAQ"
HREF="book1.html"><LINK
REL="PREVIOUS"
TITLE="What applications have been written with GTK+? [GTK 2.x]"
HREF="x165.html"><LINK
REL="NEXT"
TITLE="Where can I get GTK+? [GTK 2.x]"
HREF="x234.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"
>GTK+ FAQ</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x165.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x234.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="CHAPTER"
><H1
><A
NAME="AEN192"
></A
>How to find, configure, install, and troubleshoot GTK+</H1
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="FAQ-COMPILE"
>What do I need to compile GTK+? <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></A
></H1
><P
>GTK+ is a large package that is dependent on a number of other
tools and libraries. It is recommended that you use precompiled
binary packages for your system if possible</P
><P
>To compile GTK+ from source you need a C compiler (gcc) and
the X Window System and associated development libraries and packages
on your system.</P
><P
>You will also need to have installed the tools
and libraries that GTK+ depends upon. These are listed below in the order
in which they need to be installed:</P
><P
></P
><UL
COMPACT="COMPACT"
><LI
><SPAN
> pkg-config
(<A
HREF="http://pkg-config.freedesktop.org/wiki"
TARGET="_top"
>pkg-config Site</A
>)</SPAN
></LI
><LI
><SPAN
> GNU make
(<A
HREF="http://www.gnu.org/software/make/"
TARGET="_top"
>GNU make Site</A
>)</SPAN
></LI
><LI
><SPAN
> JPEG, PNG and TIFF image libraries
(<A
HREF="ftp://ftp.gtk.org/pub/gtk/v2.2/dependencies/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
><LI
><SPAN
> FreeType
(<A
HREF="http://www.freetype.org/"
TARGET="_top"
>FreeType Site</A
>)</SPAN
></LI
><LI
><SPAN
> fontconfig
(<A
HREF="http://www.fontconfig.org/"
TARGET="_top"
>fontconfig Site</A
>)</SPAN
></LI
><LI
><SPAN
> GNU libiconv library (if your system doesn't have iconv())
(<A
HREF="http://www.gnu.org/software/libiconv/"
TARGET="_top"
>GNU libiconv Site</A
>)</SPAN
></LI
><LI
><SPAN
> GNU gettext (if your system doesn't have gettext())
(<A
HREF="http://www.gnu.org/software/gettext/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
><LI
><SPAN
> GLib
(<A
HREF="ftp://ftp.gtk.org/pub/gtk/v2.2/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
><LI
><SPAN
> Pango
(<A
HREF="ftp://ftp.gtk.org/pub/gtk/v2.2/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
><LI
><SPAN
> ATK
(<A
HREF="ftp://ftp.gtk.org/pub/gtk/v2.2/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
><LI
><SPAN
> GTK+
(<A
HREF="ftp://ftp.gtk.org/pub/gtk/v2.2/"
TARGET="_top"
>GTK+ Site</A
>)</SPAN
></LI
></UL
></DIV
></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="x165.html"
ACCESSKEY="P"
>&#60;&#60;&#60; Previous</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="book1.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x234.html"
ACCESSKEY="N"
>Next &#62;&#62;&#62;</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>What applications have been written with GTK+? <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Where can I get GTK+? <I
CLASS="EMPHASIS"
>[GTK 2.x]</I
></TD
></TR
></TABLE
></DIV
></BODY
></HTML
>