Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
bingo - I created a sym link doing this: # ls -l /usr/lib64/libz.* -rwxr-xr-x 1 root root 108692 Jul 19 2006 /usr/lib64/libz.a lrwxrwxrwx 1 root root 13 Jan 13 18:46 /usr/lib64/libz.so -> libz.so.1.2.3 ... ... and the install worked. Previously I had libz.so.1 and libz.so.1.2.3, which seems

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Nick Black" <[EMAIL PROTECTED]> wrote: > Ok - thanks for the tip. > > extconf still isn't successfully running though - its failing to find > libz, so far as I can see gcc is looking for it in /usr/lib64 and for > the headers in /usr/include, which have

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
Ok - thanks for the tip. extconf still isn't successfully running though - its failing to find libz, so far as I can see gcc is looking for it in /usr/lib64 and for the headers in /usr/include, which have the headers and the library. mkmf.log from # ruby extconf.rb is here http://www.blacksworl

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Nick Black" <[EMAIL PROTECTED]> wrote: > Ok - mkmf.log for: > > # ruby extconf.rb --with-zlib-include=/usr/include/bzlib.h > > is here: http://www.blacksworld.net/fedora/mkmf.log > > This does give "cc1: error: /usr/include/bzlib.h: not a directory" > e

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
Ok - mkmf.log for: # ruby extconf.rb --with-zlib-include=/usr/include/bzlib.h is here: http://www.blacksworld.net/fedora/mkmf.log This does give "cc1: error: /usr/include/bzlib.h: not a directory" errors, so I also ran: # ruby extconf.rb and posted mkmf.log here: http://www.blacksworld.net/fed

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Nick Black" <[EMAIL PROTECTED]> wrote: > I've posted mkmf.log here: > > http://www.blacksworld.net/fedora/mkmf.log > > -L"/usr/lib64" is part of the gcc command and the directory has a sym > link to libm: > > # ls -l /usr/lib64/libm* > -rw-r--r-- 1 root

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
I've posted mkmf.log here: http://www.blacksworld.net/fedora/mkmf.log -L"/usr/lib64" is part of the gcc command and the directory has a sym link to libm: # ls -l /usr/lib64/libm* -rw-r--r-- 1 root root 1320734 Jul 4 2007 /usr/lib64/libm.a lrwxrwxrwx 1 root root 21 Jan 12 13:24 /usr/lib64/

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Nick Black" <[EMAIL PROTECTED]> wrote: > With no libm switch: > > # ruby extconf.rb --with-zlib-include=/usr/include/bzlib.h > checking for socket() in -lsocket... no > checking for gethostbyname() in -lnsl... no > checking for atan() in -lm... no > check

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
With no libm switch: # ruby extconf.rb --with-zlib-include=/usr/include/bzlib.h checking for socket() in -lsocket... no checking for gethostbyname() in -lnsl... no checking for atan() in -lm... no checking for atan() in -lm... no extconf failure: need libm *** extconf.rb failed *** Could not crea

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Tom Hughes
In message <[EMAIL PROTECTED]> "Nick Black" <[EMAIL PROTECTED]> wrote: > 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. Looking at the output, that

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-13 Thread Nick Black
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"

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-12 Thread Tom Hughes
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 >

Re: [libxml-devel] extconf failure: need libm - installing libxml on Fedora Core 6

2008-01-12 Thread Todd Fisher
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/