[arch-general] Failed to build mpd from source

Iru Cai mytbk920423 at gmail.com
Tue Jun 18 20:50:08 EDT 2013


2013/6/19 Iru Cai <mytbk920423 at gmail.com>

>
>
>
> 2013/6/19 Jesse Jaara <jesse.jaara at gmail.com>
>
>> Try to reinstall cdparanoia. Some randon error might have happaned
>> sometime
>> during an updat and the file did not get written to the disk.
>>
>> It doesn't solve the problem. The required header file is in the
> libcdio-paranoia package,
> and this package installs its header file in cdio/paranoia/paranoia.h.
>
> PS: mpd was last updated in April 10, before libcdio-paranoia was updated.
>
> 2013/6/18 Iru Cai <mytbk920423 at gmail.com>
>>
>> > src/input/cdio_paranoia_input_plugin.c:38:27: fatal error:
>> cdio/paranoia.h:
>> > No such file or directory
>> >  #include <cdio/paranoia.h>
>> >                            ^
>> > and the result of pacman -Qi libcdio-paranoia is:
>> > libcdio-paranoia /usr/include/cdio/paranoia/paranoia.h
>> >
>>
>>
>>
>> --
>> (\_ /) copy the bunny to your profile
>> (0.o ) to help him achieve world domination.
>> (> <) come join the dark side.
>> /_|_\ (we have cookies.)
>>
>
> Works after adding a line to PKGBUILD.
--- PKGBUILD    2013-06-19 08:42:42.666124514 +0800
+++ PKGBUILD.orig    2013-06-19 08:50:04.047066681 +0800
@@ -25,7 +25,6 @@

 build() {
     cd "${srcdir}/${pkgname}-${pkgver}"
-    sed -i 's#paranoia.h#paranoia/paranoia.h#g'
src/input/cdio_paranoia_input_plugin.c
     ./configure \
         --prefix=/usr \
         --sysconfdir=/etc \


More information about the arch-general mailing list