Compile RPM 4.1

Florian Lindner Florian.Lindner at
Sun Nov 17 10:42:34 PST 2002

Am Sonntag, 17. November 2002 17:08 schrieb Tushar T:
> Florian Lindner wrote:
> >Am Samstag, 16. November 2002 20:08 schrieb Tushar T:
> >>Florian Lindner wrote:
> >>>Hello,
> >>>I want to compile RPM 4.1 linked static after chapter 5.
> >>
> >>
> >
> >Sorry for the OT posting.
> >
> >>
> >
> >That describe a dynamically linked version. I want a static one, in order
> > to log all installations (using checkinstall) which are done in chapter
> > 6.

but don't work either:

./configure --prefix=$LFS/static --disable-nls --with-gnu-ld --disable-shared 
--enable-static --enable-static-link

make LDFLAGS=-all-static

/bin/sh ../libtool --mode=compile gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. 
-I../build -I../rpmdb -I../rpmio -I../popt -I../zlib    -O2 
-march=athlon-tbird -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT -Wall 
-Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wno-char-subscripts 
-c -o poptALL.lo `test -f 'poptALL.c' || echo './'`poptALL.c
gcc -s -DHAVE_CONFIG_H -I. -I. -I.. -I. -I.. -I../build -I../rpmdb -I../rpmio 
-I../popt -I../zlib -O2 -march=athlon-tbird -fomit-frame-pointer 
-D_GNU_SOURCE -D_REENTRANT -Wall -Wpointer-arith -Wstrict-prototypes 
-Wmissing-prototypes -Wno-char-subscripts -c poptALL.c -MT poptALL.lo -MD -MP 
-MF .deps/poptALL.TPlo -o poptALL.o
poptALL.c: In function `rpmcliInit':
poptALL.c:338: parse error before ';' token
make[3]: *** [poptALL.lo] Error 1
make[3]: Leaving directory `/home/lfs/build/static/src/rpm-4.1/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfs/build/static/src/rpm-4.1/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfs/build/static/src/rpm-4.1'
make: *** [all] Error 2

Any hints?

Unsubscribe: send email to listar at
and put 'unsubscribe lfs-support' in the subject header of the message

More information about the lfs-support mailing list