Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.os.unix.programming > #3075
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | Stefan Reuther <stefan.news@arcor.de> |
| Newsgroups | de.comp.os.unix.programming |
| Subject | Re: sudo make install von nfs share |
| Date | Mon, 22 Apr 2024 18:56:38 +0200 |
| Lines | 42 |
| Message-ID | <v06bt7.mc.1@stefan.msgid.phost.de> (permalink) |
| References | <v00n8s$16esu$1@gwaiyur.mb-net.net> <v00rpg$3o4bd$2@dont-email.me> <v02mtp$1effl$3@gwaiyur.mb-net.net> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| X-Trace | individual.net eocZk9YRwlGYQOMUg+qBowGZpdJc8ZuS6oSNRL6rjPMQH4L+SU |
| Cancel-Lock | sha1:MdOo3/5uaS07nbArT/4cGfrcDls= sha256:sLcjxPdtPu5ZYo36YgWptCMqquhzs5mEIoBQL+Rr+Tg= |
| User-Agent | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 Hamster/2.1.0.1538 |
| In-Reply-To | <v02mtp$1effl$3@gwaiyur.mb-net.net> |
| Xref | csiph.com de.comp.os.unix.programming:3075 |
Show key headers only | View raw
Am 21.04.2024 um 11:40 schrieb Marcel Mueller: > Am 20.04.24 um 18:50 schrieb Markus Schaaf: >> Am 20.04.24 um 17:33 schrieb Marcel Mueller: >>> Wie installiert man manche selber compilierten Programme von NFS, wenn >>> die Makefiles bei make install lokale schreiben? >> >> Man benutzt make nicht auf NFS. :-P > > Was anderes sinnvolles habe ich nicht. Nur davon gibt es Backups. Und > die lokalen Rechner oder VMs haben zum Teil so gut wie keinen Storage. > Der aktuell hat z.B. 40GB. Die VMs liegen in derselben Größenordnung. Von den Objektdateien brauchst du hoffentlich keine Backups, die kannst du doch jederzeit regenerieren. Wenn die Makefiles keinen out-of-tree-Build können, wäre das zu ändern nervige, aber gut investierte Arbeit. >> Oder benutze >> >> $ fakeroot <<EOT | sudo tar -vxC / >> > make DESTDIR=/tmp/whatever install >&2 >> > tar -cC /tmp/whatever . >> > EOT >> >> (Vorsicht, im Newsreader "programmiert". Besser erstmal mit temporärem >> Archiv testen, ohne Pipe.) > > Das habe ich jetzt nicht verstanden. Was macht das fakeroot da? Und > wieso steht kein Befehl vor der Pipe? Dem "make install" und insb. dem "tar c" vorgaukeln, es hätte root-Rechte. Alternativ geht etwas ähnliches mit "unshare". Damit kannst du dir einen eigenen Namespace bauen, in dem du root bist, womit insb. "mount --bind" und "chroot" funktionieren. Aber am Ende sollte zumindest bei Programmen ohne zu komplizierte Dateirechte das "make DESTDIR=.... install" auch so funktionieren. Stefan
Back to de.comp.os.unix.programming | Previous | Next — Previous in thread | Next in thread | Find similar
sudo make install von nfs share Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-04-20 17:33 +0200
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-20 18:50 +0200
Re: sudo make install von nfs share Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-04-21 11:40 +0200
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-21 16:03 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-21 14:40 +0000
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-21 17:07 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-21 16:28 +0000
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-21 18:57 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-21 19:03 +0000
Re: sudo make install von nfs share Stefan Reuther <stefan.news@arcor.de> - 2024-04-22 18:56 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-20 18:32 +0000
Re: sudo make install von nfs share Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-04-21 11:20 +0200
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-21 11:27 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-21 10:21 +0000
Re: sudo make install von nfs share Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-04-21 15:11 +0200
Re: sudo make install von nfs share "Andreas M. Kirchwitz" <amk@spamfence.net> - 2024-04-21 14:32 +0000
Re: sudo make install von nfs share Marcel Mueller <news.5.maazl@spamgourmet.org> - 2024-04-22 18:54 +0200
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-22 21:44 +0200
Re: sudo make install von nfs share Arthur Erhardt <usenet2024@erhardt-net.de> - 2024-04-22 20:53 +0000
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-22 23:28 +0200
Re: sudo make install von nfs share Arthur Erhardt <usenet2024@erhardt-net.de> - 2024-04-23 07:56 +0000
Re: sudo make install von nfs share Markus Schaaf <mschaaf@elaboris.de> - 2024-04-23 14:47 +0200
csiph-web