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]

Re: glib doesn't build from source


On 2012-05-19 15:48, Ken Brown wrote:
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:

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?

Good question. :-) It turns out I had a hand-written libffi.pc file on my system, probably from my short-lived gcc packaging work. I fixed this in glib2.0-2.32.3-1.cygport.



Yaakov



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