Greetings, I've been trying to build the latest SDK release on Windows XP (NT5.1) using cygwin with no luck. I'll describe the steps I made hoping that you would tell me which one(s) is wrong:
- I first downloaded the latest source tarball mozldap-6.0.3.tar.gz from the ftp and unpacked it to look like this /[my dev path]/mozilla/directory/c-sdk - I created a "dist" directory in "mozilla", then downloaded the binary releases zip files of both nspr-4.6.4 and nss-3.11.4 then unpacked them in to the "dist" folder to look like this: /[my dev path]/mozilla/dist/lib, bin and include. - I then browsed to the "c-sdk" directory and tried a simple ./configure then tried to build using make but it complained about nsinstall, so I downloaded the mozilla build tools, unpacked and added moztools/bin to my PATH and tried make again. - it passed, but now it complains about missing libplc4.a, libplds4.a & libnspr4.a. I checked ../dist/lib and could only find .lib and .dll versions of the missing files. I tried to make symbolic links to these but the error message always appears. - I tried to follow the "Windows build prerequisites" and "Windows build prerequisites using cygwin" but they describe how to build using visual studio cl and have nothing to do with gcc! Another question, if I try to use ./configure --with-nss , it fails to find the nss files although I have them in the "include", "lib" and "bin" subdirectories of ../mozilla/dist. The error message goes like this: . . cheking for --with-nss...yes cheking for --with-nss-inc...no cheking for --with-nss-lib...no ./configure: line 1309: cd: ../../dist/*.OBJ/lib: No such file or directory ./configure: line 1314: cd: ../../dist/public/nss: No such file or directory configure: error: system NSS not found is this normal? I was able to bypass this by explicitly specifying the location like this ./configure --with-nss=../../dist In the end I tried to follow the same and build the SDK on Fedora Core 5 and everything was finished in 1 minute! Its nice to be able to build from sources but I wish if there are more clear Windows build steps available and/or binary builds for windows at least. Thanks in advance Mohammad K. _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
