I do not run KDE but wanted to try kamix. flash root # ACCEPT_KEYWORDS="~x86" emerge -pv kamix These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] media-sound/kamix-0.5.7 -arts -debug -xinerama 0 kB Total size of downloads: 0 kB flash root # flash root # ACCEPT_KEYWORDS="~x86" emerge kamix <SNIP> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -fomit-frame-pointer -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -c -o alsacb.o `test -f 'alsacb.cpp' || echo './'`alsacb.cpp In file included from main.cpp:5: kamix.h:53: error: syntax error before `*' token kamix.h:54: error: syntax error before `*' token kamix.h:55: error: syntax error before `::' token make[2]: *** [main.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from alsacb.cpp:13: kamix.h:23:30: arts/kartsserver.h: No such file or directory kamix.h:24:34: arts/kartsdispatcher.h: No such file or directory kamix.h:25:27: arts/artsflow.h: No such file or directory In file included from alsacb.cpp:13: kamix.h:53: error: syntax error before `*' token kamix.h:54: error: syntax error before `*' token kamix.h:55: error: syntax error before `::' token make[2]: *** [alsacb.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/kamix-0.5.7/work/kamix/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kamix-0.5.7/work/kamix' make: *** [all] Error 2 !!! ERROR: media-sound/kamix-0.5.7 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make flash root # Reproducible: Always Steps to Reproduce: 1. emerge kamix Actual Results: As shown above Expected Results: Should build flash root # emerge info Portage 2.0.50-r11 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.9-rc2-mm4-VP-S7-UMP-noACPI) ================================================================= System uname: 2.6.9-rc2-mm4-VP-S7-UMP-noACPI i686 Mobile Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.gentoo.gr.jp http://www.zentek-international.com/mirrors/gentoo/" 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="X aalib alsa apm audiofile avi berkdb bitmap-fonts bonobo caps cdr crypt cups dvd dvdr encode esd f77 fluidsynth foomaticdb gdbm gif gimp gimpprint gphoto2 gpm gtk gtk2 gtkhtml guile imlib jack jack-tmpfs java jpeg ladcca libg++ libwww mad mikmod mmx motif mozcalendar mozilla mpeg ncurses nls nptl oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype usb video_cards_radeon x86 xml2 xmms xprint xv zlib" flash root #
Looking at the code looks like the arts stuffs are used only if the vumeter is enabled, so a workaround in the ebuild will be to disable it if arts is disabled. Of course the right solution is a little change in configure. if this works I'll submit a configure.in patch upstream. I'll attach the ebuild, please try it. Thanks.
Created attachment 42311 [details] kamix-0.5.7.ebuild
Sounds fine. I use meterbridge for VUs anyway. I don't know much about using ebuild that don't come from portage. Where do I put this to make it visible to emerge? Sorry. I'm just an end-user type. Downloaded and ready to go.
The right way will be to create a overlay tree for example in /usr/local/portage and add it in your /etc/make.conf to PORTDIR_OVERLAY (uncomment it) now you should create inside it the dir 'media-sound' then cp -r /usr/portage/media-sound/kamix /usr/local/portage/media-sound/ now you can copy the attached ebuild inside /usr/local/portage/media-sound/kamix and launch the emerge like before. The faster way is to directly overwrite the old ebuild with the new inside /usr/portage/media-sound/kamix. let me know if it works.
Thanks. Great instructions. kamix seems to have built correctly. The PCM, headphone and Master faders work. Looks successful to me. It's a bit hard for me to tell what's missing. I'm getting a few places on the record tab that look like they should have some sort of control but there isn't one. that may be a problem with kamix, or it may be the way it works and my sound chip doesn't support those features. I cannot tell yet. Last thing - If I leave this overlay direcoty in place, then when you come out with a new ebuild through portage will I use this one or your new one? Thanks for the quick response! Great work!
Good, committed in CVS. > It's a bit hard for me to tell what's missing. I'm getting a few places on the record tab that look like they should have some sort of control but there isn't one. that may be a problem with kamix, or it may be the way it works and my sound chip doesn't support those features. I cannot tell yet. I have this too. > Last thing - If I leave this overlay direcoty in place, then when you come out with a new ebuild through portage will I use this one or your new one? The ebuilds in the overlay are used if they have the same or greater version of the portage ones. So this won't hurt.
Thanks!