[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
C SDK for Cygwin
- To: openldap-general <openldap-general@OpenLDAP.org>
- Subject: C SDK for Cygwin
- From: "Steinitz, Dominic J" <Dominic.J.Steinitz@BritishAirways.com>
- Date: 15 Jan 2000 09:04:40 Z
- Alternate-recipient: Allowed
- Content-identifier: 0638738803828001
- Content-return: Allowed
- Conversion: Allowed
- Disclose-recipients: Prohibited
- Original-encoded-information-types: IA5-Text
- X400-content-type: P2-1988 ( 22 )
- X400-mts-identifier: [/c=gb/admd=attmail/prmd=ba/; 0638738803828001-BAWMTA]
- X400-originator: Dominic.J.Steinitz@BritishAirways.com
- X400-received: by mta BAWMTA in /c=gb/admd=attmail/prmd=ba/; Relayed; 15 Jan 2000 09:04:40 Z
- X400-received: by /c=gb/admd=attmail/prmd=ba/; Relayed; 15 Jan 2000 09:04:40 Z
- X400-recipients: non-disclosure;
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.
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$