Hi,
 
I try to install NewPKI RC1 on a Debian v3.0 r4 (2.2.20) from the source code.
The installation of newpki-lib is good. 
The installation of newpki-server is harder. The configure command looks good but the make returns errors :
 
ClientLDAP.cpp: In member function `void ClientLDAP::Disconnect()':
ClientLDAP.cpp:79: `ldap_unbind_s' undeclared (first use this function)
ClientLDAP.cpp:79: (Each undeclared identifier is reported only once for each
   function it appears in.)
ClientLDAP.cpp: In member function `bool ClientLDAP::Search(const mString&,
   mVector<LdapResult>&, int, int)':
ClientLDAP.cpp:108: `ldap_search_s' undeclared (first use this function)
ClientLDAP.cpp:90: warning: `int LdapRet' might be used uninitialized in this
   function
ClientLDAP.cpp: In member function `void
   ClientLDAP::AddCurrentMessage(mVector<LdapResult>&, LDAPMessage*)':
ClientLDAP.cpp:186: `ldap_get_values' undeclared (first use this function)
ClientLDAP.cpp:199: `ldap_value_free' undeclared (first use this function)
ClientLDAP.cpp:162: warning: `char**attrValue' might be used uninitialized in
   this function
ClientLDAP.cpp: In member function `bool ClientLDAP::Reconnect()':
ClientLDAP.cpp:215: `ldap_init' undeclared (first use this function)
ClientLDAP.cpp:225: `ldap_bind_s' undeclared (first use this function)
ClientLDAP.cpp:210: warning: `int LdapRet' might be used uninitialized in this
   function
make[2]: *** [newpki_server-ClientLDAP.o] Error 1
make[2]: Leaving directory `/home/newpki/newpki-server-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/newpki/newpki-server-2.0.0'
make: *** [all] Error 2
 
Here, the configure command line :
 
./configure --prefix=/path/to/newPKI/server --with-openssl-include=/path/to/openssl/include --with-openssl-lib=/path/to/openssl/lib --with-mysql-include=/path/to/mysql/include --with-mysql-lib=/path/to/mysql/lib/mysql --with-ldap-include=/path/to/openldap/include --with-ldap-lib=/path/to/openldap/lib --with-newpki-lib=/path/to/newPKI/lib --with-newpki-include=/path/to/newPKI/include
 
I use gcc, cpp and g++ version 3.0.4.
 
Please, help me.
 
Happy new year !!!

Reply via email to