Added PKG_CONFIG_PATH note to XFree86

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1756 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Tushar Teredesai 2004-02-01 17:34:17 +00:00
parent 929238e76b
commit 8d94e41537
2 changed files with 9 additions and 4 deletions

View File

@ -1,14 +1,14 @@
<sect2>
<title>Configuring <application>pkgconfig</application></title>
<para>Add to your system or personal profile:</para>
<screen><userinput><command>export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig</command></userinput></screen>
<para>The default settings for <envar>PKG_CONFIG_PATH</envar> are
<filename>/lib/pkgconfig</filename>,
<filename>/usr/lib/pkgconfig</filename> and
<filename>/usr/local/lib/pkgconfig</filename>. These settings are hard-coded
and do not have to be exported with the additional paths.</para>
and do not have to be exported with the additional paths. You may add to
<envar>PKG_CONFIG_PATH</envar> by exporting additional paths on your system where pkgconfig
files are installed. Note that <envar>PKG_CONFIG_PATH</envar> is only needed when
compiling packages, not during run-time.</para>
</sect2>

View File

@ -12,6 +12,11 @@ look something like <parameter>PATH=$PATH:/usr/X11R6/bin</parameter>
and be placed before the <command>export PATH</command>
statement.</para>
<para>Expand the <envar>PKG_CONFIG_PATH</envar> so that other packages
can find <application>XFree86</application> libraries. Add the following line to
<filename>.bash_profile</filename> for root user:</para>
<screen><userinput><command>export PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig</command></userinput></screen>
<para>Run</para>
<screen><userinput><command>source ~/.bash_profile</command></userinput></screen>