Hi All,

I downloaded 389 directory server source code 1.3.2.3 from link 
(http://port389.org/sources/389-ds-base-1.3.2.3.tar.bz2) and try to compile in 
my CentOS release 4.9 (Final) environment. I noticed below error message and  
suspect with referring invalid Berkeley DB version.  I am currently using 
Berkeley DB version is db4-4.2.52-7.3.el4 and the link recommended the same. 
http://directory.fedoraproject.org/wiki/Building#Berkeley_DB<http://directory.fedoraproject.org/wiki/Building>


Anyone have idea about what is recommended release version of Berkely DB? Is 
any other dependencies require to compile the 389 DS 1.3.2.3 release version?

Note: I have able to compile 389 DS 1.2.8.2 release version using this build 
environment.

[root@ ~]# rpm -qa | grep db4
db4-4.2.52-7.3.el4
db4-4.2.52-7.3.el4
[root@ ~]#

Error message:
In function `checkpoint_threadmain':
../ldap/servers/slapd/back-ldbm/dblayer.c:4789: error: `DB_COMPACT' undeclared 
(first use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4789: error: (Each undeclared 
identifier is reported only once
../ldap/servers/slapd/back-ldbm/dblayer.c:4789: error: for each function it 
appears in.)
../ldap/servers/slapd/back-ldbm/dblayer.c:4789: error: syntax error before 
"c_data"
../ldap/servers/slapd/back-ldbm/dblayer.c:4791: error: `inst_obj' undeclared 
(first use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4794: error: `inst' undeclared (first 
use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4795: error: `rc' undeclared (first 
use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4795: error: `db' undeclared (first 
use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4809: error: `c_data' undeclared 
(first use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4809: error: `DB_FREE_SPACE' 
undeclared (first use in this function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4691: error: label `error_return' 
used but not defined
../ldap/servers/slapd/back-ldbm/dblayer.c: At top level:
../ldap/servers/slapd/back-ldbm/dblayer.c:4857: error: syntax error before '{' 
token
../ldap/servers/slapd/back-ldbm/dblayer.c:4858: error: `li' undeclared here 
(not in a function)
../ldap/servers/slapd/back-ldbm/dblayer.c:4858: error: initializer element is 
not constant
../ldap/servers/slapd/back-ldbm/dblayer.c:4858: warning: data definition has no 
type or storage class
../ldap/servers/slapd/back-ldbm/dblayer.c:4859: error: syntax error before ':' 
token
../ldap/servers/slapd/back-ldbm/dblayer.c:4861: error: syntax error before '->' 
token
../ldap/servers/slapd/back-ldbm/dblayer.c:4861: warning: data definition has no 
type or storage class


With Regards,
Balaji P





With Regards,
Balaji P



--
389-devel mailing list
389-de...@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel

Reply via email to