[Date Prev][Date Next] [Chronological] [Thread] [Top]

C SDK for Cygwin



Does anyone know where I can get a version of the C API library for LDAP that works with cygwin b20 running in Windows 95? The Netscape SDK seems to either work for UNIX or for Windows assuming you have the Microsoft C compiler. I've had a look through the archive but couldn't see anything.

I downloaded the source from http://www.mozilla.org/directory/ and followed the instructions but with no success. I will try building the source on Linux but I don't have access to a Linux machine until Monday.

Dominic.

===================================================================================================

I tried to build the SDK using cygwin

 I ran 

gzip -dc ldapsdk_12311998_tar.gz | tar -xvf -

and created /mozilla

I then set the environment variables

MOZILLA_CLIENT=1
NO_MDUPDATE=1
MOZ_LDAP_SDK=1
export MOZILLA_CLIENT NO_MDUPDATE MOZ_LDAP_SDK
unset MOZ_LI
unset MOZ_LITE
unset MOZ_MEDIUM
unset NO_SECURITY

I then tried

make -f directory/ldap.sdk.mk build

I tried to capture the errors and output using

make 2>&1 1>dom.log

dom.log merely contained

cd config; make

Here's what was left of the error messages. 

../config/rules.mk:425: warning: overriding commands for target `CYGWIN_95-4.020
.1'
../config/rules.mk:417: warning: ignoring old commands for target `CYGWIN_95-4.0
20.1'
../config/rules.mk:429: warning: overriding commands for target `CYGWIN_95-4.020
.1'
../config/rules.mk:425: warning: ignoring old commands for target `CYGWIN_95-4.0
20.1'
../config/rules.mk:433: warning: overriding commands for target `CYGWIN_95-4.020
.1'
../config/rules.mk:429: warning: ignoring old commands for target `CYGWIN_95-4.0
20.1'
../config/rules.mk:440: warning: overriding commands for target `CYGWIN_95-4.020
.1'
../config/rules.mk:433: warning: ignoring old commands for target `CYGWIN_95-4.0
20.1'
../config/rules.mk:444: warning: overriding commands for target `CYGWIN_95-4.020
.1'
../config/rules.mk:440: warning: ignoring old commands for target `CYGWIN_95-4.0
20.1'
../config/rules.mk:787: *** target file `CYGWIN_95-4.020.1' has both : and :: en
tries.  Stop.
make: *** [build] Error 2
BASH.EXE-2.02$