Matthew M. DeLoera wrote:
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.

Yes. It appears to be a bug in msys or the MozillaBuild msys - it does not turn -L into /LIBPATH: when converting the unix style linker arguments into the MS VC++ style. Note that it does correctly convert -I to /I and it correctly converts the other arguments - not sure why it has a problem with -L -> /LIBPATH:


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.

Do you have to do a make install or make dist or something like that to generate ldap-standard.h?


Suggestiosn welcome.

Thanks,
- Matthew DeLoera

_______________________________________________
dev-tech-ldap mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-ldap

Reply via email to