source: multimedia/audioutils/lame.xml@ 45b5355

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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
Last change on this file since 45b5355 was 45b5355, checked in by Ken Moffat <ken@…>, 10 years ago

A different fix for lame on i686 gcc-4.9.0 : this one works on my hardware.

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

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[96570d92]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[8d8631b5]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[911d4c74]6
[c627795]7 <!ENTITY lame-download-http "&sourceforge-repo;/lame/lame-&lame-version;.tar.gz">
[8d8631b5]8 <!ENTITY lame-download-ftp " ">
[c627795]9 <!ENTITY lame-md5sum "84835b313d4a8b68f5349816d33e07ce">
[35bf1ea]10 <!ENTITY lame-size "1.4 MB">
[c627795]11 <!ENTITY lame-buildsize "11 MB">
[35bf1ea]12 <!ENTITY lame-time "0.3 SBU">
[8d8631b5]13]>
14
[5db3785e]15<sect1 id="lame" xreflabel="LAME-&lame-version;">
[15b9d663]16 <?dbhtml filename="lame.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>LAME-&lame-version;</title>
24
25 <indexterm zone="lame">
26 <primary sortas="a-LAME">LAME</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to LAME</title>
31
[c627795]32 <para>
33 The <application>LAME</application> package contains an MP3
34 encoder and optionally, an MP3 frame analyzer. This is useful
35 for creating and analyzing compressed audio files.
36 </para>
[15b9d663]37
[3fa825f6]38 &lfs75_checked;
[e355f3c6]39
[15b9d663]40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
[c627795]43 <para>
44 Download (HTTP): <ulink url="&lame-download-http;"/>
45 </para>
[15b9d663]46 </listitem>
47 <listitem>
[c627795]48 <para>
49 Download (FTP): <ulink url="&lame-download-ftp;"/>
50 </para>
[15b9d663]51 </listitem>
52 <listitem>
[c627795]53 <para>
54 Download MD5 sum: &lame-md5sum;
55 </para>
[15b9d663]56 </listitem>
57 <listitem>
[c627795]58 <para>
59 Download size: &lame-size;
60 </para>
[15b9d663]61 </listitem>
62 <listitem>
[c627795]63 <para>
64 Estimated disk space required: &lame-buildsize;
65 </para>
[15b9d663]66 </listitem>
67 <listitem>
[c627795]68 <para>
69 Estimated build time: &lame-time;
70 </para>
[15b9d663]71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">LAME Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
[35bf1ea]77 <para role="optional">
[c627795]78 <ulink url="http://dmalloc.com/">Dmalloc</ulink>,
[4a64872f]79 <ulink url="http://linux.softpedia.com/get/Programming/Debuggers/Electric-Fence-3305.shtml/">Electric Fence</ulink>,
[c627795]80 <xref linkend="libsndfile"/> and
[efdd9de]81 <xref linkend="nasm"/>
[35bf1ea]82 </para>
[15b9d663]83
[0e2aa08]84 <para condition="html" role="usernotes">User Notes:
[c627795]85 <ulink url="&blfs-wiki;/lame"/>
86 </para>
[15b9d663]87 </sect2>
88
89 <sect2 role="installation">
90 <title>Installation of LAME</title>
91
[3844cf2]92 <para>
[45b5355]93 First, if you are using i686 and gcc-4.9.0, fix a compile problem:
[3844cf2]94 </para>
95
[45b5355]96<screen role="nodump"><userinput>sed -i -e '/xmmintrin\.h/d' configure</userinput></screen>
[3844cf2]97
[c627795]98 <para>
99 Install <application>LAME</application> by running
100 the following commands:
101 </para>
[15b9d663]102
[f5084dd]103<screen><userinput>./configure --prefix=/usr --enable-mp3rtp --disable-static &amp;&amp;
[15b9d663]104make</userinput></screen>
105
[c627795]106 <para>
107 To test the results, issue: <command>make test</command>.
108 </para>
[b61b128]109
[c627795]110 <para>
111 Now, as the <systemitem class="username">root</systemitem> user:
112 </para>
[15b9d663]113
[24f2d4b]114<screen role="root"><userinput>make pkghtmldir=/usr/share/doc/lame-&lame-version; install</userinput></screen>
[15b9d663]115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
[45b5355]121 <para>
122 <option>sed -i -e '/xmmintrin\.h/d' configure</option> : with
123 gcc-4.9.0, 32-bit i686 builds fail in <filename>xmm_quantize_sub.c</filename>
124 with an error message <literal>error: inlining failed in call to always_inline
125 '_mm_loadu_ps'</literal>. This sed makes it appear as if
126 <filename>xmmintrin.h</filename> is not present. Do not use this on other
127 versions of gcc, or on x86_64.
128 </para>
129
[c627795]130 <para>
131 <option>--enable-mp3rtp</option>: This switch enables building
132 of the encode-to-RTP program.
133 </para>
[1ade38d]134
[f5084dd]135 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
136 href="../../xincludes/static-libraries.xml"/>
[c627795]137
138 <para>
139 <option>--enable-nasm</option>: Enable the use of
[efdd9de]140 <xref linkend="nasm"/> to compile optimized assembly routines.
[c627795]141 </para>
142
[15b9d663]143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Library</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
[c627795]154 <seg>
155 lame and mp3rtp
156 </seg>
157 <seg>
158 libmp3lame.so
159 </seg>
160 <seg>
[755bb92]161 /usr/include/lame and
162 /usr/share/doc/lame-&lame-version;
[c627795]163 </seg>
[15b9d663]164 </seglistitem>
165 </segmentedlist>
166
167 <variablelist>
168 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
169 <?dbfo list-presentation="list"?>
170 <?dbhtml list-presentation="table"?>
171
172 <varlistentry id="lame-prog">
173 <term><command>lame</command></term>
174 <listitem>
[c627795]175 <para>
176 creates MP3 audio files from raw
177 PCM or <filename>.wav</filename> data.
178 </para>
[15b9d663]179 <indexterm zone="lame lame-prog">
180 <primary sortas="b-lame">lame</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 <varlistentry id="mp3rtp">
186 <term><command>mp3rtp</command></term>
187 <listitem>
[c627795]188 <para>
189 is used to encode MP3 with RTP streaming of the output.
190 </para>
[15b9d663]191 <indexterm zone="lame mp3rtp">
192 <primary sortas="b-mp3rtp">mp3rtp</primary>
193 </indexterm>
194 </listitem>
195 </varlistentry>
196
197 <varlistentry id="libmp3lame">
[755bb92]198 <term><filename class="libraryfile">libmp3lame.so</filename></term>
[15b9d663]199 <listitem>
[c627795]200 <para>
201 libraries provide the functions necessary to convert
202 raw PCM and WAV files to MP3 files.
203 </para>
[15b9d663]204 <indexterm zone="lame libmp3lame">
[c627795]205 <primary sortas="c-libmp3lame">libmp3lame.so</primary>
[15b9d663]206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 </variablelist>
211
212 </sect2>
[f45b1953]213
214</sect1>
Note: See TracBrowser for help on using the repository browser.