Bug 21131 - Solaris 8 (non-GNU make) build problem
Solaris 8 (non-GNU make) build problem
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
7.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-20 12:06 EST by Joe Orton
Modified: 2007-04-18 12:29 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-11-29 04:57:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Joe Orton 2000-11-20 12:06:29 EST
RPM build fails on Solaris 8 due to a lack of GNU make.

The generated Makefile's contain lines like:

librpm_la_DEPENDENCIES =  $(subst .c,.lo,$(DBLIBOBJS))

(from lib/Makefile.in)

The same will go for all platforms without GNU make, presumably.
Comment 1 Alan Cox 2000-11-28 12:42:00 EST
Install gnu make on solaris first. You will also need to build libdb1 and libdb3

Alan
Comment 2 Joe Orton 2000-11-29 04:57:09 EST
Unfortunately, this is not an acceptable solution: our customers do not have GNU
make and in some cases don't want to have GNU make.
Comment 3 Jeff Johnson 2000-12-22 10:29:46 EST
Fixed in rpm-4.0.something, I fergit.
Comment 4 Dimitri Papadopoulos 2001-05-15 08:44:35 EDT
RPM 4.0.2 still needs gmake to build. Won't work with Sun make:

[...]
Making all in popt
make  all-recursive
Making all in intl
Making all in po
make: Fatal error in reader: Makefile, line 90: Macro assignment on dependency
line
Current working directory /home/papadopo/rpm-4.0.2/popt/po
[...]

Line 90 of popt/po/Makefile is empty and Sun's make has a problem with it:

all-yes: cat-id-tbl.c $(CATALOGS)
all-no:

$(srcdir)/$(PACKAGE).pot: $(POTFILES)
	$(XGETTEXT) --default-domain=$(PACKAGE) --directory=$(top_srcdir) \

Best regards,
Dimitri

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