source: gnome/core/pre-install-config.xml@ 1365d551

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 1365d551 was 4a96d460, checked in by Randy McMurchy <randy@…>, 13 years ago

Added installing the environment variable PYTHONPATH to the GNOME Pre-Installation tasks, also changed hardcoded Python version instances to use an existing entity

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@8757 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.3 KB
RevLine 
[fdca4266]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[fdca4266]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
[85b98c3]8<sect1 id="gnome-pre-install-config">
[9ad96f5]9 <?dbhtml filename="pre-install-config.html"?>
[d1ea01e3]10
[15a1fed9]11 <sect1info>
12 <othername>$LastChangedBy$</othername>
13 <date>$Date$</date>
14 </sect1info>
[23abb34]15
[9ad96f5]16 <title>Pre-installation Configuration</title>
[23abb34]17
[15a1fed9]18 <para>Set an environment variable to resolve the prefix destination.</para>
[23abb34]19
[9ad96f5]20 <para>If <application>GNOME</application> is your desktop of choice:</para>
[23abb34]21
[15a1fed9]22<screen><userinput>export GNOME_PREFIX=/usr</userinput></screen>
[26a12b5]23
[9ad96f5]24 <para>If you want to try-out <application>GNOME</application>, or install
[3b269b9]25 it in an easy-to-remove location:</para>
[b394e5f7]26
[9761bea4]27 <note>
28 <para>You may wish to create a symbolic link to the actual versioned
29 directory using a non-versioned name. This has the advantage of an easier
30 path to type in all the changes below and also makes it easy to point
31 to a different/newer version of GNOME without changing all the edits
32 below. If you wish to use a non-versioned name in the changes below,
33 issue the following commands as the
34 <systemitem class='username'>root</systemitem> user:</para>
35
[790998f]36<screen role='root'><userinput>install -v -m755 -d /opt/gnome-&gnome-version;&gnome-minor-version; &amp;&amp;
37ln -v -s gnome-&gnome-version;&gnome-minor-version; /opt/gnome</userinput></screen>
[9761bea4]38 </note>
39
40 <para>If you created the symbolic link, change all instances of <filename
[790998f]41 class='directory'>/opt/gnome-&gnome-version;&gnome-minor-version;</filename>
[9761bea4]42 to <filename class='directory'>/opt/gnome</filename> in the instructions
43 below.</para>
[d1ea01e3]44
[790998f]45<screen><userinput>export GNOME_PREFIX=/opt/gnome-&gnome-version;&gnome-minor-version;</userinput></screen>
[d1ea01e3]46
[15a1fed9]47 <para>The try-out group will also need to make all the following
48 configuration changes:</para>
49
50 <para>Add to your system or personal profile:</para>
51
[790998f]52<screen><literal>export PATH=$PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/bin
53export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/pkgconfig
54export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnome-&gnome-version;&gnome-minor-version;/share/pkgconfig
[4a96d460]55export GNOME_LIBCONFIG_PATH=/usr/lib:/opt/gnome-&gnome-version;&gnome-minor-version;/lib
56export PYTHONPATH=$PYTHONPATH:/opt/gnome-&gnome-version;&gnome-minor-version;/lib/python&python-majorver;/site-packages</literal></screen>
[d1ea01e3]57
[15a1fed9]58 <para>Add to your <filename>/etc/ld.so.conf</filename>:</para>
[d1ea01e3]59
[9ad96f5]60<screen role='root'><userinput>cat &gt;&gt; /etc/ld.so.conf &lt;&lt; "EOF"
[15a1fed9]61<literal># Begin gnome addition to /etc/ld.so.conf
[d1ea01e3]62
[790998f]63/opt/gnome-&gnome-version;&gnome-minor-version;/lib
[d1ea01e3]64
[15a1fed9]65# End gnome addition</literal>
[9ad96f5]66EOF</userinput></screen>
[d1ea01e3]67
[58c6057]68 <para>Add to your <filename>/etc/man_db.conf</filename>:</para>
[d1ea01e3]69
[58c6057]70<screen role='root'><userinput>cat &gt;&gt; /etc/man_db.conf &lt;&lt; "EOF"
71<literal># Begin gnome addition to man_db.conf
[d1ea01e3]72
[790998f]73MANDATORY_MANPATH /opt/gnome-&gnome-version;&gnome-minor-version;/share/man
[d1ea01e3]74
[58c6057]75# End gnome addition to man_db.conf</literal>
[9ad96f5]76EOF</userinput></screen>
[d1ea01e3]77
[9761bea4]78 <tip>
79 <para>Remember to execute <command>ldconfig</command> as the
80 <systemitem class='username'>root</systemitem> user after installation of
81 libraries to update the linker's library cache.</para>
82 </tip>
83
[d1ea01e3]84</sect1>
Note: See TracBrowser for help on using the repository browser.