JACK

From CBLFS
Revision as of 09:16, 23 February 2010 by Liosy (talk | contribs) (Required)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Download Source: http://prdownloads.sourceforge.net/jackit/jack-audio-connection-kit-0.109.2.tar.gz

Introduction to JACK

JACK is a low-latency audio server, written for POSIX conformant operating systems such as GNU/Linux and Apple's OS X. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves.

Project Homepage: http://jackaudio.org/

Dependencies

Required

NOTE: If you are using reiserfs or ext3fs or anything except ext2fs for the directory where JACK puts its temporary files (/tmp by default), then the JACK team recommends that you do *one* of the following: Mount a tmpfs on /tmp. You should have a lot of swap space available in case some programs try to write very large files there. In your /etc/fstab add a line:

  none        /tmp    tmpfs   defaults        0       0
You'll probably want to reboot here, or kill X then 'mount /tmp'.
  OR

Alternatively, you can do this without affecting your /tmp:

  1. mkdir /mnt/ramfs

[edit /etc/fstab and add the following line]

none       /mnt/ramfs      tmpfs      defaults  0 0

Then add --with-default-tmpdir=/mnt/ramfs to the JACK configure line when you build it. No clients need to be recompiled.

Failure to do one of these could lead to extremely poor performance from JACK, since its normal operation will cause bursts of disk I/O that are completely unnecessary. This suggestion can also be used by ext2fs users if they wish.

Non-Multilib

Caution.png

Note

On 64-bit systems, JACK's default library path is ${prefix}/lib64. The --libdir=/usr/lib is to ensure the libraries always go to the proper place.

Compile the package:

./configure --prefix=/usr --libdir=/usr/lib &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
./configure --prefix=/usr --build=${CLFS_TARGET32} &&
make

Install the package

make install

N32

Compile the package:

sed -i "/libnn=/s/lib64/lib32/" configure &&
CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install

Contents

Installed Directories: None
Installed Programs: jack_midiseq, jack_midisine, jack_freewheel, jack_lsp, jack_bufsize, jack_showtime, jack_metro, jack_disconnect, jack_connect, jack_impulse_grabber, jack_monitor_client, jack_simple_client, jack_unload, jack_load, jackd
Installed Libraries: intime.{la,so}, inprocess.{la,so}, jack_oss.{la,so}, jack_dummy.{la,so}, jack_alsa.{la,so}, libjack.{la,so}