glib doesn't build from source

Ken Brown kbrown@cornell.edu
Sat May 19 20:49:00 GMT 2012


I tried to build glib using glib2.0-2.32.2-1.cygport from the source for 
Cygwin's libglib2.0_0-2.32.2-1 package, and the build failed as follows:

checking for LIBFFI... configure: error: Package requirements (libffi >= 
3.0.0) were not met:

No package 'libffi' 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 LIBFFI_CFLAGS
and LIBFFI_LIBS to avoid the need to call pkg-config.

So I added the lines

export LIBFFI_LIBS="-lffi"
export LIBFFI_CFLAGS="-I${includedir}"

to the .cygport file, and the build then succeeded.

Yaakov, why did the build work for you with the existing .cygport?

Ken



More information about the Cygwin-apps mailing list