Thank you for updating media-libs/stk to 4.4.2. I don't know whether Mr. Ballier made his ebuild from scratch or based it on my ebuild on Csound-Wii overlay (http://diesel.punk.dy.fi/viewgit/), but there is one important omission in the ebuild in portage: The environment variable RAWWAVE_PATH should be set by the ebuild, if it ever is supposed to be used by csound. I'd hate to have to maintain my own version of stk-4.4.2 just for that one variable. Please consider adding the following lines (or something similar) to the ebuild: +cat <<- EOF > 62stk +RAWWAVE_PATH=/usr/share/stk/rawwaves/ +EOF + +doenvd 62stk
Please explain why it is needed... maybe csound is modifying this variable while it shouldnt. Here it is fine: $ cat foo.cc #include <stk/Stk.h> #include <iostream> int main() { std::cout << stk::Stk::rawwavePath() << std::endl; return 0; } $ g++ foo.cc -lstk $ ./a.out /usr/share/stk/rawwaves/ seems all good; of course if you mess with this variable you'll mess things up.