G'day, I'm a new member so if I ask a question that's already been answered here then sorry.
Alrighty then, I am having a rather obscure problem with RPM 4.0. I have installed all the dependencies (some of them are later versions but I don't see why that would be a problem). These include zlib-1.1.3 (i have 1.1.4), Berkeley db1 and db3 libraries (I only installed db4.0 as an lfs hint mentioned that db1 isn't necessarily needed), bzip and gzip if support for these is wanted (I have later versions of both), and a few standard linux tools.
The ./configure part works OK, but when I try to 'make' it produces the error:
make: Entering directory `/usr/src/rpm-4.0/popt'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/BerkeleyDB.4.0/include -Wall -g -O2 -c popt.c
rm -f .libs/popt.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I/usr/local/BerkeleyDB.4.0/include -Wall -g -O2 -c popt.c -fPIC -DPIC -o .libs/popt.lo
popt.c: In function `poptGetNextOpt':
popt.c:733: `FLT_MAX' undeclared (first use in this function)
popt.c:733: (Each undeclared identifier is reported only once
popt.c:733: for each function it appears in.)
popt.c:735: `FLT_MIN' undeclared (first use in this function)
make: *** [popt.lo] Error 1
make: Leaving directory `/usr/src/rpm-4.0/popt'
I haven't been able to figure out where these FLT_MIN and FLT_MAX #defines have been defined. Obviously I'm missing a library but I don't know which one. Has anyone else had this problem and figured it out or know the solution??
I would really appreciate any help I could get on this as my damn modem (Aztech UM9800 56K USB modem: www.aztech.com
) only has drivers available in .rpm format.