When I emerge xmms-arts I get this error: Calculating dependencies ...done! >>> emerge (1 of 1) media-plugins/xmms-arts-0.4-r6 to / >>> md5 ;-) xmmsarts-0.4.tar.gz >>> Unpacking source... >>> Unpacking xmmsarts-0.4.tar.gz patching file Makefile.am patching file Makefile.in patching file artsout.h patching file audio.c patching file audio.c patching file configure Hunk #1 succeeded at 1477 with fuzz 1 (offset -957 lines). patching file configure.in >>> Source unpacked. * Working directory: /var/tmp/portage/xmms-arts-0.4-r6/work/xmms-arts-0.4... * Cannot apply any patch, running libtoolize... You should update your `aclocal.m4' by running aclocal. qtmt creating cache ./config.cache checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for ranlib... ranlib checking for gcc... gcc checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc ) works... yes checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... ^Syes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes updating cache ./config.cache checking for object suffix... o checking for executable suffix... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs creating libtool loading cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether byte ordering is bigendian... no checking for gcc... (cached) gcc checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc ) works... yes checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for a BSD compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for fcntl.h... yes checking for sys/time.h... yes checking for glib-config... /usr/bin/glib-config checking for GLIB - version >= 1.2.0... yes checking for gtk-config... /usr/bin/gtk-config checking for GTK - version >= 1.2.0... yes checking for xmms... yes checking for pthread_attr_init in -lpthread... yes checking for xmms... /usr/bin/xmms updating cache ./config.cache creating ./config.status creating Makefile creating config.h cd . && aclocal cd . && automake --gnu --include-deps Makefile cd . && autoconf configure.in:12: AC_PROG_CPP was called before AC_PROG_CC configure.in:18: warning: AC_TRY_RUN called without default to allow cross compiling /bin/sh ./config.status --recheck running /bin/sh ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --no-create --no-recursion loading cache ./config.cache checking for Cygwin environment... no checking for mingw32 environment... no checking how to run the C preprocessor... (cached) gcc -E checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for gcc... (cached) gcc checking whether the C compiler (gcc -mcpu=athlon-xp -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include `artsc-config --cflags` ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [config.status] Error 1 !!! ERROR: media-plugins/xmms-arts-0.4-r6 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! (no error message)
i get the same behaviour. two problems: 1. no input files 2. usr/kde/3/bin/artsc-config is not in the path
/bin/sh ./config.status --recheck seems to be the line which breaks it. God knows why, or what, it's rechecking. I have absolutely no idea how or why this works, but it did for me. emerge xmms-arts # let it fail cd $PORTAGE_TMPDIR/xmms-arts-0.4-r6/work/xmms-arts-0.4/ ./configure # this should work make # just make sure (I only let it compile for second) cd ../.. ebuild /usr/portage/media-plugins/xmms-arts/xmms-arts-0.4-r6.ebuild compile ebuild /usr/portage/media-plugins/xmms-arts/xmms-arts-0.4-r6.ebuild merge
what does artsc-config --cflags return when you enter this on commandline?
I am runing in to the same problem... # artsc-config --cflags -I/usr/kde/3.1/include/artsc
Had this problem over here, too. Just recompiling arts put artsc-config back in place/path. And eversince xmms-arts "emerged".
please try the proposed solution to reemerge arts and report if that worked for you.
I have the same Problem :( remerging arts didn't help maybe this logfile helps you: cat config.log This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:732: checking for Cygwin environment configure:748: gcc -c -mcpu=athlon -march=athlon -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc -I/usr/includ e/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include ` artsc-config --cflags` conftest.c 1>&5 gcc: `artsc-config: No such file or directory cc1: unrecognized option `-fcflags`' configure: failed program was: #line 737 "configure" #include "confdefs.h" int main() { #ifndef __CYGWIN__ #define __CYGWIN__ __CYGWIN32__ #endif return __CYGWIN__; ; return 0; } configure:765: checking for mingw32 environment configure:777: gcc -c -mcpu=athlon -march=athlon -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc -I/usr/includ e/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include ` artsc-config --cflags` conftest.c 1>&5 gcc: `artsc-config: No such file or directory cc1: unrecognized option `-fcflags`' configure: failed program was: #line 770 "configure" #include "confdefs.h" int main() { return __MINGW32__; ; return 0; } configure:794: checking how to run the C preprocessor configure:949: checking host system type configure:970: checking build system type configure:990: checking for gcc configure:1103: checking whether the C compiler (gcc -mcpu=athlon -march=athlon -O3 -pipe -I/usr/X11R6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/ 3.1/include/artsc -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib /include -I/usr/X11R6/include `artsc-config --cflags` ) works configure:1119: gcc -o conftest -mcpu=athlon -march=athlon -O3 -pipe -I/usr/X11R 6/include -I/usr/include -I/usr/kde/3.1/include -I/usr/kde/3.1/include/artsc -I/ usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6 /include `artsc-config --cflags` conftest.c 1>&5 gcc: `artsc-config: No such file or directory cc1: unrecognized option `-fcflags`' configure: failed program was: #line 1114 "configure" #include "confdefs.h" main(){return(0);} artsc-config --cflags -I/usr/kde/3.1/include/artsc
fixed, please test.
for me it worked fine thx :)
db fix