pcp
[Top] [All Lists]

Re: Build failures on sles11sp3 x86_64

To: "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: Build failures on sles11sp3 x86_64
From: Jeff Hanson <jhanson@xxxxxxx>
Date: Tue, 9 Sep 2014 20:45:21 -0400
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <20140909215352.GA11273@xxxxxxxxxx>
References: <540F6E97.9030506@xxxxxxx> <y0mk35cfpoy.fsf@xxxxxxxx> <540F72CF.501@xxxxxxx> <20140909215352.GA11273@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0
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

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