From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-85118-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1Kq8BC-00083m-S2
	for garchives@archives.gentoo.org; Wed, 15 Oct 2008 15:20:55 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2B92BE0417;
	Wed, 15 Oct 2008 15:20:52 +0000 (UTC)
Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.189])
	by pigeon.gentoo.org (Postfix) with ESMTP id 83CBDE0417
	for <gentoo-user@lists.gentoo.org>; Wed, 15 Oct 2008 15:20:51 +0000 (UTC)
Received: by mu-out-0910.google.com with SMTP id i2so2886763mue.6
        for <gentoo-user@lists.gentoo.org>; Wed, 15 Oct 2008 08:20:49 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:to
         :subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references;
        bh=enm/Ra21toSHAbceOKFMAkizqNploM5THSNcZIsoxYg=;
        b=mKE0c5ACpmdbNhVOFIUjfbArgaNwKNkxGlZBumjpic3sqBPZrznJMF6D6KburimSQg
         kPl4Krla52C4ZyWMRZR4I5mppWyqCSYzmzyjtURVJxZvLDVB3KuARd8TEVe8hmkUA+TD
         bmCv6HKDP6qlM7Y1ltbSWI4MMEakutP+sA+nA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references;
        b=B7n79Wbbbw/BD6r+6WTy9Lytn2RNuCIheIXwbCp17ThrIecnTXP+t9ow9/vpau8Hsw
         tTZ/KBSikqsAJ+paTmgHplFEIhxVrW+VtK4adUFa8tl9zO27Cw6HplIKAv5xGmKO/tfp
         xRkP74GU2vMsEInHke5GNn3NImYHVOYrLCSuQ=
Received: by 10.181.54.10 with SMTP id g10mr693009bkk.29.1224084049099;
        Wed, 15 Oct 2008 08:20:49 -0700 (PDT)
Received: by 10.180.229.10 with HTTP; Wed, 15 Oct 2008 08:20:49 -0700 (PDT)
Message-ID: <49bf44f10810150820j77fe1f32i5196700acc10bed6@mail.gmail.com>
Date: Wed, 15 Oct 2008 08:20:49 -0700
From: Grant <emailgrant@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Installing outside of portage - segfault testing
In-Reply-To: <200810151312.17262.wonko@wonkology.org>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <49bf44f10810141836r5604c141o5a600327d8e8516b@mail.gmail.com>
	 <200810151312.17262.wonko@wonkology.org>
X-Archives-Salt: 75f38c89-9558-4701-b58e-010d79cdebce
X-Archives-Hash: 8675ac21f5a14592b5bc65b304fb8984

>> motion keeps segfaulting on me, I've been over it with the motion
>> list, and we're down to this:
>>
>> [quote]
>> i've checked with a gentoo user in #motion channel
>>
>> wget
>> http://surfnet.dl.sourceforge.net/sourceforge/motion/motion-3.2.10.1.ta
>>r.gz tar xfvz motion-3.2.10.1.tar.gz
>> cd motion-3.2.10.1
>> ./configure --with-developer-flags
>> edit Makefile ( from motion directoty ) remove -O2 de CFLAGS
>> make
>> ./motion -n -d 10
>>
>>
>> No issues , working good ... so problem is in gentoo emerge / ebuild ..
>> or hardware problems
>> [/quote]
>>
>> Won't that install files all over my system that I won't be able to
>> get rid of later?
>
> Not unless you issue a "make install", too. All stays in the local
> directory where you unpacked the tarball. Works for simpe projects, but
> other might need some files be installed in certain places.
> Sometimes you can issue al "make uninstall" later to clean things up, but
> this is not always the case.
>
>> What would you guys do in this situation?
>
> Doing the "make install", but in a specific directory, like /usr/local.
> You can set this diretory with the --prefix option to configure. It seems
> to be the default often anyway.
>
> But then you clutter your /usr/local directory. So I suggest using stow,
> or better, xstow, to install software. It goes like this:
>
> cd myproject-1.2.3
> ./configure --prefix=/usr/local/stow/myproject-1.2.3
> make
> su
> emerge xstow
> make install
> cd /usr/local/stow
> stow myproject-1.2.3
>
> Now you have symlinks in /usr/local, as if you installed into /usr/local
> directly. To uninstall, issue a 'xstow -D myproject-1.2.3' and
> remove /usr/local/stow/myproject-1.2.3. All clean and tidy again.
>
>        Wonko

Thank you very much.  3.2.11 ended up fixing the segfault.

- Grant