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