I believe the options to extconf.rb. Expect a directory not an exact file... Hope this helps
On 1/12/08, Nick Black <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to build libxml-ruby on Fedora Core 6, but get the following > errors: > > bash-3.1# ruby extconf.rb --with-zlib-dir=/usr/lib64/ > --with-zlib-include=/usr/include/bzlib.h --with-mlib=/lib/libm.so.6 > checking for socket() in -lsocket... no > checking for gethostbyname() in -lnsl... no > checking for atan() in -l/lib/libm.so.6... no > checking for atan() in -l/lib/libm.so.6... no > extconf failure: need libm > *** 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. > > > I've tried with all the different libm directories I can find using # > locate libm (/lib /lib64 /usr/lib /usr/lib64)- but I keep getting this > error. I guess this is a problem with some compiler flags, but don't > really know where to start. > > Thanks in advance for the help. > > > -- > Nick Black > -------------------------------- > http://www.blacksworld.net > _______________________________________________ > libxml-devel mailing list > libxml-devel@rubyforge.org > http://rubyforge.org/mailman/listinfo/libxml-devel > _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel