Difference between revisions of "JACK"
(→Required) |
|||
(13 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://prdownloads.sourceforge.net/jackit/jack-audio-connection-kit- | + | | 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 == | ||
Line 11: | Line 13: | ||
=== Required === | === Required === | ||
* [[ALSA Library]] | * [[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. | ||
+ | |||
+ | 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 63: | ||
CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | CC="gcc ${BUILD32}" PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" \ | ||
− | ./configure --prefix=/usr -- | + | ./configure --prefix=/usr --build=${CLFS_TARGET32} && |
make | make | ||
Install the package | Install the package | ||
− | make install | + | make install |
=== N32 === | === N32 === | ||
Line 64: | Line 97: | ||
== Contents == | == Contents == | ||
− | + | {| style="text-align: left;" | |
− | + | |-valign="top" | |
− | + | !Installed Directories: | |
+ | |None | ||
+ | |-valign="top" | ||
+ | !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 |
---|
Contents
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:
- 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
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} |