Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Nov 2008 08:56:43 -0600 (CST)
From:      itavy@itavy.com
To:        freebsd-ports-bugs@freebsd.org
Subject:   py bsddb compile bug
Message-ID:  <3740.86.55.4.142.1226588203.squirrel@www.itavy.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3740.86.55.4.142.1226588203.squirrel>