Search Postgresql Archives

Compiling a ossp-uuid module for Win32

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello community,

since we need a libpq for postgres v13 for a win32 project, and I did not find a binary package, I tried to compile my own postgres v13 win32 with MSVisualStudio 2019.

This works so far, as described in the docs.
I also could add the most extensions in the config.pl (without knowing exactly, if they are necessary for our libpq).

Only one module drives me nuts, the ossp-uuid. I cant find a binary package (win32), but I could get the sources from here:
http://www.ossp.org/pkg/lib/uuid/
I can compile them in MinGW-environment (with ./configure and make), but (as expected) I get an uuid.h but an .a libraryfile like for *ix systems. The build of the libpq in postgres tells me, it needs a uuid.lib (which is also expected since it's a MS-linker).

So my first question is:
Do I need my libpq with ossp-uuid (we don't want to use the whole database, only the libpq)

And the second question would be (if the first answer is Yes):
How can I manage to get ossp-uuid compiled in that way, that I will get a static .lib (or a dynamic .lib and .dll )
(Or is there a ready to use win32 binary package somewhere to download?)

The database, we're using is the v13 64bit binary-package from EDB, where ossp-uuid is needed, because we use logical replication. But I hope there is no ossp-uuid needed in the libpq.

Thank you.

--

- may the source be with you -





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux