Error while building the source code for LDAP C SDK

[email protected]
Newsgroups gmane.comp.mozilla.devel.directory
Organization http://groups.google.com
Message-ID <[email protected]>
Hi All,

I am planning to use SSL for LDAP. I am building the source code for
the LDAP C SDK with NSS & NSPR  modules as SSL requires those modules
internally.

The instructions that i followed to grab the source from the
repositories:
step1:
cvs co -P -r LDAPCSDK_6_0_3_RTM DirectorySDKSourceC
cvs co -r NSPR_4_6_4_RTM mozilla/nsprpub
cvs co -r NSS_3_11_4_RTM mozilla/dbm mozilla/security/dbm
cvs co -r NSS_3_11_4_RTM mozilla/security/coreconf mozilla/security/
nss

step2:
cd /opt/tibco/mozilla/security/nss
gmake nss_build_all

my build fails with the following error:

cd ../coreconf ;  gmake
gmake[1]: Entering directory `/opt/tibco/mozilla/security/coreconf'
cd nsinstall; gmake export
gmake[2]: Entering directory `/opt/tibco/mozilla/security/coreconf/
nsinstall'
gmake[2]: Nothing to be done for `export'.
gmake[2]: Leaving directory `/opt/tibco/mozilla/security/coreconf/
nsinstall'
cd nsinstall; gmake libs
gmake[2]: Entering directory `/opt/tibco/mozilla/security/coreconf/
nsinstall'
true -m 775 Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall ../../../dist/
Linux2.6_x86_glibc_PTH_DBG.OBJ/bin
gmake[2]: Leaving directory `/opt/tibco/mozilla/security/coreconf/
nsinstall'
gmake[1]: Leaving directory `/opt/tibco/mozilla/security/coreconf'
../coreconf/nsinstall/Linux2.6_x86_glibc_PTH_DBG.OBJ/nsinstall -
D ../../nsprpub/Linux2.6_x86_glibc_PTH_DBG.OBJ
cd ../../nsprpub/Linux2.6_x86_glibc_PTH_DBG.OBJ ; \
 sh ../configure \
 \
--with-dist-prefix='/opt/tibco/mozilla/security/nss/../../dist/
Linux2.6_x86_glibc_PTH_DBG.OBJ' \
--with-dist-includedir='/opt/tibco/mozilla/security/nss/../../dist/
Linux2.6_x86_glibc_PTH_DBG.OBJ/include'
: command not found2:
: command not found9:
: command not found68:
: command not found102:
: command not found109:
'./configure: line 112: syntax error near unexpected token `do
'./configure: line 112: `do
gmake: *** [../../nsprpub/Linux2.6_x86_glibc_PTH_DBG.OBJ/
config.status] Error 2


Can anyone help me with proceding further in building the source
code ..

Thanks in advance.

Jaggs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.