On Wed, Apr 14, 2004 at 10:49:58AM -0700, Mark K. Kim wrote:
> On Wed, 14 Apr 2004, Ben Armstrong wrote:
> 
> > > Anyone have suggestions for a real fix?
> >
> > Without reference to specific error messages, I cannot begin to guess. :)
> 
> BTW, the error messages I get when I try to install Tux Paint into my home
> directory as a user (my system *does* have GNOME and KDE; it's just that
> I'm installing as a user since I'm installing to my home directory):
> 
>   ...Installing launcher icon into GNOME...
>   install: cannot change permissions of `/usr/share/pixmaps': Operation not
>   permitted
>   cp: cannot create regular file `/usr/share/pixmaps/tuxpaint.png':
>   Permission denied
>   chmod: failed to get attributes of `/usr/share/pixmaps/tuxpaint.png': No
>   such file or directory
>   install: cannot change permissions of `/usr/share/gnome/apps/Graphics':
>   Operation not permitted
>   cp: cannot create regular file
>   `/usr/share/gnome/apps/Graphics/tuxpaint.desktop': Permission denied
>   chmod: failed to get attributes of
>   `/usr/share/gnome/apps/Graphics/tuxpaint.desktop': No such file or
>   directory
>   make: *** [install-gnome] Error 1
> 
> then the whole thing quits before getting to the KDE stuff.

Ah.  That has a simple solution.  Each of those paths are controlled by
variables.  They cannot simply be defaulted to paths relative to PREFIX, as
even though a user may wish to install to prefix = /usr/local, that doesn't
necessarily mean that's where the GNOME/KDE data dirs will be found, so you
have to specify these yourself, e.g.

make install GNOME_PREFIX=$HOME/.gnome2/ KDE_ICON_PREFIX=$HOME/.kde/share/icons/

Perhaps this is worthy of a note in docs/INSTALL.txt under the section
"Changing Where Things Go", giving a complete and working example for
installing all components into your homedir.  Please note: I have not
tested the above command.  Please let me know if it is correct.

Ben
--
 ,-.  nSLUG    http://www.nslug.ns.ca   [EMAIL PROTECTED]
 \`'  Debian   http://www.debian.org    [EMAIL PROTECTED]
  `          [ gpg 395C F3A4 35D3 D247 1387 2D9E 5A94 F3CA 0B27 13C8 ]
             [ pgp 7F DA 09 4B BA 2C 0D E0 1B B1 31 ED C6 A9 39 4F ]
_______________________________________________
Tuxpaint-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxpaint-dev

Reply via email to