Re: Building RPM for ROOT 5.22 on Fedora 10

From: Suvayu Ali <saa71_at_sfu.ca>
Date: Thu, 29 Jan 2009 10:10:05 -0800


Hi,

Johan Bregeon wrote:
> Suvayu Ali wrote:
>> Hi,
>>

<snip>
>>> $rpmbuild -ba /path/to/root.spec
>>
>> This generates the rpm packages, root-system-<version>.rpm and
libroot-static-<version>.rpm. However when I try to install these, RPM complains about a dependency, root-ttf-<something>.rpm. I looked in the spec file, it has that package tagged as requires.
>>

<snip>
>> I have to mention, the machine I am trying to build on is not
connected to the Internet. So where do I get these fonts beforehand? And how do I tell rpmbuild where they are?
>>
>> Thanks in advance for any help.
>>
> ...strange enough, F10 certainly has it's ttf somewhere.
> I have built many times rpm for Fedora, but using my own spec, that's
why I probably never encountered this issue.
> However, looking at :
> http://root.cern.ch/root/Install.html
> I see :
> Most Linux distributions have a freetype package with the needed
library and headers, but seldomly do they provide the fonts. You can get a minimal set of fonts from:
>
> ftp://root.cern.ch/root/ttf/ttf_fonts.tar.gz
>

First, sorry for the late reply. I tried downloading the fonts and repackaging the root source tarball with them and running rpmbuild after that. Also I got my machine connected to the Internet. But, it still did not generate a root-ttf package. And rpm still refuses to install.

Is there anyway I can remove the dependency, from the spec file so that rpm goes ahead with the install without root-ttf? I am not familiar with spec files, so can some one point me to the correct part to modify?

> Hope this will help
> Regards,
> Johan

Thanks for the suggestions.

PS: Looks like in my anxiousness I hit reply instead of reply all and my reply went to Johan instead of the list. Apologies.

-- 
Suvayu

Open source is the future. It sets us free.
Received on Thu Jan 29 2009 - 19:09:54 CET

This archive was generated by hypermail 2.2.0 : Fri Jan 30 2009 - 17:50:01 CET