From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Tony and Bryn Reina <reina_ga(at)hotmail(dot)com> |
Cc: | pgsql-hackers-win32(at)postgresql(dot)org |
Subject: | Re: Finding zlib on MinGW |
Date: | 2004-07-08 13:15:42 |
Message-ID: | 40ED48FE.8060400@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers-win32 |
Tony and Bryn Reina wrote:
> Perhaps this is well known to gurus, but I had some trouble with
> configuring a snapshot in MSys/MinGW because zlib couldn't be found.
> After some digging, I managed to find that gcc-mingw doesn't look for
> /usr/local/include and /usr/local/lib, which are the directories that
> a mingw-compiled version of zlib resides. In any case, I thought that
> maybe a little FAQ or note could be added to the install documentation
> to mention this.
>
> Basically, if configure complains about not finding zlib, then confirm
> that it exists in /usr/local/lib and /usr/local/include (from your
> MSys shell). If not, then create these directories (as necessary) and
> build zlib using gcc-MinGW from the MSys shell (http://www.zlib.org).
> Once you have a good copy of zlib, then run configure in the Postgres
> installation with the options: --with-includes=/usr/local/include
> --with-libs=/usr/local/lib
>
> Hopefully, those few lines should save a novice like me a little
> headache during a future win32 build from scratch.
>
>
or you could simply add --without-zlib to your postgresql configure flags
or you could configure the zlib install to use /usr instead of /usr/local
:-)
cheers
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Tony and Bryn Reina | 2004-07-08 13:45:36 | Re: Finding zlib on MinGW |
Previous Message | Tony and Bryn Reina | 2004-07-08 13:05:31 | Finding zlib on MinGW |