I had this problem, try either polluting your PERL (I think -DPOLLUTE=1) or recompile your perl. This is a backwards compatibility issue with PERL not supplying global variables. Divya Sundaram wrote: > Hi all, > > I am unable to build PerlDAP on a RedHat 6.2 system. > Here is what happens when I issue a make command: > > mkdir blib > mkdir blib/lib > mkdir blib/lib/Mozilla > mkdir blib/lib/Mozilla/LDAP > mkdir blib/arch > mkdir blib/arch/auto > mkdir blib/arch/auto/Mozilla > mkdir blib/arch/auto/Mozilla/LDAP > mkdir blib/arch/auto/Mozilla/LDAP/API > mkdir blib/lib/auto > mkdir blib/lib/auto/Mozilla > mkdir blib/lib/auto/Mozilla/LDAP > mkdir blib/lib/auto/Mozilla/LDAP/API > mkdir blib/man3 > cp API.pm blib/lib/Mozilla/LDAP/API.pm > AutoSplitting blib/lib/Mozilla/LDAP/API.pm (blib/lib/auto/Mozilla/LDAP/API) > cp Conn.pm blib/lib/Mozilla/LDAP/Conn.pm > cp LDIF.pm blib/lib/Mozilla/LDAP/LDIF.pm > cp Utils.pm blib/lib/Mozilla/LDAP/Utils.pm > cp Entry.pm blib/lib/Mozilla/LDAP/Entry.pm > /usr/local/bin/perl -I/usr/local/perl-5.6.0/lib/5.6.0/i686-linux -I/usr/loca > l/perl-5.6.0/lib/5.6.0 / > usr/local/perl-5.6.0/lib/5.6.0/ExtUtils/xsubpp -nolinenumbers -typemap > /usr/local/perl-5.6.0/lib/5. > 6.0/ExtUtils/typemap -typemap typemap API.xs > API.xsc && mv API.xsc API.c > gcc -c -I/usr/local/ldapsdk-41/include -fno-strict-aliasing -D_LARGEFILE_SOU > RCE -D_FILE_OFFSET_BITS= > 64 -O2 -DVERSION=\"1.2.1\" -DXS_VERSION=\"1.2.1\" -I/usr/local/perl-5.6 > .0/lib/5.6.0/i686-linux/ > CORE -DLDAPV3 -DUSE_SSL API.c > API.c: In function `avref2charptrptr': > API.c:118: `na' undeclared (first use in this function) > API.c:118: (Each undeclared identifier is reported only once > API.c:118: for each function it appears in.) > API.c: In function `avref2berptrptr': > API.c:146: `na' undeclared (first use in this function) > API.c: In function `parse1mod': > API.c:283: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext': > API.c:661: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_compare_ext_s': > API.c:687: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation': > API.c:1104: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_extended_operation_s': > API.c:1131: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_result': > API.c:2289: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind': > API.c:2337: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_sasl_bind_s': > API.c:2364: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext': > API.c:2426: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_search_ext_s': > API.c:2461: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_search_st': > API.c:2522: `na' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_url_parse': > API.c:2781: `sv_undef' undeclared (first use in this function) > API.c: In function `XS_Mozilla__LDAP__API_ldap_url_search_st': > API.c:2843: `na' undeclared (first use in this function) > make: *** [API.o] Error 1 > > Gcc is version 2.95.2. > I have the iPlanet C SDKv4.1 for Linux installed in /usr/local/ldapsdk-41 > My version of RedHat is v6.2 > Perl is 5.6.0 > > Thanks for any pointers on how to address this. > > ---------------------------------------------------------------------------- > ---- > We don't need more strength, or greater opportunity. > What we need is to use what we have. --- Basil Walsh > ---------------------------------------------------------------------------- > ----
begin:vcard n:Chester;Daniel x-mozilla-html:TRUE url:www.chesternet.net/talamar adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] fn:Daniel Chester end:vcard
