Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Tue, 14 Nov 2000 21:08:42 -0500 From: Jason Tishler To: Emmanuel Blot Cc: cygwin AT sources DOT redhat DOT com Subject: Re: OpenLDAP Message-ID: <20001114210842.B267@dothill.com> References: <020701c04e60$440c5620$e3dc9c81 AT ireland DOT sun DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0HLb6G2lUL9qj0tY" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <020701c04e60$440c5620$e3dc9c81@ireland.sun.com>; from emmanuel.blot@ireland.sun.com on Tue, Nov 14, 2000 at 05:28:12PM -0000 Organization: Dot Hill Systems Corp. --0HLb6G2lUL9qj0tY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Emmanuel, On Tue, Nov 14, 2000 at 05:28:12PM -0000, Emmanuel Blot wrote: > Has someone been able to compile the OpenLDAP project with Cygwin ? I have had partial success. Specifically, I can build everything except for the servers (i.e., clients and libraries). Since, I was only really interested in the libraries, I did not pursue it further. Although, I think that the main issue is the lack of full Cygwin pthreads support -- which I think that you have already noticed. Since then I have learned of GNU Portable Threads: http://www.gnu.org/software/pth/pth.html which can be built as pthreads. This may or may not work for you in this context. It did seem to work to add threading to Cygwin Python as indicated in: http://sources.redhat.com/ml/cygwin/2000-10/msg00805.html Attached is my recipe for building OpenLDAP including a script to deal with a case sensitivity issue in too many makefiles to hand edit. May be you or someone else will find it helpful. Let me know if you get the servers to work. Thanks, Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --0HLb6G2lUL9qj0tY Content-Type: message/rfc822 Content-Disposition: inline Received: from dp.boxhill.com (dp.boxhill.com [155.254.1.97]) by ny.dothill.com (8.9.3/8.9.3) with SMTP id QAA25916; Tue, 10 Oct 2000 16:29:08 -0400 Received: by dp.boxhill.com (sSMTP sendmail emulation); Tue, 10 Oct 2000 16:33:18 -0400 Date: Tue, 10 Oct 2000 16:33:18 -0400 From: Jason Tishler To: Jason Tishler Subject: Cygwin OpenLdap Build Instructions Message-ID: <20001010163318 DOT O1019 AT dothill DOT com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="FJsH6iC0578bZJ+1" Content-Disposition: inline User-Agent: Mutt/1.2.5i Organization: Dot Hill Systems Corp. --FJsH6iC0578bZJ+1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 1. Install GNU regex 0.12 2. LIBS='-L/usr/local/lib -lregex' CPPFLAGS=-I/usr/local/include configure --without-threads --disable-ldbm --enable-ldap --enable-passwd --enable-shell 3. Use fix.sh to correct *[Vv]ersion.c case problem. See attached. 4. make depend 5. make 6. make prefix=/tmp/openldap/usr/local install -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corporation Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason DOT Tishler AT dothill DOT com Hazlet, NJ 07730 USA WWW: http://www.dothill.com --FJsH6iC0578bZJ+1 Content-Type: application/x-sh Content-Disposition: attachment; filename="fix.sh" #!/bin/bash prefix=_ find . -name '*Version.c' | while read path do dir=$(dirname $path) file=$(basename $path) cp $path $path.orig mv $path $dir/$prefix$file done find . -name Makefile | xargs fgrep -l /Version.c | while read path do cp $path $path.orig sed -e 's/Version\.c/_Version.c/' $path >tmp.$$ mv tmp.$$ $path done path=./servers/slapd/shell-backends/Makefile cp $path $path.orig sed -e 's/pwd-Version\.c/_pwd-Version.c/' $path >tmp.$$ mv tmp.$$ $path --FJsH6iC0578bZJ+1-- --0HLb6G2lUL9qj0tY Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --0HLb6G2lUL9qj0tY--