public inbox for [email protected]  
help / color / mirror / Atom feed
No ENABLE_GSS in generated Visual Studio project files
2+ messages / 2 participants
[nested] [flat]

* No ENABLE_GSS in generated Visual Studio project files
@ 2021-05-24 19:39 PG Doc comments form <[email protected]>
  2021-05-25 02:18 ` Re: No ENABLE_GSS in generated Visual Studio project files Michael Paquier <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: PG Doc comments form @ 2021-05-24 19:39 UTC (permalink / raw)
  To: [email protected]; +Cc: [email protected]

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/13/install-windows.html
Description:

I tried to build using Visual Studio 2019.
Although I have enable the kerberos support in the configuration file,
the generated Visual Studio project files do not define "ENABLE_GSS".
Running the binaries (as a service) resulted in the following error in the
log file:

2021-05-24 14:19:04.047 CDT [256] LOG:  starting PostgreSQL 13.2, compiled
by Visual C++ build 1928, 64-bit
2021-05-24 14:19:04.048 CDT [256] LOG:  listening on IPv6 address "::", port
5432
2021-05-24 14:19:04.049 CDT [256] LOG:  listening on IPv4 address "0.0.0.0",
port 5432
2021-05-24 14:19:04.099 CDT [256] LOG:  invalid authentication method "gss":
not supported by this build
2021-05-24 14:19:04.099 CDT [256] CONTEXT:  line 87 of configuration file
"D:/Programs/PostgreSQL/13/data/pg_hba.conf"
2021-05-24 14:19:04.099 CDT [256] FATAL:  could not load pg_hba.conf
2021-05-24 14:19:04.101 CDT [256] LOG:  database system is shut down


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: No ENABLE_GSS in generated Visual Studio project files
  2021-05-24 19:39 No ENABLE_GSS in generated Visual Studio project files PG Doc comments form <[email protected]>
@ 2021-05-25 02:18 ` Michael Paquier <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Michael Paquier @ 2021-05-25 02:18 UTC (permalink / raw)
  To: [email protected]; [email protected]

On Mon, May 24, 2021 at 07:39:27PM +0000, PG Doc comments form wrote:
> I tried to build using Visual Studio 2019.
> Although I have enable the kerberos support in the configuration file,
> the generated Visual Studio project files do not define "ENABLE_GSS".
> Running the binaries (as a service) resulted in the following error in the
> log file:

I may be missing something, of course, but the MSVC build code of HEAD
does the following in Solution.pm:
ENABLE_GSS                 => $self->{options}->{gss} ? 1 : undef,                                                                                          

So perhaps you really forgot to specify a path in config.pl?
--
Michael


Attachments:

  [application/pgp-signature] signature.asc (833B, 2-signature.asc)
  download

^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-05-25 02:18 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-05-24 19:39 No ENABLE_GSS in generated Visual Studio project files PG Doc comments form <[email protected]>
2021-05-25 02:18 ` Michael Paquier <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox