Bug 7533 - rpm-3.0.3 doesn't compile under solaris
Summary: rpm-3.0.3 doesn't compile under solaris
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.1
Hardware: sparc
OS: Linux
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 1999-12-03 09:14 UTC by Joerg Dorchain
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 1999-12-03 13:20:41 UTC

Attachments (Terms of Use)

Description Joerg Dorchain 1999-12-03 09:14:05 UTC
after having sucessfully worked with rpm-2.5.2 under solaris I tried to
build rpm-3.0.3. For now, the problems are related to misc/err.c.
The configure script find out correctly that solaris 2.6 hasn't an err()
function in the system libraries and tries to build it. This fails because
of a lacking features.h that is included by err.c.
After installing a trivial features.h the make process runs until trying to
link dump. This has an unresolved err symbol. This in turn is in
misc/libmisc.a, which is not linked with.
When linking dump manually with libmisc.a, it fails with unresolved symbols
in err.o such as __progname, __set_errno and fputs_unlocked.
Looks like a linux/glibc-ism.

Comment 1 Jeff Johnson 1999-12-03 13:20:59 UTC
Um, I think you are using a preliminary version of rpm-3.0.3. Try getting
the final release from ftp.rpm.org -- I ripped out err.h et al before
releasing rpm-3.0.3 for the reasons you describe above.

Comment 2 Joerg Dorchain 1999-12-03 14:02:59 UTC
I got it off the RedHat Linux 6.1 SRPM CD. I'll try to download the mentioned
version now.

Note You need to log in before you can comment on or make changes to this bug.