Overview ~~~~~~~~ cinerella-cvs tries to use esd, even when USE=-esd. This is prolly an autofoo problem. With USE=esd, all is fine. Steps to Reproduce ~~~~~~~~~~~~~~~~~~ $ emerge -C esd $ USE=-esd emerge cinerella-cvs Actual Results ~~~~~~~~~~~~~~ [...] [ebuild N ] media-video/cinelerra-cvs-20051005 USE="-3dnow alsa -esd mmx oss -static" 0 kB [...] checking for esd-config... no checking for ESD - version >= 0.2.7... no *** The esd-config script installed by ESD could not be found *** If ESD was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the ESD_CONFIG environment variable to the *** full path to esd-config. [...] if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../quicktime -I../guicast -I../libmpeg3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_FIREWIRE -DHAVE_ESOUND -DHAVE_ALSA -DHAVE_OSS -I/usr/include/mjpegtools -I/usr/include/mjpegtools/mpeg2enc -I/usr/include/mjpegtools/mplex -I/usr/include/OpenEXR -DPLUGIN_DIR=\"/usr/lib/cinelerra\" -O2 -march=i686 -fomit-frame-pointer -pipe -MT audioesound.o -MD -MP -MF ".deps/audioesound.Tpo" \ -c -o audioesound.o `test -f 'audioesound.C' || echo './'`audioesound.C; \ then mv -f ".deps/audioesound.Tpo" ".deps/audioesound.Po"; \ else rm -f ".deps/audioesound.Tpo"; exit 1; \ fi audioesound.C:9:17: esd.h: No such file or directory audioesound.C: In member function `int AudioESound::get_bit_flag(int)': audioesound.C:28: error: `ESD_BITS8' undeclared (first use this function) audioesound.C:28: error: (Each undeclared identifier is reported only once for each function it appears in.) audioesound.C:32: error: `ESD_BITS16' undeclared (first use this function) audioesound.C: In member function `int AudioESound::get_channels_flag(int)': audioesound.C:47: error: `ESD_MONO' undeclared (first use this function) audioesound.C:51: error: `ESD_STEREO' undeclared (first use this function) audioesound.C: In member function `virtual int AudioESound::open_input()': audioesound.C:72: error: `esd_format_t' undeclared (first use this function) audioesound.C:72: error: expected `;' before "format" audioesound.C:77: error: `format' undeclared (first use this function) audioesound.C:80: error: `esd_open_sound' undeclared (first use this function) audioesound.C:87: error: `esd_record_stream_fallback' undeclared (first use this function) audioesound.C: In member function `virtual int AudioESound::open_output()': audioesound.C:93: error: `esd_format_t' undeclared (first use this function) audioesound.C:93: error: expected `;' before "format" audioesound.C:98: error: `format' undeclared (first use this function) audioesound.C:101: error: `esd_open_sound' undeclared (first use this function) audioesound.C:108: error: `esd_play_stream_fallback' undeclared (first use this function) audioesound.C:110: error: `esd_get_latency' undeclared (first use this function) audioesound.C: In member function `virtual int AudioESound::close_all()': audioesound.C:130: error: `esd_close' undeclared (first use this function) make[3]: *** [audioesound.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/cinelerra' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005/cinelerra' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/cinelerra-cvs-20051005/work/cinelerra-cvs-20051005' make: *** [all] Error 2 Happy New Year!!!
This issue is fixed in cinelerra-cvs-20060219. I've noticed that bug 108512 is similar to this as well.
Cinelerra-cvs-20051005 has been removed. AFAIK, the actual version does not have this problem. Please check. Thanks! Marc.