From: Joshua Ballanco Date: 2008-03-26T14:08:28+09:00 Subject: Re: Ruby SMB Gian Holland wrote: > I have used the command below also > (/usr/lib is where libsmbclient.h is located) Is there a reason this file is in /usr/lib and not /usr/include (or some derivative)? > and get this > ruby extconf.rb --with-smb-include=/usr/lib/ > checking for libsmbclient.h... no > checking for smbc_init() in -lsmbclient... no > Cannot create Makefile > *** extconf.rb failed *** Instead of --with-X-include, you can try --with-X=/path/to/X and mkmf will "do the right thing" and look for the headers in /path/to/X/include and libraries in /path/to/X/lib -- Posted via http://www.ruby-forum.com/.