[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: compiling under cygwin
- To: Cory.Bestgen@courts.mo.gov
- Subject: Re: compiling under cygwin
- From: "Dr. Volker Zell" <Dr.Volker.Zell@oracle.com>
- Date: Fri, 06 May 2005 15:40:24 +0200
- Cc: openldap-software@OpenLDAP.org
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEXCwsJycnLx8fHj4+Ms LCwMDAwuWgK3AAACgElEQVR4nDVTW5LjIAwUxvMvxZp/B/YADMwBTK38v6nC97/KtnBCXK5Y LXXrBSWcWlvOe6opp8/Zyd8Zhl04wsPd8HsDgHYR6jRtDib6AEFCYaJ2f9YPkNceg2kn+cQs E6hPMRF5BI1burluIKuxWmt7IV5u9TiBYF2+NwqHSLhD8kKeejhFLJQoJMIzICdkmHcDE35k p5m4QkuZAD/xKWod9svG4hwlucbThlvPcUJLGO5pz1RzWuE6/IFZ9Loubnv1iO9xjmuMYaJi l5+tQCORf4zLrKuc0349KFGmMP8PU+Q8AwZniP8EsMLx7CbQN2Cb50UcIACmoaZIAJlveQIE 3oHHTO0agsSWu+/gHaBCBahjdBT6gHlJpHBERqozoRfiud0APAe470SN0TefE6jkbUMG53ny Of7mN4DWgX1cs/6uPc7hQkPRJ5DrDHkFnuOo0JALrkcJqA1pkbfVAeTnhRytoLPwig0SeDzd A208MDYiJo71DYhCbzVPJbcCovamst5lCdfRfAnLhrCYJtAPlbzqMTe2QBG7nXafUl95t0AN m14DqREnjAPi/PWv8FJirhUSJEQ5Rxenrx4jgFajW4lCnQCH1Y4lQzPGpwTt0vP+qJW2ny8b rW1wbUGFqVLcHx6RV7ngNkk4IpLqBLakvmMv14U/ydbq85EzbcUU28AT8BdW9HlT0YqZM4Uw Iwpa8LuhcgwyOIDmekRb0N0/dx2xYB24hAkQiky/2CDqvJfv0weFPnmUbGmt3iuhhuX6V4La fRYA1ZtIS8rPV6S5WWP02hRTp8HiF7s3CvM6SOfk95CGIumWQ3Mu+IO7FV9q7cmn/IN0/H4w XXOr03/MM7ILKTNrNgAAAABJRU5ErkJggg==
- In-reply-to: <OF0A2B488D.86937694-ON86256FF5.004CE829-86256FF5.004D0675@courts.mo.gov> (Cory Bestgen's message of "Mon, 2 May 2005 09:01:19 -0500")
- References: <OF0A2B488D.86937694-ON86256FF5.004CE829-86256FF5.004D0675@courts.mo.gov>
- User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, cygwin32)
>>>>> Cory Bestgen writes:
> I am trying to compile the latest release under cygwin on windows and am
> getting some errors.
> Does anyone know why the make is failing or what can be done to get it to
> finish comiling?
> The "make depend" command completed fine.
Why don't you just download the cygwin version with setup.exe from
http://cygwin.com
It uses shared libraries and passes all tests. Here's the patch I used
for compilation.
diff -urN -x .build -x .inst -x .sinst openldap-2.2.26-orig/build/top.mk openldap-2.2.26/build/top.mk
--- openldap-2.2.26-orig/build/top.mk 2005-01-20 18:00:55.000000000 +0100
+++ openldap-2.2.26/build/top.mk 2005-05-04 12:50:55.288185600 +0200
@@ -69,7 +69,7 @@
LIBTOOL = @LIBTOOL@
LIBRELEASE = @OPENLDAP_LIBRELEASE@
LIBVERSION = @OPENLDAP_LIBVERSION@
-LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION)
+LTVERSION = -release $(LIBRELEASE) -version-info $(LIBVERSION) -no-undefined
# libtool --only flag for libraries: platform specific
NT_LTONLY_LIB = # --only-$(BUILD_LIBS_DYNAMIC)
diff -urN -x .build -x .inst -x .sinst openldap-2.2.26-orig/configure openldap-2.2.26/configure
--- openldap-2.2.26-orig/configure 2005-03-23 00:20:29.000000000 +0100
+++ openldap-2.2.26/configure 2005-05-04 12:50:55.318228800 +0200
@@ -8724,6 +8724,10 @@
fi
+if test "${CYGWIN}" = yes
+then
+ echo Winsock tests disabled on Cygwin
+else
if test "$ac_cv_header_winsock_h" = yes; then
echo $ac_n "checking for winsock""... $ac_c" 1>&6
echo "configure:8730: checking for winsock" >&5
@@ -8782,7 +8786,7 @@
echo "$ac_t""$ol_cv_winsock" 1>&6
fi
-
+fi
echo $ac_n "checking for socket""... $ac_c" 1>&6
echo "configure:8789: checking for socket" >&5
Ciao
Volker