xffm compile problem as non root

Nikolas Arend Nikolas.Arend at gmx.net
Fri Sep 23 13:30:50 CEST 2005


Edscott Wilson Garcia wrote:

>El jue, 22-09-2005 a las 19:47 -0600, Kevin Fenzi escribió:
>  
>
>>-----BEGIN PGP SIGNED MESSAGE-----
>>Hash: SHA1
>>
>>
>>Greetings. 
>>
>>Not sure if this is the right place, but I thought I would try here
>>first.
>>
>>    
>>
>
>Yes, this is the place.
>
>  
>
>>I am trying to get the latest xffm (4.3.3.1) from xffm.sf.net built
>>and tested so I can update the version in fedora-extras. 
>>
>>It looks like it has an issue building as a non-root user. It has a
>>hard coded path in the docs in 'install-exec-am'. 
>>
>>I can probibly patch around it, but it would be good to get fixed
>>upstream. Is this the right place to ask? Any ideas on a quick fix?
>>
>>Here's the tail of the build log... happy to provide any additional
>>information... 
>>    
>>
>
>If I understand correctly, it seems to be this part of the
>xffm/docs/Makefile.am:
>
>install-data-local:
>	( cd $(datadir)/xffm; \
>	  rm -f doc; $(LN_S) ../xfce4/doc doc; \
>	)
>
>This seems to get hardcoded to whatever is set in the --prefix option
>used when you run the configure script. I suppose you can specify a
>non-root target spot. But this also means that $prefix/lib should be in
>the ld path, otherwise the libraries will not be found. There are
>similar symbolic link creations in xffm/src directory. HTH.
>
>regards,
>
>  
>
>>kevin
>>- --
>>make[5]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr/images'
>>make[4]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr/images'
>>make[4]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr'
>>make[5]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr'
>>make[5]: Nothing to be done for `install-exec-am'.
>>test -z "/usr/share/xfce4/doc/fr" || mkdir -p -- "/var/tmp/xffm-4.3.3.1-1.fc4-root-kevin/usr/share/xfce4/doc/fr"
>> /usr/bin/install -c -m 644 'xffm.html' '/var/tmp/xffm-4.3.3.1-1.fc4-root-kevin/usr/share/xfce4/doc/fr/xffm.html'
>>make[5]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr'
>>make[4]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr'
>>make[3]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/fr'
>>Making install in it
>>make[3]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/it'
>>make[4]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/it'
>>make[4]: Nothing to be done for `install-exec-am'.
>>test -z "/usr/share/xfce4/doc/it" || mkdir -p -- "/var/tmp/xffm-4.3.3.1-1.fc4-root-kevin/usr/share/xfce4/doc/it"
>> /usr/bin/install -c -m 644 'xffm.html' '/var/tmp/xffm-4.3.3.1-1.fc4-root-kevin/usr/share/xfce4/doc/it/xffm.html'
>>make[4]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/it'
>>make[3]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc/it'
>>make[3]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc'
>>make[4]: Entering directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc'
>>make[4]: Nothing to be done for `install-exec-am'.
>>( cd /usr/share/xffm; \
>>  rm -f doc; ln -s ../xfce4/doc doc; \
>>)
>>ln: creating symbolic link `doc' to `../xfce4/doc': Permission denied
>>make[4]: *** [install-data-local] Error 1
>>make[4]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc'
>>make[3]: *** [install-am] Error 2
>>make[3]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc'
>>make[2]: *** [install-recursive] Error 1
>>make[2]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1/doc'
>>make[1]: *** [install-recursive] Error 1
>>make[1]: Leaving directory `/home/kevin/fedora-extras/xffm/devel/xffm-4.3.3.1'
>>error: Bad exit status from /var/tmp/rpm-tmp.6009 (%install)
>>
>>kevin
>>-----BEGIN PGP SIGNATURE-----
>>Version: GnuPG v1.4.1 (GNU/Linux)
>>Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
>>
>>iD8DBQFDM16o3imCezTjY0ERAkAnAJ975dqvnLiiwE/W0dbMjcMn12l9KACfVjaj
>>A3757WEQ5TBSueNxrmkrYeA=
>>=RcTb
>>-----END PGP SIGNATURE-----
>>_______________________________________________
>>Xfce4-dev mailing list
>>Xfce4-dev at xfce.org
>>http://foo-projects.org/mailman/listinfo/xfce4-dev
>>
>>    
>>


Hi,

what I do is inserting a $(DESTDIR) manually before installing. That
would look like

install-data-local:
	( cd $(DESTDIR)/$(datadir)/xffm; \
	  rm -f doc; $(LN_S) ../xfce4/doc doc; \
	)


IMHO it may be a good idea to let the Makefile in doc/ be created like
this by default.

Best,   Nick.




More information about the Xfce4-dev mailing list