Re: Error in building LDAP C-SDK for Windows - linker option /L instead of /LIBPATH?

"Matthew M. DeLoera" <[email protected]> Wed, 26 Aug 2009 11:20:53 -0400
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
I finally realized and discovered that this works:

cd directory/c-sdk
,/configure --with-nss=c:/dev/mozldap/nss-3.11.4 
--with-nspr=c:/dev/mozldap/nspr-4.6.4 --enable-clu
export LIB=$LIB"c:/dev/mozldap/nss-3.11.4/lib;c:/dev/mozldap/nspr-4.6.4/lib"
make

At least if I temporarily add nspr and nss to my LIB path, it works past 
my build issue.

My other question is why ldap-standard.h never gets created. I have the 
same issue in Windows and Linux. Perl seems to be fine in both 
environments, and I have never noticed any related errors while building 
the SDK. Googling showed me a news post that mentioned perl generating 
ldap-standard.h from ldap-standard-tmpl.h, but no such thing happening 
for me. I have to manually copy ldap-standard-tmpl.h to ldap-standard.h. 
I also haven't noticed any related configure options.

Suggestiosn welcome.

Thanks,
- Matthew DeLoera