Progress!, was [Gretl-devel] Problems building and installing on Fedora 8

Allin Cottrell cottrell at wfu.edu
Sun May 4 20:29:04 EDT 2008


On Sun, 4 May 2008, Max Pyziur wrote:

> Thanks again for your help.
> 
> I'm now trying to compile/build rpms on two different Fedora 8 machines:
> a 64-bit system Intel Core 2 Duo box, and
> a Dell 600M Inspiron laptop w/ a Pentium M processor
> 
> I've tried your suggestion of including "--without-gnome" in the 
> "configure" section of the spec file on the 64-bit machine.
> 
> The rpm compilation/build proceeds further and ends with the 
> output appended below.
> 
> On the laptop, no "--without-gnome" directive was used. However, 
> on the rpm build the results were similar to those for the 
> 64-bit machine (see second section below).
> 
> ################ RPM build error on 64-bit machine ###################
> RPM build errors:
>     File not found by glob: /var/tmp/gretl-1.7.4-mp-root/usr/lib/lib*
>     File not found by glob: /var/tmp/gretl-1.7.4-mp-root/usr/lib/gretl*/*
>     Installed (but unpackaged) file(s) found:
>    /usr/include/adf_kpss.h
>    /usr/include/bhhh_max.h...

I'm not an rpm expert, but it appears your .spec file must be 
wrong.  RPM is apparently complaining about the fact that the 
libgretl headers (e.g. /usr/include/adf_kpss.h) are being 
installed but not packaged.  That's to be expected, in a sense: 
the headers are installed by a normal "make install", but one 
would not expect them to be included in a binary .rpm, only in the 
associated "devel" .rpm.  

I suggest either (a) taking a closer look at the RPM 
documentation, or (b) ignoring RPM and just installing gretl 
independently of that mechanism.  If you're looking to create an 
RPM that you can redistribute then (a) will be required, 
otherwise (b) will probably save you grief.

Allin Cottrell


More information about the Gretl-devel mailing list