mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
f45b195302
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3 af4574ff-66df-0310-9fd7-8a98e5e911e0
74 lines
2.7 KiB
XML
74 lines
2.7 KiB
XML
<sect1 id="arts" xreflabel="arts-&arts-version;">
|
|
<?dbhtml filename="arts.html" dir="multimedia"?>
|
|
<title>aRts-&arts-version;</title>
|
|
|
|
<para><screen>Estimated build disk space: 35 MB
|
|
Estimated installed space: 5.7 MB
|
|
Package size: &arts-size;
|
|
Estimated build time: 11 min (667 MHz)</screen></para>
|
|
|
|
<para>The Analog Realtime Synthesizer (aRts) provides sound support for KDE.
|
|
It provides necessary libraries for kdelibs. It will use the
|
|
following optional packages, if installed:
|
|
<screen><xref linkend="alsa"/>, <xref linkend="audiofile"/>, <xref linkend="libvorbis"/>,
|
|
and <xref linkend="objprelink"/>.</screen></para>
|
|
|
|
<para>
|
|
<screen><userinput>./configure --prefix=&kde-dir; --enable-objprelink \
|
|
--disable-debug --disable-dependency-tracking &&
|
|
make &&
|
|
make install &&
|
|
ln -sf &kde-dir; /opt/kde</userinput></screen></para>
|
|
|
|
<note><para>Another configure option is <userinput>--enable-final</userinput>.
|
|
This option can speed up the build process, but requires a lot of memory. If
|
|
you have less than 256MB of RAM, this option will cause swapping and
|
|
significantly slow compilation. This option applies to all the
|
|
kde packages.</para></note>
|
|
|
|
<sect2><title>aRts Installation Commmand explanations</title>
|
|
<para><userinput>--prefix=&kde-dir;:</userinput> This option tells the
|
|
process to install the package in &kde-dir;.</para>
|
|
|
|
<warning><para>
|
|
<filename>objprelink</filename> has been known to cause problems on some
|
|
systems. If it does not work on your system you will have to rebuild kde
|
|
without it.</para></warning>
|
|
|
|
<para><userinput>--enable-objprelink:</userinput> This option enables
|
|
the linking process to optimize executable loading times by prelinking
|
|
many internal references.
|
|
</para>
|
|
|
|
<para><userinput>--disable-debug:</userinput> This option causes the
|
|
system to be compiled without debugging code.
|
|
</para>
|
|
|
|
<para><userinput>--disable-dependency-tracking:</userinput> This option speeds
|
|
up one time builds.
|
|
</para>
|
|
|
|
<para><userinput>ln -s &kde-dir; /opt/kde:</userinput> This command creates
|
|
a link for access to KDE. If a newer version of KDE is released, the new
|
|
system can be built by changing the <userinput>--prefix</userinput> location
|
|
and then set up by just changing the link.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Configuring aRts</title>
|
|
<para>The library directory <filename class="directory">/opt/kde/lib</filename>
|
|
should appear in <filename>/etc/ld.so.conf</filename>
|
|
so that ldd can find the shared libraries. The following command will add it
|
|
if it is missing:
|
|
<screen><userinput>cat >> /etc/ld.so.conf << "EOF"</userinput>
|
|
# Begin kde addition to /etc/ld.so.conf
|
|
|
|
/opt/kde/lib
|
|
|
|
# End kde addition
|
|
<userinput>EOF
|
|
ldconfig</userinput></screen></para>
|
|
</sect2>
|
|
</sect1>
|