Hi,

I just install libldap-utils and libldap2 packages and the install becomes
funny ;-))

Thank you Frédéric.

Regards.



-----Message d'origine-----
De : [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] la part de Frédéric Giudicelli
Envoyé : mercredi 4 janvier 2006 09:10
À : [email protected]
Objet : Re: Installation problem on DEBIAN


Hi,

I'm guessing you're missing the openldap includes.

Regards,
--
Frédéric Giudicelli
http://www.newpki.org

Khalid AFLAH wrote:
> 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 !!!

_____________________________________________________________________
NewPKI                                          http://www.newpki.org
User Support Mailing List                     [email protected]
Automated List Manager                           [EMAIL PROTECTED]


_____________________________________________________________________
NewPKI                                          http://www.newpki.org
User Support Mailing List                     [email protected]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to