| From: | Wolfgang Rißler <wolfgang(dot)rissler(at)freenet(dot)de> |
|---|---|
| To: | pgsql-general(at)lists(dot)postgresql(dot)org |
| Subject: | Compiling a ossp-uuid module for Win32 |
| Date: | 2021-05-06 14:57:46 |
| Message-ID: | 07295b5f-3704-1d27-5cb2-92fe8f0f31ce@freenet.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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 -
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Adrian Klaver | 2021-05-06 15:56:57 | Re: trigger impacting insertion of records |
| Previous Message | Thomas Boussekey | 2021-05-06 14:29:39 | [RPM/CentOS7] Need to disable repo_gpgcheck on pgdg-common when using RPM version 42.0-17.1 |