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

Python 2.4.4 FC6 SRPM



I installed the Python 2.4.4 FC6 SRPM on my Fedora 7 test 4 system and
tried to build it using: $ rpmbuild -ba python.spec. However this
leads to an error in the %build stage.

gcc -pthread -fPIC -fno-strict-aliasing -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables -D_GNU_SOURCE -fPIC
-I/usr/kerberos/include   -I. -I./Include  -I/usr/include/db4 -c
./Modules/_bsddb.c -o Modules/_bsddb.o
./Modules/_bsddb.c: In function 'DBEnv_set_lk_max':
./Modules/_bsddb.c:3844: error: 'DB_ENV' has no member named 'set_lk_max'
./Modules/_bsddb.c: In function 'init_bsddb':
./Modules/_bsddb.c:5042: error: 'DB_CACHED_COUNTS' undeclared (first
use in this function)
./Modules/_bsddb.c:5042: error: (Each undeclared identifier is
reported only once
./Modules/_bsddb.c:5042: error: for each function it appears in.)
./Modules/_bsddb.c:5077: error: 'DB_RECORDCOUNT' undeclared (first use
in this function)
make: *** [Modules/_bsddb.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.54845 (%build)


RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.54845 (%build)

What is wrong?

Happy hacking,
Debarshi
--
GPG key ID: 63D4A5A7
Key server: pgp.mit.edu


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