[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Loads of problems building RPM
- From: Jim Ribar <jimmacr optonline net>
- To: rpm-list redhat com
- Subject: Re: Loads of problems building RPM
- Date: Wed, 24 Jul 2002 20:37:08 -0400
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
Here is the error:
"makefile", line 279: Need an operator
make: fatal errors encountered -- cannot continue
Apparently there is a problem with you changing: (To be more specific,
line 279 is the one with the echo on it)
##################################################
# 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 \
Thanks for your help!
--Jim
On Wednesday, July 24, 2002, at 01:42 PM, Jeff Johnson wrote:
The very first thing to do is to get the internal copy of db-4.0.14 to
build standalone on darwin/bsd, and to run the db-4.0.14 internal tests
to insure that the build "works".
The db sub-directory within rpm sources is exactly a db-4.0.14 top
level directory, build within the rpm/db/build_unix sub-directory
according to instuctions (wonderful BTW) at www.sleepycat.com:
cd rpm-4.1/db/build_unix
../dist/configure \
--enable-shared --enable-static --enable-debug --enable-rpc
make
The next step is to build in the rpm/db3 sub-directory with the
configure
flags that rpm is trying to use. This shouldn't be too much more
difficult
than doing
cd rpm-4.1/db3
../db/dist/configure \
--enable-shared --enable-static --enable-debug --enable-rpc \
--with-uniquename=_rpmdb --srcdir=$db_dist
make
Finally, you'll need to jigger the rpm/db3/configure (this is *NOT* an
autoconf
generated script, but rather a teensy wrapper to a db-4.0.14 build)
script to
"work" (i.e. perform the same build that you just performed in the
previous
step) on darwin/bsd. Once that is done, you'll be able to see what else
needs porting to darwin/bsd in rpm.
73 de Jeff
--
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]
[]