i emerged jack-audio-connection-kit 0.99.0, but jack wont start the status windows gives the following: 05:20:12.609 Patchbay deactivated. 05:20:14.374 Statistics reset. 05:20:14.613 MIDI connection graph change. JACK compiled with System V SHM support 05:21:17.858 Startup script... 05:21:17.859 artsshell -q terminate unix_connect: can't connect to server (unix:/tmp/mcop-charles/Luisa-76fb-43c25de0) 05:21:18.898 Startup script terminated with exit status=256. 05:21:18.898 JACK is starting... 05:21:18.898 /usr/bin/jackd -R -dalsa -dhw:0 -r48000 -p1024 -n2 05:21:18.908 JACK was started with PID=6511 (0x196f). jackd 0.99.0 Copyright 2001-2003 Paul Davis and others. jackd comes with ABSOLUTELY NO WARRANTY This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING for details cannot lock down memory for jackd (Cannot allocate memory) loading driver .. apparent rate = 48000 creating alsa driver ... hw:0|hw:0|1024|2|48000|0|0|nomon|swmeter|-|32bit control device hw:0 configuring for 48000Hz, period = 1024 frames, buffer = 2 periods Couldn't open hw:0 for 32bit samples trying 24bit instead Couldn't open hw:0 for 24bit samples trying 16bit instead JACK: unable to mlock() port buffers: Cannot allocate memory jack_create_thread: error -1 switching current thread to rt for inheritance: Unknown error 4294967295 cannot start watchdog thread cannot load driver module alsa 05:21:18.991 JACK was stopped successfully. 05:21:21.065 Could not connect to JACK server as client. My kernel is 2.6.12-gentoo-r6. I'm highly suspicious is that jack is by default compiled for sysV shared memory, but in 2.6 kernels it really should be compiled with the nptl support, but that's just a wild guess
$ emerge info *** You are not in the portage group. You may experience cache problems *** due to permissions preventing the creation of the on-disk cache. *** Please add this user to the portage group if you wish to use portage. Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Celeron(R) M processor 1.40GHz Gentoo Base System version 1.6.12 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="es_ES.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 crypt cups directfb emboss encode esd expat fam foomaticdb fortran gdbm gif glut gnome gpm gstreamer gtk gtk2 guile idn imlib ipv6 jack java jpeg junit kde lcms libg++ libwww mad mikmod mng motif mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime readline sdl spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev vorbis xml2 xmms xv zlib video_cards_i915 userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS
sorry, it was a fake, it ran ok as root... i'm feeling sort of ashamed :)
No worries. You can run as a non-priveleged user if you drop the realtime switch (-R)