In message <[EMAIL PROTECTED]>
"Nick Black" <[EMAIL PROTECTED]> wrote:
> 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.
Make sure you've got the glibc-devel package installed - that should
be all you need to build against libm on Fedora.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel