Changeset e305fa83 for general


Ignore:
Timestamp:
11/28/2011 02:03:42 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:
c25920a
Parents:
265a5ac
Message:

Added --enable-64bit to the nspr page

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • general/genlib/nspr.xml

    r265a5ac re305fa83  
    6161      <listitem>
    6262        <para>Required patch: <ulink
    63           url="&patch-root;/nspr-&nspr-version;-pkgconfig-1.patch"/>
     63          url="http://www.linuxfromscratch.org/patches/downloads/nspr/nspr-&nspr-version;-pkgconfig-2.patch"/>
    6464      </para>
    6565      </listitem>
     
    7777    commands:</para>
    7878
    79 <screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-1.patch &amp;&amp;
     79<screen><userinput>patch -Np1 -i ../nspr-&nspr-version;-pkgconfig-2.patch &amp;&amp;
    8080cd mozilla/nsprpub &amp;&amp;
    81 ./configure --prefix=/usr \
    82             --with-mozilla \
    83             --with-pthreads &amp;&amp;
     81sed -i 's#^\(RELEASE_BINS =\).*#\1#' pr/src/misc/Makefile.in &amp;&amp;
     82./configure --prefix=/usr --with-mozilla --with-pthreads \
     83  $([ $(arch) = x86_64 ] &amp;&amp; echo --enable-64bit) &amp;&amp;
    8484make</userinput></screen>
    8585
     
    8989
    9090<screen role="root"><userinput>make install &amp;&amp;
    91 cp -v -LR dist/include/nspr /usr/include &amp;&amp;
    92 rm -v -f /usr/bin/{prerr.properties,compile-et.pl}</userinput></screen>
     91cp -v -LR dist/include/nspr /usr/include</userinput></screen>
    9392
    9493  </sect2>
     
    9897
    9998    <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
    100     support to the libraries (required if you want to build any Mozilla
    101     products).</para>
     99    support to the libraries (required if you want to build any other Mozilla
     100    products and link them to these libraries).</para>
    102101
    103102    <para><parameter>--with-pthreads</parameter>: This parameter forces use of
    104103    the system pthreads library.</para>
    105104
    106     <para><parameter>--enable-64bit</parameter>: This parameter is required
    107     <emphasis>on an x86_64 system</emphasis> to prevent
     105    <para><parameter>$([ $(arch) ... --enable-64bit</parameter>: This parameter
     106    is required <emphasis>on an x86_64 system</emphasis> to prevent
    108107    <command>configure</command> failing with a claim that this is a system
    109     without pthread support.</para>
     108    without pthread support. It has no effect on a 32 bit system.</para>
     109
     110    <para><command>sed -i 's#^\(RELEASE_BINS ...</command>: This disables
     111    installing two unneeded scripts.</para>
     112
     113    <para>If you don't want to compile and install the static versions of the
     114    libraries you can disable them with a sed:
     115    <command>sed -i '/^TARGETS/s# $(LIBRARY)##' config/rules.mk</command></para>
    110116
    111117  </sect2>
     
    142148      </varlistentry>
    143149
     150      <varlistentry id="libnspr4">
     151        <term><filename class='libraryfile'>libnspr4.{so,a}</filename></term>
     152        <listitem>
     153          <para>contains functions that provide platform independence for
     154          non-GUI operating system facilities such as threads, thread
     155          synchronization, normal file and network I/O, interval timing and
     156          calendar time, basic memory management (malloc and free) and shared
     157          library linking.</para>
     158          <indexterm zone="nspr libnspr4">
     159            <primary sortas="c-libnspr4">libnspr4.{so,a}</primary>
     160          </indexterm>
     161        </listitem>
     162      </varlistentry>
     163
     164      <varlistentry id="libplc4">
     165        <term><filename class='libraryfile'>libplc4.{so,a}</filename></term>
     166        <listitem>
     167          <para>contains functions that implement many of the features offered
     168          by libnspr4</para>
     169          <indexterm zone="nspr libplc4">
     170            <primary sortas="c-libplc4">libplc4.{so,a}</primary>
     171          </indexterm>
     172        </listitem>
     173      </varlistentry>
     174
     175      <varlistentry id="libplds4">
     176        <term><filename class='libraryfile'>libplds4.{so,a}</filename></term>
     177        <listitem>
     178          <para>contains functions that provide data structures.</para>
     179          <indexterm zone="nspr libplds4">
     180            <primary sortas="c-libplds4">libplds4.{so,a}</primary>
     181          </indexterm>
     182        </listitem>
     183      </varlistentry>
     184
    144185    </variablelist>
    145186
Note: See TracChangeset for help on using the changeset viewer.