Try these things: Make sure you can compile the examples in the ldapsdk (cd into the examples directory and run make). If you get an ELF error, you need to download the 2.6 binaries. Try running perl Makefile.PL POLLUTE=1, that helped me. Nicolas BEAUMONT wrote: > Hello, > > I try to build and compile Perladp on solaris but API.o con't be > construct. > I'm using the C SDK from : ldapsdk-41-SOLARIS_5.8-64-domestic-ssl.tar > > Here are the trace of what I've done : > > ##################################################################### > # perl -vers > > This is perl, version 5.005_03 built for sun4-solaris > > Copyright 1987-1999, Larry Wall > > Perl may be copied only under the terms of either the Artistic License or > the > GNU General Public License, which may be found in the Perl 5.0 source kit. > > Complete documentation for Perl, including FAQ lists, should be found on > this system using `man perl' or `perldoc perl'. If you have access to the > Internet, point your browser at http://www.perl.com/, the Perl Home Page. > > # perl Makefile.PL > > PerLDAP - Perl 5 Module for LDAP > ================================ > Directory containing 'include' and 'lib' directory of the Netscape > LDAP Software Developer Kit (default: /usr): /usr/LDAP_SDK > Using LDAPv3 Developer Kit (default: yes)? > Include SSL Support (default: yes)? > Libraries to link with (default: -L/usr/LDAP_SDK/lib -lldapssl41): > Checking if your kit is complete... > Looks good > Writing Makefile for Mozilla::LDAP::API > # make > . > . > . > . > cc -c -I/usr/LDAP_SDK/include -xO3 -xdepend -DVERSION=\"1.41\" -DXS_VE > RSION=\"1.41\" -KPIC -I/usr/perl5/5.00503/sun4-solaris/CORE -DLDAPV3 -DUSE_S > SL API.c > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: invalid token: > ## > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: undefined or not > a type: PL_ > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: syntax error > before or at: Gcurinterp > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 21: warning: > old-style declaration or incorrect type for: Gcurinterp > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: invalid token: > ## > "/usr/perl5/5.00503/sun4-solaris/CORE/perlvars.h", line 42: undefined or not > a type: PL_ > . > . > . > "API.c", line 3381: cannot dereference non-pointer type > "API.c", line 3381: undefined symbol: PL_sv_yes > "API.c", line 3381: warning: improper pointer/integer combination: op "=" > *** Error code 2 > make: Fatal error: Command failed for target `API.o' > > ##################################################################### > > Do you have any ideas to help or do you need more informations ? > > Thk in advance > > -- > Nicolas Beaumont > > Atos Origin > Tour Les Miroirs > 18 Av. d'Alsace > 92926 Paris La D�fense Cedex > > T�l : 01 70 92 40 33 > mail : [EMAIL PROTECTED]
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
