Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 42810431FD0 for ; Wed, 7 Dec 2011 06:10:13 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -1.098 X-Spam-Level: X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5 tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hG+vaEjy6LWB for ; Wed, 7 Dec 2011 06:10:10 -0800 (PST) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by olra.theworths.org (Postfix) with ESMTP id B2964431FB6 for ; Wed, 7 Dec 2011 06:10:10 -0800 (PST) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RYICG-0000K2-Tr for notmuch@notmuchmail.org; Wed, 07 Dec 2011 15:10:08 +0100 Received: from arn78-1-88-186-171-7.fbx.proxad.net ([88.186.171.7]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2011 15:10:08 +0100 Received: from R.M.Krug by arn78-1-88-186-171-7.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 07 Dec 2011 15:10:08 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: notmuch@notmuchmail.org From: Rainer M Krug Subject: Re: RFC: don't ask users to do 'sudo make install' Date: Wed, 07 Dec 2011 15:05:02 +0100 Lines: 71 Message-ID: <4EDF728E.3050204@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arn78-1-88-186-171-7.fbx.proxad.net User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111202 Thunderbird/9.0 In-Reply-To: X-Enigmail-Version: 1.4a1pre Cc: public-notmuch-gxuj+Tv9EO5zyzON3hdc1g@lo.gmane.org, Justus Winter X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Dec 2011 14:10:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/12/11 14:37, Tomi Ollila wrote: > On Wed, 07 Dec 2011 13:25:45 +0100, Justus Winter > <4winter@informatik.uni-hamburg.de> > wrote: >> Hey everyone, >> >> I just noticed that running configure says: >> >>> All required packages were found. You may now run the >>> following commands to compile and install notmuch: >>> >>> make sudo make install >> >> I think that this is a very poor advice in general and we >> shouldn't give it to users. I know that the default prefix is >> /usr/local, but installing notmuch this way makes it very hard to >> uninstall it later (there is no uninstall target). > > Too bad there is no better 'default' way to do things -- configure > - make - make install is the way most software provides their > installation sequence. Because of these problems, I use checkinstall to create a deb file ( I am using Ubuntu) which I can then un-install again if I want to, or update, or anything the package manager can do. Rainer > > But where does 'sudo make install' work by default? on Ubuntu, on > new Fedoras. Where else ? > > The 'uninstall target' is also hard problem as it would require > configured source directory (and possibly information gathered > during installation to know what to uninstall) -- To do a separate > uninstallation too that is installed during notmuch installation > would be something I don't remember seeing done in unix > environments ever... > >> If someone decides to install notmuch from source and later on >> using his or her favorite package manager, the once installed >> notmuch in /usr/local will still be found and before the one in >> /usr and thus be preferred. > > Hmm, I've screwed my PATH setting as there usr/local/* comes after > /usr/* ;/ > >> Maybe we should mention stow (https://www.gnu.org/s/stow/)? > > Hmm, in addition to mentioning it there should be step-by-step > information how to proceed with it to compile and install notmuch > (and all the prerequisities required) using stow. That should not > be too hard -- just log the installation steps. Maybe SomeBody(TM) > takes some effort there ? > >> >> Justus > > Tomi -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk7fco4ACgkQoYgNqgF2ego7dACfQ2qK0Jk/O4JQbpm+LGBQQCZv VDkAnAh/DcA7u1aIEBsiW3bDr6y104Rc =JGHi -----END PGP SIGNATURE-----