Kevin Elliott wrote:
> 
> Robert,
> 
> Thanks for the assistance. Unfortunately, that post did not help and was
> slightly
> unrelated. In that post, a variable "na" was not defined. In my particular
> case,
> it's very different. I've tried 1.42 and 1.43 of Net::LDAPapi as well. Both
> with
> the same results. I have also tried using just Perl 5.003, and 5.6.
> 
> Anyone else know what's wrong?
> 
> -Kevin Elliott
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Robert
> Hannemann
> Sent: Friday, July 27, 2001 3:03 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [Openca-Users] Net::LDAPapi Module compile fails
> 
> Hi Kevin,
> 
> i�ve found a mail in the openssl mailinglist - hope this will help ...
> 
> http://www.openldap.org/cgi-bin/wilma_hiliter/openldap-software/200008/msg00
> 377.html
> 
> Regards,
> 
> Robert
> 
> Kevin Elliott wrote:
> >
> > Greetings,
> >
> > I've been attempting to install the Net::LDAPapi perl module, but there
> are
> > some conflicts
> > and problems with the libs and includes for OpenLDAP 2.0.1. Any ideas? I'm
> > including the compile log.
> >
> > Thanks,
> >
> > Kevin
> >
> > Net::LDAPapi Perl5 Module - by Clayton Donley <[EMAIL PROTECTED]>
> >
> > Enter How I Should Run Perl5 (ex. /usr/bin/perl, c:\perl\bin\perl),
> >  (default: /usr/local/bin/perl)?
> >
> > Select your Development Kit:
> >   1.  Netscape (default)
> >   2.  University of Michigan
> >   3.  ISODE (compiled with LDAP)
> > Choose: 2
> > Location of LDAP Include Files (default: /usr/include):
> > Location of LDAP Library Files (default: /usr/lib):
> > Using Kerberos for Authentication (default: n)?
> > Checking if your kit is complete...
> > Looks good
> > Writing Makefile for Net::LDAPapi
> > mkdir blib
> > mkdir blib/lib
> > mkdir blib/lib/Net
> > mkdir blib/arch
> > mkdir blib/arch/auto
> > mkdir blib/arch/auto/Net
> > mkdir blib/arch/auto/Net/LDAPapi
> > mkdir blib/lib/auto
> > mkdir blib/lib/auto/Net
> > mkdir blib/lib/auto/Net/LDAPapi
> > mkdir blib/man3
> > cp LDAPapi.pm blib/lib/Net/LDAPapi.pm
> > AutoSplitting blib/lib/Net/LDAPapi.pm (blib/lib/auto/Net/LDAPapi)
> > /usr/local/bin/perl constant.gen >constant.h
> >
> /usr/bin/perl -I/usr/local/lib/perl5/5.6.0/i686-linux -I/usr/local/lib/perl5
> > /5.6.0 /usr/local/lib/perl5/5.6.0/ExtUtils/xsubpp  -typemap
> > /usr/local/lib/perl5/5.6.0/ExtUtils/typemap -typemap typemap LDAPapi.xs >
> > LDAPapi.xsc && mv LDAPapi.xsc LDAPapi.c
> > cc -c  -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
> >    -DVERSION=\"1.42\" -DXS_VERSION=\"1.42\" -fpic -I/usr/local/lib/perl5/5
> .6
> > .0/i686-linux/CORE -Dbool=char -DHAS_BOOL LDAPapi.c
> > In file included from LDAPapi.xs:21:
> > ldap_compat.h:14: warning: `LDAP_OPT_DEREF' redefined
> > /usr/include/ldap.h:88: warning: this is the location of the previous
> > definition
> > ldap_compat.h:15: warning: `LDAP_OPT_SIZELIMIT' redefined
> > /usr/include/ldap.h:89: warning: this is the location of the previous
> > definition
> > ldap_compat.h:16: warning: `LDAP_OPT_TIMELIMIT' redefined
> > /usr/include/ldap.h:90: warning: this is the location of the previous
> > definition
> > ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
> > /usr/include/ldap.h:92: warning: this is the location of the previous
> > definition
> > ldap_compat.h:19: warning: `LDAP_OPT_ON' redefined
> > /usr/include/ldap.h:151: warning: this is the location of the previous
> > definition
> > ldap_compat.h:20: warning: `LDAP_OPT_OFF' redefined
> > /usr/include/ldap.h:152: warning: this is the location of the previous
> > definition
> > LDAPapi.xs: In function `av2modvals':
> > LDAPapi.xs:95: `na' undeclared (first use in this function)
> > LDAPapi.xs:95: (Each undeclared identifier is reported only once
> > LDAPapi.xs:95: for each function it appears in.)
> > LDAPapi.xs: In function `parse1mod':
> > LDAPapi.xs:197: `na' undeclared (first use in this function)
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_option':
> > LDAPapi.xs:385: dereferencing pointer to incomplete type
> > LDAPapi.xs:386: dereferencing pointer to incomplete type
> > LDAPapi.xs:387: dereferencing pointer to incomplete type
> > LDAPapi.xs:389: dereferencing pointer to incomplete type
> > LDAPapi.xs:390: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_get_option':
> > LDAPapi.xs:407: dereferencing pointer to incomplete type
> > LDAPapi.xs:408: dereferencing pointer to incomplete type
> > LDAPapi.xs:409: dereferencing pointer to incomplete type
> > LDAPapi.xs:410: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search':
> > LDAPapi.xs:578: `na' undeclared (first use in this function)
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_s':
> > LDAPapi.xs:614: `na' undeclared (first use in this function)
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_search_st':
> > LDAPapi.xs:660: `na' undeclared (first use in this function)
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_msgid':
> > LDAPapi.xs:747: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_msgtype':
> > LDAPapi.xs:757: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_get_lderrno':
> > LDAPapi.xs:769: dereferencing pointer to incomplete type
> > LDAPapi.xs:770: dereferencing pointer to incomplete type
> > LDAPapi.xs:771: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_lderrno':
> > LDAPapi.xs:787: dereferencing pointer to incomplete type
> > LDAPapi.xs:788: dereferencing pointer to incomplete type
> > LDAPapi.xs:789: dereferencing pointer to incomplete type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_set_rebind_proc':
> > LDAPapi.xs:1016: warning: passing arg 2 of `ldap_set_rebind_proc' from
> > incompatible pointer type
> > LDAPapi.xs: In function `XS_Net__LDAPapi_ldap_url_parse':
> > LDAPapi.xs:1137: `sv_undef' undeclared (first use in this function)
> > make: *** [LDAPapi.o] Error 1


Try to change na to PL_na and sv_undef to PL_sv_undef in LDAPapi.xs (
its a perl problem ).

Regards,

Robert

> >
> > _______________________________________________
> > Openca-Users mailing list
> > [EMAIL PROTECTED]
> > http://lists.sourceforge.net/lists/listinfo/openca-users
> 
> _______________________________________________
> Openca-Users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/openca-users
> 
> _______________________________________________
> Openca-Users mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/openca-users

_______________________________________________
Openca-Users mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/openca-users

Reply via email to