I am trying to compile using cygwin and I am running into a few issues
which hopefully somebody can point me in the right direction.

start up cygwin
./configure (not sure if I need to supply any options)

creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for cl... no
checking for --with-svrcore... no
checking for --with-nss... no
checking for --with-nss-inc... no
checking for --with-nss-lib... no
checking for --with-nspr... no
checking for --with-nspr-inc... no
checking for --with-nspr-lib... no
checking for whoami... /usr/bin/whoami
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-com
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compi
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for as... /usr/bin/as
checking for ar... /usr/bin/ar
checking for ld... /usr/bin/ld
checking for strip... /usr/bin/strip
checking for windres... /usr/bin/windres
checking for gcc -pipe support... yes
checking for perl5... no
checking for perl... /usr/bin/perl
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether gcc -mno-cygwin needs -traditional... n
checking for lchown... no
checking for strerror... yes
checking for pthread_create in -lpthreads... no
checking for pthread_create in -lpthread... no
checking for pthread_create in -lc_r... no
checking for pthread_create in -lc... no
checking for --with-sasl... no
checking for --with-sasl-inc... no
checking for --with-sasl-lib... no
checking for getaddrinfo... no
checking for getaddrinfo in -lsocket... no
checking for sasl_client_init in -lsasl2... no
checking for sasl_client_init in -lsasl... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config/Makefile
creating config/autoconf.mk
creating ldap/Makefile
creating ldap/clients/tools/Makefile
creating ldap/include/Makefile
creating ldap/libraries/Makefile
creating ldap/libraries/libldap/Makefile
creating ldap/libraries/libprldap/Makefile
creating ldap/libraries/libldif/Makefile
creating ldap/libraries/liblber/Makefile
creating ldap/libraries/libiutil/Makefile
creating ldap/libraries/libssldap/Makefile
creating ldap/libraries/libutil/Makefile

Next should I be running gmake or make. I don't seem to have gmake in
my cygwin envirornent so I tried running make


$ make
cd config; make BUILD_DEBUG=full export
make[1]: Entering directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/con
fig'
gcc -mno-cygwin -o now.o -c     -pipe -g   -UNDEBUG -DDEBUG_phartman  -
DDEBUG=1
-DXP_PC=1 -DWIN32=1 -D_WINDOWS=1 -DWINNT=1 -D_X86_=1 -
DHAVE_STRERROR=1  -DFORCE_
PR_LOG   now.c
gcc -mno-cygwin  now.o  -o now.exe
make[1]: Leaving directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/conf
ig'
cd ldap; make BUILD_DEBUG=full export
make[1]: Entering directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/lda
p'
cd include; make BUILD_DEBUG=full export
make[2]: Entering directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/lda
p/include'
nsinstall -D ../../../../dist/public/ldap
make[2]: nsinstall: Command not found
make[2]: *** [../../../../dist/public/ldap] Error 127
make[2]: Leaving directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/ldap
/include'
make[1]: *** [export] Error 2
make[1]: Leaving directory `/cygdrive/e/tmp/mozilla/mozilla/directory/
c-sdk/ldap
'
make: *** [export] Error 2

If make is the correct thing to run I can download msinstall from some
where but I jsut want to make sure I am on the right track

Any help would be greatly appreciated.

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

Reply via email to