I know. FWIW, this what the PerlDAP FAQ says:

# I'm having trouble compiling PerLDAP under Perl 5.6. What should I do?

When Perl 5.6 got released some of the internal variables changed, causing a bug in PerLDAP 1.4. You can do one of two things.

   1. Download PerLDAP 1.4.1 which fixes the problem. This is the preferred option of 
course.
   2. Recompile 1.4 using

% perl Makefile.PL POLLUTE=1


'na' is one of these symbols - but it took a fair bit of digging to figure this out.

- Andy

Chad Lucas wrote:
Thanks Andy, that did the trick.
I wonder why I wasn't able to find this information elsewhere?  There
was alot of people with this problem.  Oh, well.

Thanks Again
-Chad


"Andy Lynch" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

I ran into the same thing last week - did you try using
 perl ./Makefile.PL POLLUTE=1 ?

-Andy

Chad Lucas wrote:

I have seen this problem serveral times before, but have yet to come

accross


a solution to
the problem described below.  Here is my current environment:

Solaris 8, Perl 5.8, perldap 1.4.1, ldapsdk 5.1

I have tried compiling the perldap modules under various circumstance

but


have yet to
prevail.  Here are my errors:  (as commonly seen all over news groups
etc... )



gcc -B/usr/ccs/bin/ -c -I/usr/perLdap/include -fno-strict-aliasing -D_LARGE


FILE_SOURCE -D_FILE_OFFSET_BITS=64 -O -DVERSION=\"1.4\" -DXS_VERSION=\"1.4

\" -fPIC
"-I/usr/local/lib/perl5/5.8.0/sun4-solaris/CORE"  -DLDAPV3 -DUSE_SSL

API.c


API.c: In function `avref2charptrptr':
API.c:205: `na' undeclared (first use in this function)
API.c:205: (Each undeclared identifier is reported only once
API.c:205: for each function it appears in.)
API.c: In function `avref2berptrptr':
API.c:235: `na' undeclared (first use in this function)
API.c: In function `parse1mod':
API.c:377: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext':
API.c:839: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext_s':
API.c:866: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation':
API.c:1302: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation_s':
API.c:1330: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_result':
API.c:2546: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind':
API.c:2596: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind_s':
API.c:2624: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext':
API.c:2684: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext_s':
API.c:2718: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_search_st':
API.c:2777: `na' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse':
API.c:3057: `sv_undef' undeclared (first use in this function)
API.c: In function `XS_Mozilla__LDAP__API_ldap_url_search_st':
API.c:3122: `na' undeclared (first use in this function)
gcc: file path prefix `/usr/ccs/bin/' never used
make: *** [API.o] Error 1

I'm not going to go over every thing I did to try and solve the problem,
because none of it worked.
(I have tried multiple scenerios and Makefile manipulations over the

past 2


days)
I did try compiling on RedHat 8.0 to only receive the same exact error.
Thus, I'm looking for
someone who actually figured out what the hell the problem is here.

Please


feel free to
follow up via this news group or direct by email and I will update this
problem.

[EMAIL PROTECTED]

Thanks,
Chad









Reply via email to