Re: Building RPM for ROOT 5.22 on Fedora 10

From: Johan Bregeon <johan.bregeon_at_pi.infn.it>
Date: Mon, 26 Jan 2009 11:19:12 +0100


Suvayu Ali wrote:
> Hi,
>
> I am a new user of ROOT and was trying to build an RPM using rpmbuild,
> however I ran into some difficulties.
>
> OS: Fedora 10 x86_64
>
> I extracted the tarball and did
>
>> $./configure redhat
>
> in the top directory of the source tree to generate a spec file. I
> used this specfile to build ROOT using,
>
>> $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.
>
> In the source tree, ./build/packages/common/ttf-root-installer.control
> mentions,
>
>> Package: ttf-root-installer
>> Architecture: all
>> Section: contrib/x11
>> Depends: ${misc:Depends}, wget (>= 1.9.1-4), xfonts-utils | xutils
>> (>= 4.0.2), debconf (>= 1.2.0)
>> Provides: root-ttf
>> Conflicts: ttf-root
>> Description: True type fonts for ROOT - installer package
>> This package will install the True Type Fonts (TTF) used by ROOT.
>> These fonts are provided by Microsoft. Note, that you may not
>> redistribute this font files. This package will download the fonts
>> from the ROOT FTP server, or alternatively use an already downloaded
>> tar-file.
>
> 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

Hope this will help
Regards,
Johan   Received on Mon Jan 26 2009 - 11:19:17 CET

This archive was generated by hypermail 2.2.0 : Thu Jan 29 2009 - 23:50:01 CET