Difference between revisions of "JACK"

From CBLFS
Jump to navigationJump to search
 
(Required)
 
(17 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://prdownloads.sourceforge.net/jackit/jack-audio-connection-kit-0.102.20.tar.gz?download
+
| http://prdownloads.sourceforge.net/jackit/jack-audio-connection-kit-{{Jack-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|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.|http://jackaudio.org/}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Required ===
 
=== Required ===
 +
* [[ALSA Library]]
 +
 +
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:
 +
 +
# 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.
  
[[ALSA Library]]
+
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 ==
 
== Non-Multilib ==
 +
 +
{{Note|On 64-bit systems, JACK's default library path is ${prefix}/lib64. The <nowiki>--libdir=/usr/lib</nowiki> is to ensure the libraries always go to the proper place.}}
  
 
Compile the package:
 
Compile the package:
  
  ./configure --prefix=/usr &&
+
  ./configure --prefix=/usr --libdir=/usr/lib &&
 
  make
 
  make
  
Line 30: Line 62:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
+
  CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \
 +
./configure --prefix=/usr --build=${CLFS_TARGET32} &&
 
  make
 
  make
  
 
Install the package
 
Install the package
  
  make install &&
+
  make install
  
 
=== N32 ===
 
=== N32 ===
Line 41: Line 74:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
+
sed -i "/libnn=/s/lib64/lib32/" configure &&
 +
  CC="gcc ${BUILDN32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" \
 +
./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
  
Line 52: Line 87:
 
Compile the package:
 
Compile the package:
  
  CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
+
  CC="gcc ${BUILD64}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" \
 +
./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make
  
Line 61: Line 97:
 
== Contents ==
 
== Contents ==
  
* Installed Programs: jack_midiseq, jack_midisine, jack_freewheel, jack_lsp, jack_bufsize,
+
{| style="text-align: left;"
                      jack_showtime, jack_metro, jack_disconnect, jack_connect,
+
|-valign="top"
                      jack_impulse_grabber, jack_monitor_client, jack_simple_client
+
!Installed Directories:
                      jack_unload, jack_load, jackd
+
|None
* Installed Libraries: intime.{la,so}, inprocess.{la,so}, jack_oss.{la,so}, jack_dummy.{la,so},
+
|-valign="top"
                      jack_alsa.{la,so}, libjack.{la,so}
+
!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
 +
|-valign="top"
 +
!Installed Libraries:
 +
|intime.{la,so}, inprocess.{la,so}, jack_oss.{la,so}, jack_dummy.{la,so}, jack_alsa.{la,so}, libjack.{la,so}
 +
|}

Latest revision as of 08:16, 23 February 2010

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}
Retrieved from "?title=JACK&oldid=19931"