From: Takeyuki FUJIOKA Date: 2005-11-25T14:04:33+09:00 Subject: [ruby-list:41589] cygwinでruby-ldap 藤岡です。 cygwin上でldapを扱いたくて、コンパイルをチャレンジしているのですが、 どうにも通らずに悩んでいます。 $ ruby extconf.rb --with-ldap-dir=/usr --with-openldap2 checking for ldap.h... no checking for lber.h... no checking for ldap_ssl.h... no can't find ldap.h and lber.h use the option '--with-ldap-dir'! *** extconf.rb failed *** Could not create Makefile due to some reason, prob necessary libraries and/or headers. Check the mkm details. You may need configuration options. と出るのですが、 $ ls -l /usr/include/ldap* -rw-r--r-- 1 fujioka なし 43725 Aug 29 20:14 /usr/include/ldap.h -rw-r--r-- 1 fujioka なし 9057 Aug 29 20:14 /usr/include/ldap_cdefs.h -rw-r--r-- 1 fujioka なし 1962 Aug 29 20:14 /usr/include/ldap_features.h -rw-r--r-- 1 fujioka なし 9523 Aug 29 20:14 /usr/include/ldap_schema.h -rw-r--r-- 1 fujioka なし 3538 Aug 29 20:14 /usr/include/ldap_utf8.h と、存在はしますし、 $ ruby extconf.rb --with-ldap-dir=/usr --with-ldap-dir=/usr --with-openldap2 checking for ldap.h... no checking for lber.h... no checking for ldap_ssl.h... no can't find ldap.h and lber.h use the option '--with-ldap-dir'! *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. --with-ldap-dirをつけてもだめでした。 何かアドバイスがありましたらお願いします。 -- 藤岡岳之/FUJIOKA Takeyuki http://www.ftserve.net/~fuji/