[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xlog-discussion] compile from source failed
From: |
Joop Stakenborg |
Subject: |
Re: [Xlog-discussion] compile from source failed |
Date: |
Mon, 30 May 2005 12:40:16 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.3a |
>
> Try renaming this file "mv /usr/share/applications/.mimeinfo.cache.cFMjgT
> /usr/share/applications/.mimeinfo.cache.cFMjgT.old"
>
> ALL ON ONE LINE AND AS ROOT
> check who owns the /usr/share/applications directory and check its
> permissions.
>
I think the problem here is that the ebuild is done by a non-root user,
which should work really. Tinkering with /usr/share/applications won't
help, as you won't have permissions during the build process.
Please have a look at debian/rules:
1) prior to calling the configure script the environment variable
UPDATE_DESKTOP_DATABASE is set to /bin/true. This prevents installation of
mime files during the package build:
UPDATE_DESKTOP_DATABASE=/bin/true \
./configure --prefix=/usr --enable-hamlib --mandir=/usr/share/man
2) remove some of the mime files after the build:
find debian/tmp/usr/share/mime -type f -a ! -name xlog.xml | xargs rm -fv
find debian/tmp/usr/share/mime -type d \
| xargs rmdir --ignore-fail-on-non-empty
3) when installing the gentoo package update-desktop-database should be
called. In debian this is handled by a post-installation script called
postinst:
if [ -x /usr/bin/update-desktop-database ] ; then
/usr/bin/update-desktop-database
fi
So, the gentoo maintainer needs to put some effort into this....
> HTH
> Richard g8jvm
>
>
Joop PG4I