LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-16-2002, 06:00 AM   #1
MoRoSiS
LQ Newbie
 
Registered: Dec 2002
Location: Brisbane
Distribution: Slackware & LFS 4.0
Posts: 6

Rep: Reputation: 0
Question RPM won't compile.


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[4]: 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[4]: *** [popt.lo] Error 1
make[4]: 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.

Matty Jenko
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to compile rpm in Mandrake 10 jagrom Linux - Newbie 2 09-04-2004 10:05 AM
how do I compile or build a src.rpm driver? Falafel Linux - Software 1 11-19-2003 06:40 AM
Installing using both RPM and compile from source Silly22 Linux - Newbie 1 07-24-2003 04:53 PM
How do I statically compile a src.rpm? WeNdeL Linux - General 1 05-19-2003 10:32 AM
GLIBC-2.3 compile or RPM albracco Linux - General 1 01-25-2003 09:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration