Return-Path: X-Original-To: apmail-qpid-users-archive@www.apache.org Delivered-To: apmail-qpid-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 21AB310393 for ; Wed, 15 Jan 2014 21:21:41 +0000 (UTC) Received: (qmail 73044 invoked by uid 500); 15 Jan 2014 21:21:40 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 72965 invoked by uid 500); 15 Jan 2014 21:21:40 -0000 Mailing-List: contact users-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@qpid.apache.org Delivered-To: mailing list users@qpid.apache.org Received: (qmail 72955 invoked by uid 99); 15 Jan 2014 21:21:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 21:21:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.214.51] (HELO mail-bk0-f51.google.com) (209.85.214.51) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Jan 2014 21:21:34 +0000 Received: by mail-bk0-f51.google.com with SMTP id w10so902836bkz.38 for ; Wed, 15 Jan 2014 13:21:13 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=TjtiDf4Ja/LWgNZeUrl7T+Cbdaj6s0t9uDSVwt9NvOA=; b=Knp0ZH2z84y7JDqgWQ2+gRAAvPRK7ue/7re3aOuMcvkWFTnJtIMpdI5gF2TK+wEd9p qZhOVXmsyDStQUsMQzOZ0t9wTtePx9NZV43RoDDTRGetTX2RCtSpCubRYnv+vPsEftQD mF+Uwm2kNcrZSJe5jNEVMi8zXrqZXNGGqhXgcRisCdMkDcOFszcsSvdphbCiC7GWg7Lh WGOoFpq9/N/ocWpiTk8CazVV+19P/yoKNci59YTgcK8ozF00XExY3C4KQLJfgEM3bYZJ NqqyL+Dbg7QD2cBmGpMTit2KkTbUSRnibpMMfWNGzrIpjQOYqZNwZhAO41Tup4QSJXBu V6DQ== X-Gm-Message-State: ALoCoQkv9B+RqBkCBZ6/plqoq0XvQsghyKd1KJMZ6zBqEir517hTOLwUowJqx0EO5XuASAw7dUts MIME-Version: 1.0 X-Received: by 10.204.106.139 with SMTP id x11mr2393390bko.7.1389820872937; Wed, 15 Jan 2014 13:21:12 -0800 (PST) Received: by 10.205.89.10 with HTTP; Wed, 15 Jan 2014 13:21:12 -0800 (PST) In-Reply-To: References: <52D6594B.8080103@redhat.com> Date: Wed, 15 Jan 2014 16:21:12 -0500 Message-ID: Subject: Re: How to build qpid with proton v0.5, boost v1.55.0 statically on fedora19 From: "Shearer, Davin" To: "users@qpid.apache.org" Content-Type: multipart/alternative; boundary=001a11333cc46fb90604f008e3ef X-Virus-Checked: Checked by ClamAV on apache.org --001a11333cc46fb90604f008e3ef Content-Type: text/plain; charset=UTF-8 OK, got it built and I'm pleased that ldd on the executables and modules reports nothing about qpid, proton and boost and I have a nice set of libqpid*.a files available for static linking. What I had to do was expand all the -lqpid-proton to /path/to/lib/libqpid-proton.a in all the link.txt files. So after running cmake and before running make, I run: PROTON_LIB=$(pkg-config --libs-only-L libqpid-proton | sed -e 's|^-L||' -e 's|\s*$|/libqpid-proton.a|') find -type f -name link.txt | xargs perl -pi -e "s|-lqpid-proton|$PROTON_LIB|g" All those times the build would have used -lqpid-python it now just has the path directly to the .a file. I wish I knew more about the build process to (suggest how) fix this properly. --001a11333cc46fb90604f008e3ef--