Scott Johnson wrote:
> 
> I downloaded the tarball and tried to install it in my home directory.
> I unpacked the tarball, changed into the glade directory, and ran
> 
> ./configure --prefix=~
> make; make install
> 
> Everything worked fine until 'make install' tried to stuff pixmaps into
> /usr/share/glade/pixmaps; as I was not root at the time, Linux didn't
> appreciate this.  (I could become root easily enough, but would prefer
> to keep development code and stuff out of /usr ...)  All the other paths
> in the generated Makefile appear to be correct (and relative to my home
> directory); only the variable PACKAGE_PIXMAPS_DIR seems to ignore my
> specification of --prefix; and wishes to go in /usr.
> 
> Looking in configure.in, one finds
> 
> PACKAGE_PIXMAPS_DIR="`$gnomepath --datadir`/pixmaps/${PACKAGE}"
> 
> and typing gnome-config --datadir into csh gives (surprise) /usr/share
> 
> Would it work to modify configre.in so the pixmaps go somewhere relative
> to the setting of --prefix? ie
> 
> PACKAGE_PIXMAPS_DIR="$(datadir)/pixmaps/${PACKAGE}"
> 
> Or does Gnome expect to find pixmaps only where Gnome was installed (in
> /usr on my system; it is a RH6.0 system with a few of the updated RPMs)
> and nowhere else?  It would be IMHO a bad thing if non-root users could
> not install apps in their home directory when gnome is installed in the
> system directory because of this reason...
> 
> This little problem also shows up in the programs GENERATED by Glade...
> even though I build 'em for my home directory, they still try and stash
> stuff in /usr.

I think it's a Gnome feature. It will not find pixmaps unless they are
placed in certain directories.

Damon


+---------------------------------------------------------------------+
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the line "unsubscribe glade-devel" in the body of the message.

Reply via email to