Hi -
> [...]
> >This looks wrong; it seems to get the linker to prefer a the system
> >copy of libpcp (potentially old) above the one freshly built alongside
> >pmchart. It appears qmake-qt4 puts bad LIBS= into the Makefile it builds.
> I've removed the resident packages (which were 3.6.10 vintage) and am
> trying again.
(By the way, a web search for qmake libs hints at others running across
this problem before.)
A separate workaround could be:
diff --git a/src/include/builddefs.in b/src/include/builddefs.in
index 4e8a575d3f13..4e899726966e 100644
--- a/src/include/builddefs.in
+++ b/src/include/builddefs.in
@@ -612,7 +612,7 @@ LNMAKE =
WINDOW = win
endif
ifeq "$(findstring $(PCP_PLATFORM),darwin mingw)" ""
-QTMAKE = $(QMAKE) CONFIG+=$(QT_RELEASE) && $(MAKE) $(MAKEOPTS) -f Makefile
+QTMAKE = $(QMAKE) CONFIG+=$(QT_RELEASE) && $(MAKE) $(MAKEOPTS) -f Makefile
SUBLIBS=-L../libpcp/src
BINARY = build/$(QT_RELEASE)/$(COMMAND)
LNMAKE = test ! -f $(BINARY) -o -L $(COMMAND) || $(LN_S) $(BINARY) $(COMMAND)
WINDOW = x11
- FChE
|