Is there a way to make the bsddb module compile against db>=4.7 for python < 2.6
(2.4.6, 2.5.4)? A patch ? A tip ?

For the moment, i have a known failure as:
gcc -pthread -fno-strict-aliasing -DNDEBUG
-I/usr/home/kiorky/minitage/dependencies/readline-5.2/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/bzip2-1.0/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/db-4.7/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include  -I.
-IInclude -I./Include
-I/usr/home/kiorky/minitage/dependencies/readline-5.2/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/bzip2-1.0/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/zlib-1.2/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/db-4.7/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/openssl-0.9/parts/part/include
-I/usr/home/kiorky/minitage/dependencies/expat-2.0/parts/part/include -fPIC
-DPy_BUILD_CORE
-I/usr/home/kiorky/minitage/dependencies/db-4.7/parts/part/include -c
./Modules/_bsddb.c -o Modules/_bsddb.o
./Modules/_bsddb.c: In function 'DBEnv_getattr':
./Modules/_bsddb.c:5337: error: 'DB_ENV' has no member named 'db_home'
./Modules/_bsddb.c:5340: error: 'DB_ENV' has no member named 'db_home'
./Modules/_bsddb.c: In function 'init_bsddb':
./Modules/_bsddb.c:5962: error: 'DB_LOG_AUTOREMOVE' undeclared (first use in
this function)
./Modules/_bsddb.c:5962: error: (Each undeclared identifier is reported only 
once
./Modules/_bsddb.c:5962: error: for each function it appears in.)
./Modules/_bsddb.c:5963: error: 'DB_DIRECT_LOG' undeclared (first use in this
function)
./Modules/_bsddb.c:5971: error: 'DB_LOG_INMEMORY' undeclared (first use in this
function)
*** Error code 1


I looked for the one inside python >= 2.6 and it seems to have changed a lot so
backporting it seems difficult and maybe break the old API.

I didn't find something on it.

-- 
--
Cordialement,
KiOrKY
GPG Key FingerPrint: 0x1A1194B7681112AF

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to