On 09/09/2014 05:53 PM, Frank Ch. Eigler wrote:
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.
This succeeded. rpms installed seem to run and work. I'll have more later.
(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
--
-----------------------------------------------------------------------
Jeff Hanson - jhanson@xxxxxxx - Field Technical Analyst
You can choose a ready guide in some celestial voice.
If you choose not to decide, you still have made a choice.
You can choose from phantom fears and kindness that can kill;
I will choose a path that's clear
I will choose freewill. - Peart
|