xffm compile problem as non root

Kevin Fenzi kevin-xfce-dev at tummy.com
Sun Sep 25 08:14:15 CEST 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Edscott" == Edscott Wilson Garcia <edscott at xfce.org> writes:

Edscott> El jue, 22-09-2005 a las 21:10 -0600, Kevin Fenzi escribió:
>> Yeah, but the ones is xffm/src are: (from Makefile.am):
>> 
>> install-data-local: $(mkinstalldirs) $(DESTDIR)$(bindir) ( cd
>> $(DESTDIR)$(bindir); \ rm -r xffm; $(LN_S) xffm-run xffm; \ ...
>> 
>> So, it has a $(DESTDIR) in there, so it will work under a non
>> system root...
>> 
>> The doc dir has in (Makefile.am):
>> 
>> install-data-local: ( cd $(datadir)/xffm; \ rm -f doc; $(LN_S)
>> ../xfce4/doc doc; \ )
>> 
>> So, I think we need a $(DESTDIR) in there before datadir?

Edscott> Yes it seems so. Maybe also a

Edscott> $(mkinstalldirs) $(DESTDIR)$(datadir)/xffm

Edscott> as well. Try this and see if it works ok. I'll it to svn for
Edscott> next release.

ok. 

Yeah, seems to work fine if I use something like: 

diff -Nur xffm-4.3.3.1.orig/doc/Makefile.in xffm-4.3.3.1/doc/Makefile.in
- --- xffm-4.3.3.1.orig/doc/Makefile.in   2005-08-16 17:37:06.000000000 -0600
+++ xffm-4.3.3.1/doc/Makefile.in        2005-09-24 23:49:04.000000000 -0600
@@ -606,7 +606,8 @@
        make -C it html

 install-data-local:
- -       ( cd $(datadir)/xffm; \
+       $(mkinstalldirs) $(DESTDIR)$(datadir)/xffm
+       ( cd $(DESTDIR)$(datadir)/xffm; \
          rm -f doc; $(LN_S) ../xfce4/doc doc; \
        )
 # Tell versions [3.59,3.63) of GNU make to not export all variables.

Thanks, 

Edscott> regards,
Edscott> -- Edscott Wilson Garcia <edscott at xfce.org>

kevin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFDNkA63imCezTjY0ERAsLOAJ44aZ/xOvBhkqhlhdBQ31YMWbgHxQCgmyLv
q5Xv4f884qKU8+d36AUVJNo=7Gs0
-----END PGP SIGNATURE-----



More information about the Xfce4-dev mailing list