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

RE: How to compile the LDAP C++ library?



I'm assuming support for lber_types.nt, ldap_config.nt, ldap_features.nt was
also dropped in 2.2.x...if, for example, I try to reconstruct the MSVC build
environment using the old *.nt files, I will probably have to make at least
some modifications to most of the old *.nt files to get things working.  I
am willing to make an investment in doing that, as I really need to get the
client libraries built using the 2.2.4 release.  After an extensive amount
of time, I was unable to get them built using Cygwin/MinGW, and I honestly
do not know at this point why it hasn't worked.  I am having problems with
configure checking the validity of exported functions in winsock2, and I
haven't been able to get past that step whatsoever.  So, I'm going to try
and go the MSVC route, as that's been historically easier for me in the
past.

Jason

-----Original Message-----
From: owner-openldap-software@OpenLDAP.org
[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Kurt D. Zeilenga
Sent: Tuesday, January 13, 2004 11:47 AM
To: Jason Raneses
Cc: openldap-software@OpenLDAP.org; 'Ralf Haferkamp'
Subject: RE: How to compile the LDAP C++ library?

At 10:25 AM 1/13/2004, Jason Raneses wrote:
>Does anyone know why the VC++ support was dropped?

The MSVC build environment was removed because it was broken
and the community demonstrated no interest in maintaining it.

>What would be the best method to go to getting things back
>such as portable.nt, etc?

If you just want a copy of the old portable.nt, it's
available from the CVS repository (look in the Attic).

If you want to know how to update the portable.nt such that
provides the necessary macros for the MSVC platform, well
I suggest you take a copy of portable.h.in and adjust its
values based upon an old portable.nt.  You'll have to, of
course, research how to set any new macro.

Kurt


>Jason
>
>-----Original Message-----
>From: owner-openldap-software@OpenLDAP.org
>[mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Ralf Haferkamp
>Sent: Monday, January 12, 2004 3:43 AM
>To: openldap-software@OpenLDAP.org
>Subject: Re: How to compile the LDAP C++ library?
>
>On Fri, Jan 09, 2004 at 10:59:15AM -0500, Matt Harp wrote:
>> Hey all,
>> 
>> I'm trying to build the LDAP C++ api library under 2.1.25/contrib/ldapc++
>on
>> Windows right now.
>> 
>> I've read the readme, but it appears to have not changed in the last 4+
>> years and nothing it tells me in there works on Windows. It seems geared
>> more toward the Unix build environment.
>Yes the library is using the autoconf/automake/libtool environment. With
>some work it should be possible to build it on Windows as well. I didn't
>try it though, because I do not have access to Windows Development Tools
>and am not firm with them. Help is welcome.
>
>> Anyone know how to get this thing built, or even better where I can
>download
>> the binaries w/o having to mess with building it.
>> 
>> Secondly, anyone know what kind of functionality this library is missing,
>if
>> any?
>The most important part that is still not ready is SASL Authentication.
>Most other stuff that the C library supports is also available in the C++
>library.
>
>> Is the library maintained, or is it is just there?
>I maintain it in my spare time. Which unfortunately hasn't been very much
>recently. 
>
>> The README says it was some guy's graduate project, which worries me when
>> I'm considering using it in a commercial product. I can't choose this API
>> and then find out that some guy in his basement wrote it, and it's no
>> longer maintained by anyone.
>I didn't quite write it in the basement ;). BTW we are using it in some
>commercial products as well.
>
>-- 
>Ralf Haferkamp
>SUSE LINUX AG, Maxfeldstrasse 15-19, D-90429 Nuernberg
>T: +49-911-74053-0
>F: +49-911-74053575 - Ralf.Haferkamp@suse.com