This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]