Changeset 50f6ac1 for x


Ignore:
Timestamp:
04/24/2012 05:54:36 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
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
Children:
ab0209e
Parents:
56199509
Message:

WebKitGTK 1.8.1

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • x/lib/webkitgtk.xml

    r56199509 r50f6ac1  
    88    "http://webkitgtk.org/releases/webkit-&webkitgtk-version;.tar.xz">
    99  <!ENTITY webkitgtk-download-ftp  " ">
    10   <!ENTITY webkitgtk-md5sum        "52b2feb0fae01e68432b547bd85e8d74">
     10  <!ENTITY webkitgtk-md5sum        "f2f01b1fdc7262a2eede81ebed0970b2">
    1111  <!ENTITY webkitgtk-size          "7.6 MB">
    1212  <!ENTITY webkitgtk-buildsize     "500 MB (38 MB installed)">
     
    132132
    133133    <para>
    134       If you want to run make with just one job, install
     134      If you want to run make with just one core, install
    135135      <application>WebKit</application> by running the following commands:
    136136    </para>
     
    140140
    141141    <para>
    142       If you have a multicore CPU and want to run make with multiple jobs,
    143       install <application>WebKit</application> by running the following
    144       commands:
     142      If you have a multicore CPU and want to run make with multiple jobs
     143      running in parallel, install <application>WebKit</application> with the
     144      following commands:
    145145    </para>
    146146
    147147<screen><userinput>./configure --prefix=/usr --enable-introspection &amp;&amp;
     148error_count=0
    148149until make -j$(getconf _NPROCESSORS_ONLN)
    149 do echo "Let's try that again..."
    150 done</userinput></screen>
     150do
     151  if (( $((error_count++)) &gt; 4 ))
     152  then
     153    echo Too Many Errors
     154    break
     155  fi
     156done
     157unset error_count</userinput></screen>
    151158
    152159    <para>
     
    174181      <option>--enable-introspection</option>: This option enables support for
    175182      <application>Gobject-Introspection</application> and is required for a
    176       <application>GNOME</application> desktop.
    177     </para>
    178 
    179     <para>
    180       <command>until make -j$(getconf _NPROCESSORS_ONLN)</command>). Sadly
     183      <application>GNOME</application> desktop. If you don't have
     184      <application>Gobject-Introspection</application> installed and don't want
     185      to install <application>GNOME</application> remove this option.
     186    </para>
     187
     188    <para>
     189      <command>error_count=0; until make ...</command>: Sadly
    181190      there are race conditions in the makefiles that will cause the build to
    182191      fail if you run make with multiple jobs. This simple hack works around
    183       that, <command>until</command> will keep running <command>make</command>
    184       until it succeeds. You will need to monitor the output of
    185       <command>make</command>. If an error occurs that is
    186       <emphasis>not</emphasis> due to a race condition then it will keep
    187       repeating <command>make</command> until you kill the process.
    188       <command>$(getconf _NPROCESSORS_ONLN)</command> prints
    189       the number of cores your computer seems to have.
     192      that problem by using <command>until</command> to keep running
     193      <command>make</command> until it succeeds. The variable
     194      <envar>error_count</envar> is incremented each time an error occurs and is
     195      checked to ensure that no more than 5 errors occur. This is so that if an
     196      error occurs that is <emphasis>not</emphasis> due to a race condition then
     197      it will not keep repeating <command>make</command> forever.
     198      <command>$(getconf _NPROCESSORS_ONLN)</command> prints the number of cores
     199      your computer seems to have. If you would prefer, you can use any positive
     200      integer such as 4.
    190201    </para>
    191202
Note: See TracChangeset for help on using the changeset viewer.