[Rpm-maint] Patch for RPM-4.4.2.1

William.Adams at dot.state.fl.us William.Adams at dot.state.fl.us
Fri Jul 27 17:48:21 UTC 2007


Greetings:

it was a little difficult to tell if this was the right spot for a patch.
but:


./configure --disable-static --without-selinux

creating rpmq
make[2]: *** No rule to make target `build/.libs/librpmbuild.a', needed by
`rpm'.  Stop.
make[2]: Leaving directory `/root/build/rpm-4.4.2.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/build/rpm-4.4.2.1'
make: *** [all] Error 2

--- ../root/build/rpm-4.4.2.1/Makefile.am 2007-07-27 11:52:23.000000000
-0400
+++ ../build/rpm-4.4.2.1/Makefile.am      2007-07-27 12:37:14.000000000
-0400
@@ -53,7 +53,7 @@

 rpm_SOURCES =
 rpm_LDFLAGS =          $(myLDFLAGS)
-rpm_LDADD =            rpm.o $(top_builddir)/build/.libs/librpmbuild.a
$(myLDADD)
+rpm_LDADD =            rpm.o -lrpmbuild -L$(top_builddir)/build/.libs
$(myLDADD)
 rpm.o:     $(top_srcdir)/rpmqv.c
      $(COMPILE) -DIAM_RPMDB -DIAM_RPMEIU -DIAM_RPMK -DIAM_RPMQV -o $@ -c
$(top_srcdir)/rpmqv.c


William L. Adams III
Systems Programmer lll
DOT
PH:(850)414-4235
SC:          994-4235
william.adams at dot.state.fl.us




More information about the Rpm-maint mailing list