To intstall gmpc you need the following programs to be installed:
* gcc compiler * libtool * intltool Version 0.21 or higher * glib * libcurl * gobject * gtk+-2.0 * gmodule * libglade * gthreads * libmpd * gob 2.0 * git
Install libmpd[]
Get a copy of libmpd from git:
git clone git://repo.or.cz/libmpd.git libmpd
Enter the directory:
cd libmpd/
Run the needed autotools:
./autogen.sh
Watch the output carefully for errors. If it was succesfull build libmpd:
make
And install it (you might want to run this as root):
make install
Install gmpc[]
Get a copy of gmpc from git:
git clone git://repo.or.cz/gmpc.git gmpc
Enter the directory:
cd gmpc/
Run the needed autotools:
./autogen.sh
If it complains about not finding libmpd, make sure you have it installed and pkg-config can find it. For example if you installed libmpd in /opt and pkg-config cannot find it try telling it where to look by setting the following environment variable:
export PKG_CONFIG_PATH=/opt/lib/pkgconfig/
and rerun autogen.sh. If it was succesfull you can build gmpc
make
And install it (you might want to run this as root):
make install
Don't forget this step, gmpc won't run without this step. If everything went smooth, you should be able to run gmpc.
Install a gmpc plugin[]
For this example I use the coveramazon plugin, but it applies for all plugins:
Get a copy of the plugin from git:
git clone git://repo.or.cz/gmpc-coveramazon.git gmpc-coveramazon
Enter the directory:
cd gmpc-coveramazon/
Run the needed autotools:
./autogen.sh
If it complains about not finding libmpd or gmpc, make sure you have it installed and pkg-config can find it. For example if you installed libmpd in /opt and pkg-config cannot find it try telling it where to look by setting the following environment variable:
export PKG_CONFIG_PATH=/opt/lib/pkgconfig/
and rerun autogen.sh
If it was succesfull you can build gmpc-coveramazon
make
And install it (you might want to run this as root):
make install
If everything went smooth, after restarting gmpc, you should be able to see this plugin in gmpc.