[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Loads of problems building RPM



On Wed, Jul 24, 2002 at 08:37:08PM -0400, Jim Ribar wrote:
> The first two things worked great, and all built well.
> 
> But after trying to run the configure script in the db3 directory, it 
> configures properly but after that, I get an error.
> 
> It seems to be caused when the following runs at the end of the 
> configure script:
> # Generate manifest for rpmdb.
> make -s listobjs > db3lobjs
> 

This is a list of object files produced by the build. You can do
	cd rpm/db3
	ls *.lo > db3lobjs
after building in the db3 directory and before building in the rpmdb
directory if necessary.

> Here is the error:
> 
> "makefile", line 279: Need an operator
> make: fatal errors encountered -- cannot continue
> 

Use GNU make and sed. Either of the
	.PHONY:
or the (bogus) trailing \ on the
	db3_install: all install_setip \
line(s) may be what's causing you heartburn. Nuke 'em, if necessary.

> 
> Apparently there is a problem with you changing: (To be more specific, 
> line 279 is the one with the echo on it)
> 

Hmmm, my line 279 has a leading tab. Add a tab if necessary, and figger
why your sed script didn't. Send me a patch if successful.

HTH

73 de Jeff

> 
> ##################################################
> # We're building a standard library or a RPM file hierarchy, potentially
> # for Embedix.  Note: "all" must be the first target in the Makefile.
> ##################################################
> all: library_build
> 
> install: library_install
> 
> to
> 
> ##################################################
> # We're building a standard library or a RPM file hierarchy, potentially
> # for Embedix.  Note: "all" must be the first target in the Makefile.
> ##################################################
> all: library_build
> 
> .PHONY: listobjs
> listobjs:
> @echo $(OBJS) $(C_OBJS)
> 
> distdir install check:
> 
> db3_install: all install_setip \
> 

-- 
Jeff Johnson	ARS N3NPQ
jbj@redhat.com (jbj@jbj.org)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []