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 ) id 1Kq4i1-0005GJ-RI for garchives@archives.gentoo.org; Wed, 15 Oct 2008 11:38:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7848BE0449; Wed, 15 Oct 2008 11:38:30 +0000 (UTC) Received: from mail.askja.de (mail.askja.de [83.137.103.136]) by pigeon.gentoo.org (Postfix) with ESMTP id 1260CE0449 for ; Wed, 15 Oct 2008 11:38:30 +0000 (UTC) Received: from static-87-79-89-40.netcologne.de ([87.79.89.40] helo=zone.wonkology.org) by mail.askja.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Kq4hu-0003VE-Ho for gentoo-user@lists.gentoo.org; Wed, 15 Oct 2008 13:38:26 +0200 Received: from localhost (localhost [127.0.0.1]) (uid 1000) by zone.wonkology.org with local; Wed, 15 Oct 2008 13:38:21 +0200 id 00010312.48F5D62D.00003C17 From: Alex Schuster Organization: Wonkology To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Installing outside of portage - segfault testing Date: Wed, 15 Oct 2008 13:12:15 +0200 User-Agent: KMail/1.9.9 References: <49bf44f10810141836r5604c141o5a600327d8e8516b@mail.gmail.com> In-Reply-To: <49bf44f10810141836r5604c141o5a600327d8e8516b@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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 Message-Id: <200810151312.17262.wonko@wonkology.org> X-Archives-Salt: f55b783d-5112-40dd-b6ee-b0d7d581eea7 X-Archives-Hash: a7dc16c0757f591cf94177752ec8e998 Grant writes: > 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