Robert Breininger
6/13/2006 9:19:00 AM
Ross Bamford wrote:
> I'm not sure how this works with Windows, but I'm guessing it's either:
>
> * No Zlib headers (zlib.h) in the distribution you downloaded.
>
> * Or, the distribution doesn't have the expected directory
> layout on a Windows machine.
>
> You'll need to make sure you have both the library and the headers, and
> then try a command like the following:
>
> ruby extconf.rb --with-zlib-lib=C:\path\ --with-zlib-include=C:\path
Ross,
thank you for your reply. According to the documentation, this is the
same as --with-zlib-dir=C:\path
Unfortunately it does not work (but i can see in the mkmf.log file that
the paths are correct). My directory contains the follwoing data:
../bin:
minigzip.exe
zlib1.dll
../include:
zconf.h
zlib.h
../lib:
zdll.lib
zlib.lib
I've tried several variations of parameters, but it always complains
about not finding zlib.h.
Meanwhile i've read that quite a lot of people have a similar problem
with installing (Ruby-)stuff on Windows machines. And it always ends
with not finding .h files, even though they are there (e.g. ruby-ldap).
So it seems not to be a specifically problem of zlib. Is there anybody
out there, who has a deeper insight on this subject, and can say
something? Is there anybody out there, who actually managed to install
libxml-ruby on a Windows machine?
Robert