Changeset 0efb837 for README.BLFS


Ignore:
Timestamp:
07/26/2007 07:07:03 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
2.3, 2.3.x, 2.4, ablfs, ablfs-more, legacy, new_features, trunk
Children:
35d99d6
Parents:
d1ede32
Message:

BLFS: Changes to handle the new Xorg7 installation commands structure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • README.BLFS

    rd1ede32 r0efb837  
    178178     edit the build script to fit the needs of your system.
    179179
    180    4.4  PDL and Perl modules.
     180   4.4  PDL, Perl modules, and Glib-Bindings.
    181181
    182182        The generated scripts for these packages are broken and can not
     
    194194
    195195        The generated scripts for Xorg7 pseudo-packages don't have support for
    196      $SRC_ARCHIVE nor MD5 checking.
    197 
    198         If you have previously downloaded the packages, you must edit the
    199      scripts to use your local packages.
    200 
    201         Also, you will need to edit the scripts to fix the commands that must
    202      be applied only to a concrete individual sub-package. For example, the
    203      "for" loop to install xorg7-util packages may read like:
    204 
    205 for package in $(cat $WGET_LST) ; do
    206   packagedir=$(echo $package | sed 's/.tar.bz2//')
    207   tar -xf $package
    208   cd $packagedir
    209   sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
    210   ./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config
    211   sudo sh -c "make install"
    212   ./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config &&
    213   make
    214   sudo sh -c "make install"
    215   ./configure $XORG_CONFIG &&
    216   make
    217   sudo sh -c "make install"
    218   cd ..
    219   rm -rf $packagedir
    220 done
    221 
    222         After reading the HTML page to find what command is for what package,
    223      the loop can be changed to read something like:
    224 
    225 for package in $(cat $WGET_LST) ; do
    226   packagedir=$(echo $package | sed 's/.tar.bz2//')
    227   tar -xf $package
    228   cd $packagedir
    229   if [ ${packagedir} = "xorg-cf-files" ] ; then
    230     sed -i "s@/usr/X11R6@$XORG_PREFIX@" X11.tmpl &&
    231     ./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config
    232     sudo sh -c "make install"
    233   elif [ ${packagedir} = "Imake" ] ; then
    234     ./configure $XORG_CONFIG --with-config-dir=$XORG_PREFIX/lib/X11/config &&
    235     make
    236     sudo sh -c "make install"
    237   else
    238     ./configure $XORG_CONFIG &&
    239     make
    240     sudo sh -c "make install"
    241   fi
    242   cd ..
    243   rm -rf $packagedir
    244 done
     196     $SRC_ARCHIVE. If you have previously downloaded the packages, you must edit
     197     the scripts to use your local packages.
    245198
    246199   4.6  PATCHES
     
    258211        If building as a normal user (the default setting), be sure that all
    259212     commands that require root privileges are run using sudo. Also make sure
    260      necessary root privilege commands are visible in your PATH. ie. ldconfig
    261      may not be in your user path and you will have to adjust all instances to
    262      include the full path.
     213     necessary root privilege commands are visible in your PATH.
    263214
    264215        Due to book layout issues, some sudo commands may be missing.
Note: See TracChangeset for help on using the changeset viewer.