I'm running Ubuntu 14.04 and trying to compile libgdiplus (following instructions at http://www.lovesmesomecode.com/20130719-compiling-mono-3-in-ubuntu/) in preparation to install NZBdrone.
Error occurs when running ./autogen.sh --prefix=/usr/local. (I followed all instructions prior to this.) The instructions on this command say:
This will configure the compilation process and ensure your computer has all the proper libaries and dependencies installed. If you ran everything above, you should be good to go. If it fails on an error and indicates you are missing a libary or package, you may need to install a development version of that package, and then try to run the command again.
The error I receive says:
checking for CAIRO... no
configure: error: Package requirements (cairo >= 1.6.4) were not met:
No package 'cairo' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Alternatively, you may set the environment variables CAIRO_CFLAGS and CAIRO_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details.
I found instructions at another place for installing cairo, so I tried running the command to install cairo. I also found instructions for installing libgdiplus and tried installing using 'sudo apt-get install libgdiplus.'
But each time I come back and run './autogen.sh --prefix=/usr/local', I get the same error message that cairo could not be found.
Thanks for any help you might provide.
sudo -v
echo "deb http://ppa.launchpad.net/cairo-dock-team/ppa/ubuntu $(lsb_release -sc) main ## Cairo-Dock-PPA" | sudo tee -a /etc/apt/sources.list
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E80D6BF5
sudo apt-get update
sudo apt-get install cairo-dock cairo-dock-plug-ins
– RaifMT Oct 31 '14 at 21:34