Changeset 229ed25 for BOOK/final-system/common/pkg-config-lite.xml
- Timestamp:
- Jan 4, 2014, 12:03:38 AM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- f90d077
- Parents:
- ec008670 (diff), e57ce38 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/pkg-config-lite.xml
rec008670 r229ed25 6 6 ]> 7 7 8 <sect1 id="ch-system-pkg-config " role="wrap">9 <?dbhtml filename="pkg-config .html"?>8 <sect1 id="ch-system-pkg-config-lite" role="wrap"> 9 <?dbhtml filename="pkg-config-lite.html"?> 10 10 11 <title>Pkg-config- &pkg-config-version;</title>11 <title>Pkg-config-lite-&pkg-config-lite-version;</title> 12 12 13 <indexterm zone="ch-system-pkg-config ">14 <primary sortas="a-Pkg-config ">Pkg-config</primary>13 <indexterm zone="ch-system-pkg-config-lite"> 14 <primary sortas="a-Pkg-config-lite">Pkg-config-lite</primary> 15 15 </indexterm> 16 16 … … 18 18 <title/> 19 19 20 <para>Pkg-config is a tool to help you insert the correct compiler options20 <para>Pkg-config-lite is a tool to help you insert the correct compiler options 21 21 on the command line when compiling applications and libraries.</para> 22 22 … … 24 24 25 25 <sect2 role="installation"> 26 <title>Installation of Pkg-config </title>26 <title>Installation of Pkg-config-lite</title> 27 27 28 <para os="a">Prepare Pkg-config for compilation:</para>28 <para os="a">Prepare Pkg-config-lite for compilation:</para> 29 29 30 <screen os="b"><userinput>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include" \ 31 GLIB_LIBS="-lglib-2.0" \ 32 ./configure --prefix=/usr</userinput></screen> 33 34 <variablelist os="bb"> 35 <title>The meaning of the new configure option:</title> 36 37 <varlistentry> 38 <term><parameter>GLIB_CFLAGS="-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include"</parameter></term> 39 <term><parameter>GLIB_LIBS="-lglib-2.0"</parameter></term> 40 <listitem> 41 <para>Pkg-config no longer comes with Glib and because Pkg-config 42 has not been installed itself it needs to be told where Glib is.</para> 43 </listitem> 44 </varlistentry> 45 </variablelist> 30 <screen os="b"><userinput>./configure --prefix=/usr</userinput></screen> 46 31 47 32 <para os="c">Compile the package:</para> … … 49 34 <screen os="d"><userinput>make</userinput></screen> 50 35 51 <para os="e">To test the results, issue: 52 <userinput>make check</userinput>.</para> 36 <para os="e">To test the results, issue:</para> 37 38 <screen os="e2"><userinput remap="test">make check</userinput></screen> 53 39 54 40 <para os="f">Install the package:</para> … … 58 44 </sect2> 59 45 60 <sect2 id="contents-pkg-config " role="content">61 <title>Contents of Pkg-config </title>46 <sect2 id="contents-pkg-config-lite" role="content"> 47 <title>Contents of Pkg-config-lite</title> 62 48 63 49 <segmentedlist> … … 76 62 <?dbhtml list-presentation="table"?> 77 63 78 <varlistentry id="pkg-config ">64 <varlistentry id="pkg-config-lite"> 79 65 <term><command>pkg-config</command></term> 80 66 <listitem> … … 82 68 information about installed libraries in the system. It is typically 83 69 used to compile and link against one or more libraries.</para> 84 <indexterm zone="ch-system-pkg-config pkg-config">85 <primary sortas="b-pkg-config ">pkg-config</primary>70 <indexterm zone="ch-system-pkg-config-lite pkg-config-lite"> 71 <primary sortas="b-pkg-config-lite">pkg-config</primary> 86 72 </indexterm> 87 73 </listitem>
Note:
See TracChangeset
for help on using the changeset viewer.