Menu

#1 Ruby ldap on WIN32

open
nobody
None
5
2005-05-17
2005-05-17
Anonymous
No

Sorry for this this boring case, but I would really like to
use ruby-ldap to develop an application that will run
under WIN32. Do you think it is possible or should I
despairly find another language to write my application ?

I tried to compile the source under win32 with devcpp
compiler but it's not working at all !!!

Thanks a lot

Sly & I
s.roquebert@groupe-alma.com

Discussion

  • Nobody/Anonymous

    Logged In: NO

    I am in the same boat. Here is a sampling of the message I
    sent regarding my issues:

    I am attempting to build the Ruby/LDAP v0.9.1 package on
    my Windows 2000 development box. I have installed Open-
    LDAP v2.2.26 on the local C: drive. Using the extconf.rb
    script I specify this as 'ruby extconf.rb --with-openldap2 --with-
    ldap-dir=c:/openldap-2.2.26' Below are the contents of the
    mkmf.log:

    have_header: checking for ldap.h... -------------------- no

    "cl -IC:/ruby/ruby-ldap-0.9.1 -Ic:/ruby/lib/ruby/1.8/i386-
    mswin32 -I. -I./.. -I./../missing -MD -Zi -O2b2xg- -G6 -
    DUSE_OPENLDAP2 -DUSE_OPENLDAP -Ic:/openldap-
    2.2.26/include -D_REENTRANT conftest.c -P" checked
    program was:
    /* begin */
    #include <ldap.h>
    /* end */

    --------------------

    have_header: checking for lber.h... -------------------- no

    "cl -IC:/ruby/ruby-ldap-0.9.1 -Ic:/ruby/lib/ruby/1.8/i386-
    mswin32 -I. -I./.. -I./../missing -MD -Zi -O2b2xg- -G6 -
    DUSE_OPENLDAP2 -DUSE_OPENLDAP -Ic:/openldap-
    2.2.26/include -D_REENTRANT conftest.c -P" checked
    program was:
    /* begin */
    #include <lber.h>
    /* end */

    --------------------

    have_header: checking for ldap_ssl.h... -------------------- no

    "cl -IC:/ruby/ruby-ldap-0.9.1 -Ic:/ruby/lib/ruby/1.8/i386-
    mswin32 -I. -I./.. -I./../missing -MD -Zi -O2b2xg- -G6 -
    DUSE_OPENLDAP2 -DUSE_OPENLDAP -Ic:/openldap-
    2.2.26/include -D_REENTRANT conftest.c -P" checked
    program was:
    /* begin */
    #include <ldap_ssl.h>
    /* end */

    --------------------

    I have verified that the header files are located in the specified
    OpenLDAP directory. I have tried any combination of
    specifying the directory, such as --with-ldap-dir="c:\\openldap-
    2.2.26", --with-ldap-dir=c:\openldap-2.2.26, etc. Any
    suggestions how I can get the script to find the header files I
    have in place? I am looking to deploy an application that will
    use LDAP on the back-end and would love to get this done on
    my Windows 2000 box. I have FreeeBSD here as well and
    could move things over to there as a last resort, but my
    Win2K laptop is more portable :-)

     
  • Nobody/Anonymous

    Logged In: NO

    It should successfully build and run under Win32 these days.

    Can you please try it again and report back?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.