After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 151504 - can't install out of /
can't install out of /
Status: RESOLVED FIXED
Product: gnome-themes
Classification: Deprecated
Component: General
HEAD
Other Linux
: Normal major
: ---
Assigned To: Calum Benson
Calum Benson
Depends on:
Blocks:
 
 
Reported: 2004-08-31 11:42 UTC by Sebastien Bacher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2004-08-31 11:42:57 UTC
With 2.7.92 running "make install DESTDIR=..." fails:

make[3]: Leaving directory `/tmp/gnome-themes-2.7.92/gtk-themes/Glider'
rm -rf /usr/share/themes/SimplySmooth/gtk-2.0
rm: cannot remove `/usr/share/themes/SimplySmooth/gtk-2.0': Permission denied
make[2]: *** [install] Error 1
Comment 1 Sebastien Bacher 2004-08-31 12:03:49 UTC
These changes fixe the issue:

--- Makefile.am.orig    2004-08-31 13:47:21.000000000 +0200
+++ Makefile.am 2004-08-31 13:47:31.000000000 +0200
@@ -10,6 +10,6 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-               rm -rf $(datadir)/themes/SimplySmooth/gtk-2.0
+               rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth/gtk-2.0

 EXTRA_DIST = $(theme_DATA)

--- Makefile.am.orig    2004-08-31 13:54:26.000000000 +0200
+++ Makefile.am 2004-08-31 13:54:39.000000000 +0200
@@ -39,4 +39,4 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-               rm -rf $(datadir)/themes/SimplySmooth
+               rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth

--- Makefile.am.orig    2004-08-31 13:59:17.000000000 +0200
+++ Makefile.am 2004-08-31 13:59:28.000000000 +0200
@@ -9,7 +9,7 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-       rm -rf $(datadir)/themes/SimplySmooth
+       rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth

 DISTCLEANFILES=index.theme
 EXTRA_DIST=index.theme.in index.theme
Comment 2 Sebastien Bacher 2004-08-31 13:12:03 UTC
With the full path this time:

--- gnome-themes-2.7.92.orig/desktop-themes/Glider/Makefile.am  2004-08-17
12:27:33.000000000 +0200
+++ gnome-themes-2.7.92/desktop-themes/Glider/Makefile.am       2004-08-31
15:11:38.000000000 +0200
@@ -9,7 +9,7 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-       rm -rf $(datadir)/themes/SimplySmooth
+       rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth

 DISTCLEANFILES=index.theme
 EXTRA_DIST=index.theme.in index.theme
diff -Nur gnome-themes-2.7.92.orig/gtk-themes/Glider/Makefile.am
gnome-themes-2.7.92/gtk-themes/Glider/Makefile.am
--- gnome-themes-2.7.92.orig/gtk-themes/Glider/Makefile.am      2004-08-17
12:27:33.000000000 +0200
+++ gnome-themes-2.7.92/gtk-themes/Glider/Makefile.am   2004-08-31
15:10:24.000000000 +0200
@@ -10,6 +10,6 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-               rm -rf $(datadir)/themes/SimplySmooth/gtk-2.0
+               rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth/gtk-2.0

 EXTRA_DIST = $(theme_DATA)
diff -Nur gnome-themes-2.7.92.orig/metacity-themes/Makefile.am
gnome-themes-2.7.92/metacity-themes/Makefile.am
--- gnome-themes-2.7.92.orig/metacity-themes/Makefile.am        2004-08-27
17:39:08.000000000 +0200
+++ gnome-themes-2.7.92/metacity-themes/Makefile.am     2004-08-31
15:10:38.000000000 +0200
@@ -39,4 +39,4 @@

 #Keep this hack in until 2.8.0 is released
 install: install-am
-               rm -rf $(datadir)/themes/SimplySmooth
+               rm -rf $(DESTDIR)$(datadir)/themes/SimplySmooth
Comment 3 Calum Benson 2004-09-01 15:42:20 UTC
Oops, thought I'd fixed that one up already.  Awaiting release team approval to
commit.
Comment 4 Calum Benson 2004-09-01 16:49:24 UTC
Committed.