I’m having the same problem as this question. I tried installing the libcairo library with the command
sudo yum install cairo-devel
After that, I removed and installed gnuplot through yum. I still get the same error. What else do I need to do to get gnuplot to let me use pngcairo?
I also installed pango through yum.
When I try installing gnuplot from source I get these messages in my config.log:
configure:11776: checking for CAIROPANGO
configure:11784: $PKG_CONFIG --exists --print-errors "cairo >= 0.9.0 pango >= 1.10 pangocairo >= 1.10"
Package pango was not found in the pkg-config search path.
Perhaps you should add the directory containing `pango.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pango' found
Package pangocairo was not found in the pkg-config search path.
Perhaps you should add the directory containing `pangocairo.pc'
to the PKG_CONFIG_PATH environment variable
No package 'pangocairo' found
What exactly do I add to PKG_CONFIG_PATH? I’m not even sure where to find my installed pango and cairo-devel libraries.
pango only provides the runtime libraries. For the development files, you need to install pango-devel:
When in doubt about package names, use:
where foo is what you are looking for. yum will search in names, descriptions, etc.