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.blacksworld.net/fedora/mkmf.log On Jan 13, 2008 4:05 PM, Tom Hughes <[EMAIL PROTECTED]> wrote: > 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" > > errors, so I also ran: > > > > # ruby extconf.rb > > > > and posted mkmf.log here: > > http://www.blacksworld.net/fedora/mkmf.log.no_options > > Aha! The problem is your --with-zlib-include=/usr/include/bzlib.h switch > which is breaking all the calls to CC including the ones which don't > actually want zlib. > > That should be --with-zlib-include=/usr/include but probably isn't > really needed at all as that is the default place for it to look. > > All --xxx-include and --xxx-lib switches should name the directory > containing the file(s), not the file itself. > > > 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