[CWB] [PATCH] Fix CWB-CL Makefile

Stefan Evert stefanML at collocations.de
Thu Jan 6 08:56:24 CET 2011


> Anyway, the inadequacies of MakeMaker aside, I don't think there is any way around this. cwb-config just spits out the value of $LDFLAGS as it is defined by the makefile system. So it can't be changed without changing the use of pkg-config in every gcc call in all the makefiles. So the workaround in CWB-Perl's Makefile.PL might actually be the best overall solution.

BTW, this is something we have to solve anyway if we want to ship binaries that include the glib libraries.  The way it is now, CWB::CL can only be installed if the user has pkg-config on her system and will pick up the system-wide glib rather than CWB's.

If glib handles version changes as badly as Java does (TIGERSearch anyone?), this is a recipe for disaster (in the form of a flood of bug reports on the mailing list :).

TTFN,
Del

... err ... Stefan




More information about the CWB mailing list