[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Compiling Net::LDAPapi



Found it.
The problem is Perl 5.6 or...
It is very strict with dirty code I'm told.
Compiles with perl 5.005_03 with just a warning.
Any ideas on this?
/Hans

Howard Chu wrote:
> 
> The last public version of Net::LDAPapi is 1.43, not the 1.42 that you are
> using.
> Also, some months ago I submitted patches to Clayton Donley for using 1.43
> with OpenLDAP. He replied saying that he would make these available for
> others,
> since he was getting a lot of requests for this support. Try contacting him
> at donley@wwa.com to see what's up.
>   -- Howard
> 
> > -----Original Message-----
> > From: owner-openldap-software@OpenLDAP.org
> > [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Charles N.
> > Owens
> > Sent: Monday, August 28, 2000 8:29 AM
> > To: hans.lohmander@ei.sigma.se
> > Cc: openldap-software@OpenLDAP.org
> > Subject: Re: Compiling Net::LDAPapi
> >
> >
> > The successor to Net::LDAPapi is Mozilla's PerLDAP (see
> > http://www.perldap.org).
> > Net::LDAPapi is no longer being developed.  I've used
> > Net::LDAPapi in the distant
> > past (with OpenLDAP 1.1 or something)... I don't know if it will
> > still build with
> > the newer OpenLDAP releases.
> >
> > PerLDAP [which is pretty dandy], however, adds the complexity
> > that it needs the
> > Mozilla LDAP C-SDK (basicly Mozilla's version of the ldap and
> > lber libraries).  If
> > you're doing your devel work on the same system where you have
> > the OpenLDAP
> > libraries installed you may run into a library name conflict
> > (depending, perhaps, on
> > your OS platform).
> >
> > The solution I'm using to this with FreeBSD is to rename the
> > Mozilla libraries to
> > mozldap and mozlber and doing minor tweaks to PerLDAP itself so
> > it compiles against
> > the newly named libraries.  The affected FreeBSD ports
> > (.../net/perldap and
> > .../net/ldapsdk) will, I believe, be updated shortly along these lines.
> >
> > cno
> >
> >
> > Hans Lohmander wrote:
> >
> > > Hi,
> > > I'm new to this list and did not find any postings
> > > regarding this issue in the archive.
> > >
> > > Trying to compile Net::LDAPapi for use with OpenCA
> > > Perl 5.6 on i586-linux
> > > RedHat 6.2
> > > OpenLDAP 1.2.0 and 1.2.11 tested
> > > Net::LDAPapi 1.42
> > > I used option: 2.  University of Michigan
> > > (option 1 - Netscape renedered "ldap_ssl.h" missing)
> > >
> > > Anyone else had the same problem?
> > > Please advice on how to proceed.
> > >
> > > TIA
> > >     Hans
> > > Details below ------
> > > In file included from LDAPapi.xs:21:
> > > ldap_compat.h:17: warning: `LDAP_OPT_REFERRALS' redefined
> > > /usr/local/include/ldap.h:461: warning: this is the location of
> > the previous def
> > > inition
> > > 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_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_url_parse':
> > > LDAPapi.xs:1137: `sv_undef' undeclared (first use in this function)
> > > make: *** [LDAPapi.o] Error 1
> > >
> > > --
> > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> > > Hans Lohmander -- Sigma Exallon Information AB
> > > Internet & Intranet solutions
> > > Talkto:+46 (0)40 247636
> > > Faxto:+46 (0)40 24 99 50
> > > Mobile# +46 (0)709-898636
> > > mailto:hans.lohmander@ei.sigma.se
> > > http://www.ei.sigma.se/
> > > ICQ# 9319123
> > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
> >
> > --
> > -------------------------------------------------------------------------
> >   Charles N. Owens                               Email: owensc@enc.edu
> >                                             http://www.enc.edu/~owensc
> >   Network & Systems Administrator
> >   Information Technology Services  "Outside of a dog, a book is a man's
> >   Eastern Nazarene College         best friend.  Inside of a dog it's
> >                                    too dark to read." - Groucho Marx
> > -------------------------------------------------------------------------
> >
> >

-- 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Hans Lohmander -- Sigma Exallon Information AB
Internet & Intranet solutions
Talkto:+46 (0)40 247636
Faxto:+46 (0)40 24 99 50
Mobile# +46 (0)709-898636
mailto:hans.lohmander@ei.sigma.se
http://www.ei.sigma.se/
ICQ# 9319123
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
begin:vcard 
n:Lohmander;Hans
tel;cell:+46 0709 898636
tel;fax:+46 40 249950
tel;work:+46 40 247636
x-mozilla-html:FALSE
url:http://www.ei.sigma.se/
org:Sigma Exallon Information AB;Internet / Intranet
adr:;;Stortorget 9;Malmö;;S-211 22;Sweden
version:2.1
email;internet:hans.lohmander@ei.sigma.se
title:Konsult
x-mozilla-cpt:;1
fn:Hans Lohmander
end:vcard