[Zlib-devel] Fwd: Building zlib?

Cosmin Truta cosmin at cs.toronto.edu
Tue Jun 6 11:33:48 EDT 2006


Hi, Chris,

You should build zlib using the original sources only. (It's generally a
good idea to delete the zlib directory and then re-create it again from
the original archive, when something doesn't work.) You should only use
altered sources when you know exactly what's happening inside.

In your particular case, it appears that you are using an altered
zconf.h. Most probably, it was altered by running a configure script
under Unix (which was later transfered into the Windows file system),
or under Cygwin.

Best regards,
Cosmin


> Begin forwarded message:
> > From: "R. Christian Call"
> > Date: June 5, 2006 1:05:34 PM PDT
> > Subject: Building zlib?
> >
> > I'm trying to build zlib on a Windows XP machine, and I could use
> > some help.
> >
> > According to the build instructions in the README file, I should be
> > able to build it using the win32\Makefile.msc make file.  But when
> > I try to do that, I get an error C1083:  "Cannot open include file:
> > 'unistd.h': No such file or directory."
> >
> > I've looked through the FAQ and the manual, but I can't find
> > anything further about how to get zlib to build properly.
> >
> > Can you possibly fill me in on how to get it to build?
> >
> > Thanks,
> >
> > Chris




More information about the Zlib-devel mailing list