Steven Jenkins
4/19/2005 5:01:00 PM
Tim Morgan wrote:
> OK, I guess someone is gonna have to spell it out for me, because I'm
> having no luck at all. So, I got cygwin installed. Then I tried to
> install OpenLDAP, but had no luck (something about no suitable cc or
> gcc found - do I need to install a compiler separate?). So then I
> installed the OpenLDAP for Windows binary which didn't seem to help
> any, because ruby-ldap still cannot find ldap.h or lber.h, even if I
> specify the directory to look in. So I then tried to download and tried
> the 0.8 cygwin version of ruby-ldap, which complained about the same
> stuff.
Are you using the Cygwin installer (setup.exe)? If so, look under
category Libs. You should find there (and install if you haven't)
openssl and openssl-devel. openssl-devel is where the headers and
libraries are found. I'm running 2.2.17-1 of both and Ruby 1.8.1.
You will need gcc to build the extension. (I always tell Cygwin to
install everything. Disk space is cheap and you avoid these chains of
dependency.)
With those installed, the installation steps in the README go smoothly
for me.
I have to travel this afternoon and probably won't make it back to
ruby-talk until Thursday. Good luck.
Steve