pcp
[Top] [All Lists]

Re: Build failures on sles11sp3 x86_64

To: Jeff Hanson <jhanson@xxxxxxx>
Subject: Re: Build failures on sles11sp3 x86_64
From: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Date: Tue, 9 Sep 2014 17:53:52 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <540F72CF.501@xxxxxxx>
References: <540F6E97.9030506@xxxxxxx> <y0mk35cfpoy.fsf@xxxxxxxx> <540F72CF.501@xxxxxxx>
User-agent: Mutt/1.4.2.2i
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

<Prev in Thread] Current Thread [Next in Thread>