Re: Building RPM for ROOT 5.22 on Fedora 10

From: Suvayu Ali <saa71_at_sfu.ca>
Date: Sun, 1 Feb 2009 14:51:15 -0800


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?
>

For those interested, I tried removing "root-ttf" from the "Requires: " line in root.spec and ran "rpmbuild -ba" (Just as a desperate measure) last night. This generated those very same rpms again however rpm did not complain about root-ttf while installing.

After installation though, I could not run root by typing *root*, I had to use *roota*. When the interactive session started, it showed some warnings about not being able to read some header files. When I tried to run one of my macros, It again complained about not being able to read a   certain header file and said *Interpreter recovered from an error*.

Please let me know if I can provide more information to troubleshoot this.

Cheers,

-- 
Suvayu

Open source is the future. It sets us free.
Received on Sun Feb 01 2009 - 23:51:26 CET

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