emerge xmame .... Compiling src/unix/sysdep/dsp-drivers/esound.c ... Compiling src/unix/sysdep/dsp-drivers/artssound.c ... sysdep/dsp-drivers/artssound.c:30: artsc.h: No such file or directory sysdep/dsp-drivers/artssound.c:38: parse error before `arts_stream_t' sysdep/dsp-drivers/artssound.c:38: warning: no semicolon at end of struct or union sysdep/dsp-drivers/artssound.c: In function `arts_dsp_create': sysdep/dsp-drivers/artssound.c:90: sizeof applied to an incomplete type sysdep/dsp-drivers/artssound.c:99: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:108: warning: implicit declaration of function `arts_init' sysdep/dsp-drivers/artssound.c:109: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:109: warning: implicit declaration of function `arts_play_stream' sysdep/dsp-drivers/artssound.c:115: warning: implicit declaration of function `arts_stream_set' sysdep/dsp-drivers/artssound.c:115: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:115: `ARTS_P_BUFFER_TIME' undeclared (first use in this function) sysdep/dsp-drivers/artssound.c:115: (Each undeclared identifier is reported only once sysdep/dsp-drivers/artssound.c:115: for each function it appears in.) sysdep/dsp-drivers/artssound.c:120: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:120: `ARTS_P_BLOCKING' undeclared (first use in this function) sysdep/dsp-drivers/artssound.c: In function `arts_dsp_destroy': sysdep/dsp-drivers/artssound.c:131: warning: implicit declaration of function `arts_close_stream' sysdep/dsp-drivers/artssound.c:131: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:132: warning: implicit declaration of function `arts_free' sysdep/dsp-drivers/artssound.c: In function `arts_dsp_write': sysdep/dsp-drivers/artssound.c:145: warning: implicit declaration of function `arts_write' sysdep/dsp-drivers/artssound.c:145: dereferencing pointer to incomplete type sysdep/dsp-drivers/artssound.c:152: warning: implicit declaration of function `arts_error_text' sysdep/dsp-drivers/artssound.c:152: warning: format argument is not a pointer (arg 3) make[1]: *** [../../xmame.obj/unix.x11/sysdep/dsp-drivers/artssound.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmame-0.72.1/work/xmame-0.72.1/src/unix' make: *** [osdepend] Error 2 !!! ERROR: app-emulation/xmame-0.72.1 failed. !!! Function src_compile, Line 78, Exitcode 2 !!! (no error message)
Don't forget the emerge info output as instructed on the bug submission page.
# emerge info Portage 2.0.49-r2 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r8, 2.4.21) ================================================================= System uname: 2.4.21 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=i686 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=i686 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss 3dnow apm arts avi crypt cups encode jpeg kde libg++ mikmod mmx mpeg ncurses pdflib quicktime spell truetype xml2 xmms xv alsa berkdb bonobo cdr esd gdbm gif gnome gnome-libs gpm gtk gtkhtml guile imlib java libwww motif mozilla nls oggvorbis opengl pam perl png python qt readline sdl slang ssl svga tcltk tcpd tetex tiff X"
what does ls -l /var/db/pkg/kde-base/arts*/CONTENTS grep artsc.h /var/db/pkg/kde-base/*/CONTENTS give you?
# ls -l /var/db/pkg/kde-base/arts*/CONTENTS -rw-r--r-- 1 root root 13058 Dec 9 2002 /var/db/pkg/kde-base/arts-1.0.4/CONTENTS # grep artsc.h /var/db/pkg/kde-base/*/CONTENTS /var/db/pkg/kde-base/arts-1.0.4/CONTENTS:obj /usr/kde/3/include/artsc/artsc.h 73e66ad782172cb6a89cdacd96ee64cd 1039443213
What does "artsc-config --libs ; artsc-config --cflags" say?
# artsc-config --libs ; artsc-config --cflags -bash: artsc-config: command not found -bash: artsc-config: command not found
hmmm, looks like it might be time to: env-update . /etc/profile and try again.
Same here: # env-update >>> Regenerating /etc/ld.so.cache... # . /etc/profile # artsc-config --libs ; artsc-config --cflags -bash: artsc-config: command not found -bash: artsc-config: command not found
What's your PATH look like? You should have an artsc-config in your path. so... echo $PATH
# echo $PATH /bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/2.95:/opt/Acrobat5:/usr/X11R6/bin:/opt/blackdown-jdk-1.3.1/bin:/opt/blackdown-jdk-1.3.1/jre/bin:/usr/qt/3/bin:/usr/qt/2/bin
Where's your kde bin directory? Your environment isn't getting set up correctly. emerge gentoolkit if you haven't already and do qpkg -l arts | egrep "/etc/" You should get something like: /etc/env.d /etc/env.d/49kdepaths-3.1.2 /etc/env.d/56kdedir-3.1.2 (You'll have something different since you're not running kde 3.1) Then run cat filename for each file that qpkg spits out and post the output of all that.
# find / -iname 'artsc-config' -print /usr/kde/3/bin/artsc-config # /usr/kde/3/bin/artsc-config --libs -L/usr/kde/3/lib -ldl -lartsc -lpthread # /usr/kde/3/bin/artsc-config --cflags -I/usr/kde/3/include/artsc
yeah, I'm sure artsc-config works fine, but it's not in your path. I'm trying to figure out why. There should be some environment variables in /etc/env.d that add kde bin directories to your path. What do you have in /etc/env.d?
# ls /etc/env.d/ 00basic 10acroread5 45qt3 50qtdir3 99xine 01hostname 10mozilla 45qtdir2 70less gcc 05gcc 10xfree 50gconf 93sgmltools-lite java 05gcc-3.2 20java 50glib2 99fltk-1.1 09opengl 30java-finalclasspath 50qt2 99kde-env
I'd still like to see the ouput of the qpkg stuff I asked for if you don't mind.
looks like you need to re-emerge arts and make sure you're running kde-3.1.x ... your arts stuff is still sitting in the old kde-3.0 path
i mistook some output of mr bones to be yours ... please post the output of the following commands: qpkg -I -v kde ls /usr/kde/
Following your previous directions I did the following: emerge arts emerge xmame and it worked OK this time. I guess arts should be somehow in the dependencies for xmame? Thanks.
arts? ( kde-base/arts ) it is ... you just needed to re-emerge it apparently ...