Thanks for the replies.

Tom: I have glibc-devel version 2.5 installed already.

Todd: I have also tried passing a directory to extconf (
--with-mlib=/lib/) but still no luck.


On Jan 13, 2008 12:34 AM, Tom Hughes <[EMAIL PROTECTED]> wrote:
> 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
> libxml-devel@rubyforge.org
> http://rubyforge.org/mailman/listinfo/libxml-devel
>



-- 
Nick Black
--------------------------------
http://www.blacksworld.net
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to