py bsddb compile bug

itavy at itavy.com itavy at itavy.com
Thu Nov 13 15:23:27 UTC 2008


when i have tried to compile from ports the py-bsddb it gave me this error:

# make
===>  Building for py25-bsddb-2.5.2_2
running build
running build_ext
building '_bsddb' extension
cc -DNDEBUG -O2 -fno-strict-aliasing -pipe -D__wchar_t=wchar_t
-DTHREAD_STACK_SIZE=0x20000 -O2 -fno-strict-aliasing -pipe -fPIC
-I/usr/local/include -I/usr/local/include/python2.5 -c _bsddb.c -o
build/temp.freebsd-7.1-PRERELEASE-i386-2.5/_bsddb.o
_bsddb.c: In function 'DBEnv_getattr':
_bsddb.c:5339: error: 'DB_ENV' has no member named 'db_home'
_bsddb.c:5342: error: 'DB_ENV' has no member named 'db_home'
_bsddb.c: In function 'init_bsddb':
_bsddb.c:5964: error: 'DB_LOG_AUTOREMOVE' undeclared (first use in this
function)
_bsddb.c:5964: error: (Each undeclared identifier is reported only once
_bsddb.c:5964: error: for each function it appears in.)
_bsddb.c:5965: error: 'DB_DIRECT_LOG' undeclared (first use in this function)
_bsddb.c:5973: error: 'DB_LOG_INMEMORY' undeclared (first use in this
function)
error: command 'cc' failed with exit status 1
*** Error code 1

Stop in /usr/ports/databases/py-bsddb.

i have installed the following version of dependencies:
python25-2.5.2_3
db47-4.7.25.1

python i have compiled with the folowind options:
WITH_UCS2=yes
WITHOUT_IPV6=yes
WITH_FPECTL=yes

Thank you,
Octavian Ionescu




More information about the freebsd-ports-bugs mailing list