Saturday, February 25, 2012

gnome-vfs is require for the compilation

There was an error when I issue the command ./autogen.sh when I was compiling LibreOffice where I couldn't find a compatible version of gnome-vfs package in Fedora 16. Below is the detail output of the error:
configure: error: Package requirements (gnome-vfs-2.0 >= 2.6.0 ) were not met:
No package 'gnome-vfs-2.0' 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 GNOMEVFS_CFLAGS
and GNOMEVFS_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
According to developer guide, there are some dependencies are required before the compilation can begin. gnome-vfs is one of it. Here is the text of the solution:

sudo yum install gnome-vfs2-devel

1 comment:

Unknown said...

I also run into this issue but got a working build by

sudo apt-get install gnomevfs2-dev