This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
glib doesn't build from source
- From: Ken Brown <kbrown at cornell dot edu>
- To: cygwin-apps <cygwin-apps at cygwin dot com>
- Date: Sat, 19 May 2012 16:48:48 -0400
- Subject: glib doesn't build from source
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