Olivier wrote:
Hello,

I've downloaded via CVS :
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot \
co DirectorySDKSourceC
cvs co -r NSPR_4_2_2_RELEASE mozilla/nsprpub
cvs co -r NSS_3_6_RTM mozilla/security/coreconf mozilla/security/nss
cvs co -r DBM_1_61_RTM mozilla/dbm mozilla/security/dbm

I've downloaded build tools and set my environment like mentioned at http://mozilla.org/directory/csdk.html

All operations are made in cygwin environnement.

Building NSS and NSPR is ok (gmake nss_build_all)
Configuring SDK is ok (./configure --with-nss)
Compiling not.
Compilation block at :
perl ./../build/replace.pl \
LDAP_VENDOR_NAME="mozilla.org" \
LDAP_VENDOR_VERSION="500" \
< ldap-standard-tmpl.h > ../../../../dist/public/ldap/ldap-standard.h
I've to interrupt compilation by CTRL+C (replace.pm wait STDIN at while(<TEMPLATE>) statement ligne 24)

I put in comment perl's call in mozilla\directory\c-sdk\ldap\include\Makefile and modify by hand ldap-standard-tmpl.h with :
#define LDAP_VENDOR_VERSION 500 /* version # * 100 */
#define LDAP_VENDOR_NAME "mozilla.org"
Make sure you also copy the file to ..\..\..\dist\public\ldap\ldap-standard.h Which perl are you using? The replace.pl script should work.

but i've got error
cp -r ../../../../dist/./include/nspr/* ../../../../dist/public/ldap-nspr
SHMSDOS: cp: ..\..\..\..\dist\.\include\nspr\*: No such file or directory

I've got same problem with SDK source downloaded with
cvs co mozilla/directory.
Are you sure the NSPR portion of the build didn't fail? Check for earlier errors that may have been ignored by the make process (there is a bug in the make process if that happened).

-Mark Smith
Netscape


Reply via email to