[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Cannot stat file whilst installing an rpm



Hi,

> Hi, 
> 
> I'm trying to build a spec file for the program goats, it should be
> pretty easy (building the spec file was easy), but when I came to
> install the rpm, I got the error:
> 
> Cannot stat file: /usr/Gnome2/share/gnome/help/goats/C/goats.xml : No
> such file or directory
> 
> doing a test build and install into my tmp build directory, it doesn't
> list this /usr/Gnome2 directory at all.
> 
> Yet this file is actual stored in: 
> 
> %{_datadir}/gnome/help/goats/C/goats.xml
> 
> I have specified every single file in the spec file just in case I
> messed up some where, but still the same error on install.
> 
> Once installed it works fine.
> 
> But this error is bugging me, can anyone shed some light on this for me.

It looks like it's more of an issue with Gnome 2.  It looks like this is a 
help file for yelp that should be handled by scrollkeeper.  Maybe you have 
a source install in /usr/Gnome2 where scrollkeeper is installed, and "make 
install" inside of the spec build finds scrollkeeper and tries to register 
these docs ?

A good idea would be to take a look at the spec file of a ximian or (null) 
package that handles install of docs with scrollkeeper; there's probably a 
way to turn off scrollkeeper registration during make install and a way to 
do it in a %post script.

Thomas

 -- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*-                      -*->
I could do so much harm
I could do you no good
I'll leave a stain in your heart I would
<-*- thomas@apestaart.org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []