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 DC51711F0B for ; Thu, 1 May 2014 14:30:17 +0000 (UTC) Received: (qmail 38591 invoked by uid 500); 1 May 2014 14:30:17 -0000 Delivered-To: apmail-qpid-users-archive@qpid.apache.org Received: (qmail 38557 invoked by uid 500); 1 May 2014 14:30:17 -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 38549 invoked by uid 99); 1 May 2014 14:30:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 14:30:16 +0000 X-ASF-Spam-Status: No, hits=-5.0 required=5.0 tests=RCVD_IN_DNSWL_HI,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aconway@redhat.com designates 209.132.183.28 as permitted sender) Received: from [209.132.183.28] (HELO mx1.redhat.com) (209.132.183.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 May 2014 14:30:11 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s41ETnok012749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 1 May 2014 10:29:49 -0400 Received: from [10.3.113.28] (ovpn-113-28.phx2.redhat.com [10.3.113.28]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s41ETmiC020088 for ; Thu, 1 May 2014 10:29:49 -0400 Message-ID: <1398954588.2473.88.camel@localhost> Subject: Proton installer - its all good. From: Alan Conway To: users Date: Thu, 01 May 2014 10:29:48 -0400 Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-Virus-Checked: Checked by ClamAV on apache.org WARNING: this email contains Unsolicited Advice. Viewer discretion advised. In summary: I'm happy with the proton installer. The debate is due to two distinct use cases, I'm OK with covering both. Let me summarize the use cases and give some Unsolicited Advice which you are free to ignore or not even read. 1. I want to install proton and have it Just Work. I have root access, this is my personal machine, I don't care if I (accidentally or deliberately) over-write files in /usr or other places where interpreters are installed. Frankly I have more important things to do than puzzle over arcane Unix trivia like environment settings and standard directory structures, I'm busy! -DSYSINSTALL_BINDINGS is for you! 2. I want multiple separate install trees, each containing software versions that work together (e.g. proton+qpid). I _need_ to separate software installed by my system installer (yum, apt...) from software from other sources, e.g. source-built (I use /usr/local). I may create other trees in my home dir, without root permission, for testing purposes. I'm ok with setting PATH, PYTHONPATH and LD_LIBRARY_PATH to choose which tree(s) to work with (usually you can avoid LD_LIBRARY_PATH). I can set system wide and per-user defaults or use specific environment scripts. Maybe I administer a shared machine or maybe I'm just fussy about my own. I understand the motivation for both use cases, I've certainly done both myself. I think the current installer works for both. There are minor tweaks that could improve 2. but that should be expressed as a patch not more email. UNSOLICITED ADVICE: FYI: Here's why I recommend 2. (which IMO is standard Unix practice) for long term sanity, even though 1. can be quicker in the short term. You download the latest proton trunk and do install type 1. as root. Maybe you install it directly in /usr, maybe in /usr/local. You start your project using latest latest proton features. It works. Hurray! Some files got installed in /usr (which you maybe didn't notice if you thought you installed in /usr/local.) but you don't care, that's what makes it work!! Later, you install unrelated application foo using your system installer or even better, it gets automatically updated by your system's automated updater. It works! Unnoticed by you, foo has a dependency on qpid-proton-0.X (some ways behind trunk) so the installer helpfully installs it for you in /usr. You return to your proton project. Nothing works! What the... I didn't change anything!!!??!? Whaddya mean "no such function"? That function is clearly in the proton source code that I built and installed earlier dammit. Finally you wipe your build clean, rebuild and re-install. It works. Hurray! But you have an uneasy feeling... The next morning, you fire up application foo. Nothing works! What the..., it worked yesterday??!?!?! You re-install foo. Nothing works (your system installer still thinks qpid-proton-0.X is installed so doesn't re-install it when you re-install foo) You search for where foo logs its @!#!#@!# error message, tear your hear, curse the gods - you get the picture. This is stuff that has happened to me more than once (I'm a slow learner.) I don't judge: Option 1. can work in the right circumstances so if it works for you then go for it. They day your proton project stops working for no reason, or some totally unrelated app starts spewing proton-related error messages (if you're lucky) remember this mail. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@qpid.apache.org For additional commands, e-mail: users-help@qpid.apache.org