lypkm has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I have been trying to install perldap-1.4 for the Mozilla modules that it has and I am getting the following error on the API compile -

gcc -B/usr/ccs/bin/ -c -fno-strict-aliasing -pipe -I/usr/local/inclu +de -I/opt/gnu/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O + -DVERSION=\"1.4\" -DXS_VERSION=\"1.4\" -fPIC "-I/usr/local/lib/perl5 +/5.8.5/sun4-solaris/CORE" -DLDAPV3 API.c API.c: In function `perldap_init': API.c:133: error: storage size of 'memalloc_fns' isn't known API.c:141: error: `LDAP_OPT_MEMALLOC_FN_PTRS' undeclared (first use in + this function) API.c:141: error: (Each undeclared identifier is reported only once API.c:141: error: for each function it appears in.)

I have gcc 3.4.2 on a Solaris 9 box. Please advise. My perl version is 5.8.5

20050330 Janitored by Corion: Added formatting

Replies are listed 'Best First'.
Re: Help installing perldap-1.4
by idsfa (Vicar) on Mar 30, 2005 at 22:00 UTC

    You do not have (or gcc is not finding) the LDAP SDK. Please re-read the INSTALL docs.


    The intelligent reader will judge for himself. Without examining the facts fully and fairly, there is no way of knowing whether vox populi is really vox dei, or merely vox asinorum. -- Cyrus H. Gordon