LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   mpd won't install on Slackware64 14 (http://www.linuxquestions.org/questions/slackware-14/mpd-wont-install-on-slackware64-14-a-4175460582/)

Kangatux 05-03-2013 09:34 AM

mpd won't install on Slackware64 14
 
Okay, I tried to install mpd the normal way using the slackbuild provided at slackbuilds.org, but it wouldn't compile, so I figured it might be 32-bit only. I have installed the multilib packages and run the ". /etc/profile.d/32dev.sh" command as root, and then "./mpd.SlackBuild". This way it began compiling, but exits towards the end with the following error (the last lines):

"then mv -f ".deps/mpd-mp3_plugin.Tpo" ".deps/mpd-mp3_plugin.Po"; else rm -f ".deps/mpd-mp3_plugin.Tpo"; exit 1; fi
if gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/alsa -I/usr/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_GNU_SOURCE -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes -Wdeclaration-after-statement -Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -pedantic -pthread -O2 -march=i486 -mtune=i686 -MT mpd-wavpack_plugin.o -MD -MP -MF ".deps/mpd-wavpack_plugin.Tpo" -c -o mpd-wavpack_plugin.o `test -f 'decoder/wavpack_plugin.c' || echo './'`decoder/wavpack_plugin.c; \
then mv -f ".deps/mpd-wavpack_plugin.Tpo" ".deps/mpd-wavpack_plugin.Po"; else rm -f ".deps/mpd-wavpack_plugin.Tpo"; exit 1; fi
decoder/wavpack_plugin.c: In function 'format_samples_int':
decoder/wavpack_plugin.c:69:3: error: unknown type name 'uchar'
make[2]: *** [mpd-wavpack_plugin.o] Error 1
make[2]: Leaving directory `/tmp/SBo/mpd-0.14.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/SBo/mpd-0.14.2'
make: *** [all] Error 2"

It seems to me that there is something wrong with the wavpack plugin. Any ideas how to fix this?

ponce 05-03-2013 09:54 AM

here it builds fine on slackware64-14.0 (without multilib).

if you build normally (without sourcing /etc/profile.d/32dev.sh) which error you got?

Kangatux 05-03-2013 10:05 AM

Quote:

Originally Posted by ponce (Post 4944200)
here it builds fine on slackware64-14.0 (without multilib).

if you build normally (without sourcing /etc/profile.d/32dev.sh) which error you got?

You are right, it seems. I checked the slackbuild using nano, and it said it was version 14; and so was the source package. The one on slackbuilds is v.17, which I downloaded instead, and it installed just fine even with 64 bit. I've got no idea how I managed to download the wrong version. But nevermind, it's installed now :)


All times are GMT -5. The time now is 06:56 AM.