Building RPM for ROOT 5.22 on Fedora 10

From: Suvayu Ali <saa71_at_sfu.ca>
Date: Fri, 23 Jan 2009 17:09:48 -0800


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.

-- 
Suvayu

Open source is the future. It sets us free.
Received on Sat Jan 24 2009 - 02:09:53 CET

This archive was generated by hypermail 2.2.0 : Mon Feb 02 2009 - 05:50:02 CET