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

RE: OpenLDAP MinGW Build: select() required



Howard, could you possibly give me the command line and environment
variables you are typically using when performing your MinGW build
(CPPFLAGS, LDFLAGS, LIBS, etc)?

I'm trying to build the 2.2.4 release and am still having issues doing so.

Thanks,

Jason

-----Original Message-----
From: Howard Chu [mailto:hyc@highlandsun.com] 
Sent: Friday, January 09, 2004 4:19 PM
To: 'Jason Raneses'; openldap-software@OpenLDAP.org
Subject: RE: OpenLDAP MinGW Build: select() required

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Jason Raneses

>
> I'm trying to build OpenLDAP under Cygwin/MinGW as outlined here:
> http://www.openldap.org/faq/data/cache/302.html
>
> I've successfully been able to follow every part of the FAQ
> on performing a
> build, however, during the OpenLDAP autoconfig, it is unable to find
> select().  Can someone provide some insight as to what steps
> I should take
> at this point?  I've seen a lot of mention on the mailing
> list about people
> being able to get a MinGW build working on windows, so I'd
> appreciate any
> help.

Something is wrong with your library paths, since the configure script was
unable to find the winsock library. Make sure the ws2_32 library is
available.

> Trace Output:
>
> jraneses@origin
> /cygdrive/d/Development/OpenLDAP/builds/3/openldap-2.2.4
> $ ./configure --prefix=/usr/local/mingw --host=i686-pc-mingw32
> Copyright 1998-2003 The OpenLDAP Foundation. All rights reserved.
>         Restrictions apply, see COPYRIGHT and LICENSE files.
> Configuring OpenLDAP 2.2.4-Release ...
> checking for winsock.h... yes
> checking for winsock2.h... yes
> checking for dlopen... no
> checking for dlopen in -ldl... no
> checking for sigset in -lV3... no
> checking for winsock... no

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support