Re: nightly win32 builds - Mailing list pgsql-hackers-win32

From Merlin Moncure
Subject Re: nightly win32 builds
Date
Msg-id 6EE64EF3AB31D5448D0007DD34EEB34101AE2C@Herge.rcsinc.local
Whole thread Raw
In response to nightly win32 builds  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers-win32
> I would look in config.log to see why configure is failing.

The problem is that openssl is making some calls to win32 GDI code in a
function called read_screen, which allows the user to generate a random
number based in UI interaction.  These are not linked in properly...this
is a mingw/openssl problem.

It is very unlikely this function is used by postgres, so I commented
the code and configure passes muster (except that pg assumes openssl for
the root ssl install folder, and openssl seems to default to ssl).  The
upshot is you have to manually add a couple of folders to the configure
statement, no big deal.

There are a couple of other problems with ssl support in be-secure.c
which I have fixed.  There were more problems in exec.c...
validate_exec() should be declared with const char*, not char char* (for
gcc 3.4) and there were problems using the palloc memory context macros
(can't import CurrentMemoryContext).  I hacked around this by using the
stack, but this error popped up in several more places so I gave up...

Merlin

pgsql-hackers-win32 by date:

Previous
From: "Sergio Samayoa"
Date:
Subject: Unable to connect
Next
From: "Merlin Moncure"
Date:
Subject: Re: nightly win32 builds