I've been having trouble with the installed version of Gnome Ghostview that comes with RedHat. The installed version is 1.9.95 and the most recent version is 1.9.97 accoding to the project page on the GNOME website. I've downloaded the file, extracted it to a directory, switched to the superuser, and ran ./configure. The problem is, when I do that, I receive the following error message:
checking for libgnomeui-2.0 >= 1.96.0... Package libgnomeui-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libgnomeui-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libgnomeui-2.0' found
configure: error: Library requirements (libgnomeui-2.0 >= 1.96.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
Now, the first problem is, I don't have a clue what the PKG_CONFIG_PATH environment variable is and where I can edit it at. Secondly, a simple query on the RPM database yields the following:
[root@astlefam01 ggv-1.99.97]# rpm -qa | grep libgnomeui
Since the test above is libgnomeui-2.0 >= 1.96.0, I'm not sure where the problem is. It would appear that I have a version that is higher than that. Unless I'm not looking at the right thing.
As I understand it, libgnomeui is the GNOME base GUI library and is installed by default when you install GNOME.
Can anyone explain how I would:
a) Locate the PKG_CONFIG_PATH environment variable
b) Add the appropriate information to that variable
Either that or explain what the heck the real problem is here and how I can get this stupid thing to update so I can actually print PDF files from Gnome Ghostview.
As a sidenote, kghostview seems to work just fine.