Hallo Ich Arbeite zurzeit daran meinen Server einzurichten (Debian 6 ) nur habe ich das Problem das MPD dem LAME encoder über apt nicht haben will deshalb hab ich gegoogeld und einen Lösung gefunden die aber leider nicht funktioniert. Lösung:http://www.produnis.de/blog/?p=1393 Das Problem ist das der befehl debuild binary nicht wirklich arbeiten will (couldn't exec debian/rules:) kann mir bitte einen hinweis geben wie ich das Problem lösen könnte oder wie ich MDP mit LAME aus dem repos zum Laufen bekomme.
Ausgabe nach Ausführen des Befehls:
Linux echelon 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Feb 5 18:55:26 2012 from 192.168.1.4 root@echelon:~# service mpd restart root@echelon:~# cd mpdfuck/ root@echelon:~/mpdfuck# dir mpd-0.15.12 mpd_0.15.12-1.1.dsc mpd_0.15.12-1.1.diff.gz mpd_0.15.12.orig.tar.gz root@echelon:~/mpdfuck# cd mpd-0.15.12/ root@echelon:~/mpdfuck/mpd-0.15.12# debuild binary test -x debian/rules dh_testroot dh_clean -k dh_clean: dh_clean -k is deprecated; use dh_prep instead dh_installdirs -A mkdir -p "debian/build" /usr/share/cdbs/1/rules/buildcore.mk:104: WARNING: DEB_DH_INSTALLINIT_ARGS is a deprecated variable /usr/share/cdbs/1/rules/buildcore.mk:104: WARNING: DEB_DH_STRIP_ARGS is a depre cated variable /usr/share/cdbs/1/rules/buildcore.mk:104: WARNING: DEB_FIXPERMS_EXCLUDE is a de precated variable if test -e /usr/share/misc/config.guess ; then \ for i in ./config.guess ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.g uess $i ; \ fi ; \ done ; \ fi if test -e /usr/share/misc/config.sub ; then \ for i in ./config.sub ; do \ if ! test -e $i.cdbs-orig ; then \ mv $i $i.cdbs-orig ; \ cp --remove-destination /usr/share/misc/config.s ub $i ; \ fi ; \ done ; \ fi chmod a+x /root/mpdfuck/mpd-0.15.12/./configure mkdir -p debian/build cd debian/build && CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" L DFLAGS="-Wl,--as-needed" /root/mpdfuck/mpd-0.15.12/./configure --build=i486-linu x-gnu --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/shar e/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/mpd" --disable-maintainer-mode --disable-dependency -tracking --disable-silent-rules --enable-sqlite --enable-un --enable-ao --e nable-lastfm --enable-lame --enable-cue configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-s ilent-rules, --enable-lame checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for gcc option to accept ISO C99... -std=gnu99 checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking for g++... /usr/bin/g++ checking whether make sets $(MAKE)... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking build system type... i486-pc-linux-gnu checking host system type... i486-pc-linux-gnu checking for syslog... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking for exp in -lm... yes checking how to run the C preprocessor... gcc -std=gnu99 -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking valgrind/memcheck.h usability... no checking valgrind/memcheck.h presence... no checking for valgrind/memcheck.h... no checking for GLIB... yes checking for ipv6... yes checking for struct ucred... yes checking for getpeereid... no checking for CUE... no configure: error: libcue parsing library: libcue not found make: *** [debian/stamp-autotools] Fehler 1 debuild: fatal error at line 1301: couldn't exec debian/rules:
Config:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | #!/usr/bin/make -f ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH) WITH_TREMOR= ifeq ($(ARCH), arm) WITH_TREMOR=--with-tremor endif ifeq ($(ARCH), armel) WITH_TREMOR=--with-tremor endif ifeq ($(ARCH), armeb) WITH_TREMOR=--with-tremor endif DEB_BUILDDIR := debian/build DEB_CONFIGURE_USER_FLAGS += $(WITH_TREMOR) --enable-sqlite --enable-un --enable-ao --enable-lastfm --enable-lame --enable-cue LDFLAGS += -Wl,--as-needed include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/autotools.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk DEB_FIXPERMS_EXCLUDE:=var/* DEB_DH_INSTALLINIT_ARGS:=-n DEB_DH_STRIP_ARGS := --dbg-package=mpd-dbg # oh bleah. see #380614 DEB_DESTDIR = $(CURDIR)/debian/mpd binary-post-install/mpd:: rm -f $(CURDIR)/debian/mpd/usr/share/doc/mpd/mpdconf.example rm -f $(CURDIR)/debian/mpd/usr/share/doc/mpd/COPYING |
Bearbeitet von Lasall:
Makefile-Formatierung eingefuehrt.