mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
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:
parent
929238e76b
commit
8d94e41537
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user