Changeset e470a4c for multimedia/libdriv


Ignore:
Timestamp:
08/11/2004 07:22:16 PM (20 years ago)
Author:
Randy McMurchy <randy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 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, 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:
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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.