Update MPD without autogen.sh

Hi

I have a problem with update MPD. I seach on forum any guide update MPD as bellow… but when i extract zip lossing autogen.sh file… please help!

set the correct timezone if necessary:

sudo raspi-config

After reboot check date:

date So 16. Feb 20:11:22 CET 2014

Ok, all good, lets proceed…

Stop MPD

/etc/init.d/mpd stop

Make a temp dir in /root/temp

cd /root
mkdir temp
cd temp

Download the latest MPD Source code from musicpd.org/download/mpd/stable/

wget http://www.musicpd.org/download/mpd/stable/mpd-0.18.9.tar.xz
tar xvJf mpd-0.18.9.tar.xz
cd mpd-0.18.9

Install the tools to compile

apt-get update
apt-get install build-essential gcc automake1.9 libtool flex bison gdb

Compile from Source

sh autogen.sh
./configure
make
make install

WAIT… WAIT…WAIT…

Cut some fat and save some space

strip /usr/local/bin/mpd

Cleanup old version of MPD and Symlink the new one

mv /usr/bin/mpd /usr/bin/mpd_old
ln -s /usr/local/bin/mpd /usr/bin/mpd

Alternatively, instead of symlink, edit the start script and point to new MPD

nano /etc/init.d/mpd

Find and change this line as below

DAEMON=/usr/local/bin/mpd

Restart MPD

/etc/init.d/mpd start

Confirm if its the latest version (If all went well above)

root@volumio:~/temp# mpd -V
Music Player Daemon 0.18.8

Cleanup (optional)

cd ~
rm -rf /root/temp
reboot

Congrats :wink:

sources: a | b

Where are you getting this guide from? This isn’t for Volumio…

Why not just use @patrickkfkan’s scripts from MPD 0.21.16 for Volumio (arm, armv7 and x86)?

MPD 0.21.16 for Volumio (arm, armv7 and x86) have a problem when scan albums. It not finish scan :slight_smile:

Yes, I understand you have issues with that version, but in the first post there is a link to repository and instructions how to build MPD.
The one that you have here are not for Volumio, and will most likely fail…

I tryed, but…

I’m going to lock this thread in favour of the posts in the other thread.
I would really recommend reading up a little bit before copy pasting things into your terminal and then posting vague “it doesn’t work” posts.
Read up on the error messages, and maybe it helps you?

Good luck!

2 Likes