Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
make install "abfangen"
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sun Dec 20, 2009 5:10 pm    Post subject: make install "abfangen" Reply with quote

Hallo,

ich möchte gerne ein make install gefahrlos testen, d.h. ich möchte gerne verhindern, daß in mein System geschrieben wird.

Wie bekommt man das hin? Bei rpm basierten Installationen gibt es dafür checkinstall.

G. R.
Back to top
View user's profile Send private message
moben
n00b
n00b


Joined: 09 Jan 2009
Posts: 52

PostPosted: Sun Dec 20, 2009 7:01 pm    Post subject: Reply with quote

Nabend, evtl. durch ./configure --prefix=/dummy/system?
Back to top
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1472
Location: aachen.nrw.de.eu

PostPosted: Sun Dec 20, 2009 7:42 pm    Post subject: Reply with quote

Mit nem anderem User und sys-apps/fakeroot?

Ansonsten hast du in Gentoo sys-apps/sandbox. Scheint auch recht einfach zu bedienen zu sein.
Back to top
View user's profile Send private message
zyko
l33t
l33t


Joined: 01 Jun 2008
Posts: 620
Location: Munich, Germany

PostPosted: Sun Dec 20, 2009 8:08 pm    Post subject: Reply with quote

Falls du ein Ebuild hast, kannst du einfach alle Schritte des Emerge-Vorgangs von Hand durchgehen, bis hin zu "ebuild {package}.ebuild install". Erst durch die Option "qmerge" wird das Programm ins Filesystem kopiert, bis dahin bleibt es immer in deinem PORTAGE_TMPDIR. Siehe "man ebuild".

Alternativ: ROOT-Variable, um das Paket woandershin reinzuinstallieren, etwa so: "ROOT="/tmp/package" emerge -1 --nodeps package.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3925
Location: Hamburg

PostPosted: Mon Dec 21, 2009 9:58 am    Post subject: Reply with quote

und ein "make -n install" tut nur so
Back to top
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6749

PostPosted: Mon Dec 21, 2009 5:16 pm    Post subject: Reply with quote

Wenn ich Tinitus richtig verstanden habe, will er einfach nur ein ebuild für das Projekt schreiben, zu dem das Makefile gehört: Das zugehörige emerge-Kommando benutzt dann automatisch die Sandbox (und mit emerge -B z.B. wird dann nur ein .tar.bz2-File erzeugt und nichts ins System geschrieben). Das Ganze setzt nur voraus, dass das Makefile nicht bewusst bösartig geschrieben ist: Denn natürlich ist die Sandbox nicht wirklich "ausbruchsicher", wenn man speziell darum herumhacken will, aber versehentliches Zerstören eines Files kann man ausschließen.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum