Changeset e470a4c


Ignore:
Timestamp:
08/11/2004 07:22:16 PM (17 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 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, ken/refactor-virt, krejzi/svn, lazarus, nosym, perl-modules, qt5new, systemd-11177, systemd-13485, trunk, xry111/git-date, xry111/git-date-for-trunk, xry111/git-date-test
Children:
75107da6
Parents:
4273fa7f
Message:

Modified passing LIBS=-lm and added optional dependencies to FLAC

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

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • introduction/welcome/changelog.xml

    r4273fa7f re470a4c  
    2525<listitem><para>August 11th, 2004 [randy]: Added gcc34 patch and
    2626optional dependencies to SDL; clarified need for kernel patch in
    27 Net-tools instructions.</para></listitem>
     27Net-tools instructions; modified passing LIBS=-lm and added
     28optional dependencies to FLAC.</para></listitem>
    2829
    2930<listitem><para>August 10th, 2004 [randy]: Added patches to
  • multimedia/libdriv/flac.xml

    r4273fa7f re470a4c  
    33  <!ENTITY % general-entities SYSTEM "../../general.ent">
    44  %general-entities;
    5  
     5
    66  <!ENTITY flac-download-http "http://prdownloads.sourceforge.net/flac/flac-&flac-version;.tar.gz">
    77  <!ENTITY flac-download-ftp  " ">
     
    3636</sect3>
    3737
    38 <sect3><title><application><acronym>FLAC</acronym></application> dependencies</title>
     38<sect3><title><application><acronym>FLAC</acronym></application>
     39dependencies</title>
    3940<sect4><title>Optional</title>
    40 <para><xref linkend="libogg"/>, <xref linkend="xmms"/>, <xref
    41 linkend="id3lib"/> and <xref linkend="NASM"/>
     41<para><xref linkend="libogg"/>, <xref linkend="xmms"/>,
     42<xref linkend="id3lib"/>, <xref linkend="NASM"/>,
     43<ulink url="http://valgrind.kde.org/">Valgrind</ulink> and
     44<ulink url="http://www.stack.nl/~dimitri/doxygen/">doxygen</ulink>
    4245</para></sect4>
    4346</sect3>
     
    4649
    4750<sect2>
    48 <title>Installation of <application><acronym>FLAC</acronym></application></title>
     51<title>Installation of <application><acronym>FLAC</acronym></application>
     52</title>
    4953
    5054<para>Install <application><acronym>FLAC</acronym></application> by running the
    5155following commands:</para>
    5256
    53 <screen><userinput><command>./configure --prefix=/usr</command></userinput></screen>
     57<screen><userinput><command>LIBS=-lm ./configure --prefix=/usr &amp;&amp;
     58make &amp;&amp;
     59make install</command></userinput></screen>
    5460
    55 <para><filename class="libraryfile">libFLAC</filename> uses a function
     61<!-- <para><filename class="libraryfile">libFLAC</filename> uses a function
    5662from the math library but is not linked with <filename
    5763class="libraryfile">libm</filename>. Simply adding
     
    6167<screen><userinput><command>sed -i "s/^LIBS = /LIBS = -lm/" src/libFLAC/Makefile</command></userinput></screen>
    6268
    63 <para>Continue with the installation:</para>
     69<para>Continue with the installation:</para> -->
    6470
    65 <screen><userinput><command>make &amp;&amp;
    66 make install</command></userinput></screen>
     71<note><para>If you run the <command>make check</command> tests, it will take a
     72<emphasis>very</emphasis> long time (about 38 SBUs) and use about 80 MB of
     73disk space.</para></note>
     74
     75</sect2>
     76
     77<sect2><title>Command explanations</title>
     78<para><command>LIBS=-lm ./configure --prefix=/usr</command>:
     79<filename class="libraryfile">libFLAC</filename> uses a function from the math
     80library but is not linked with <filename class="libraryfile">libm</filename>.
     81Passing the environment variable to <command>configure</command> satisfies
     82this dependency.</para>
    6783
    6884</sect2>
Note: See TracChangeset for help on using the changeset viewer.