From: | Oreo Yang <oreo(dot)yang(at)hotmail(dot)com> |
---|---|
To: | "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Meson0.57.2 setup failed with option -Duuid=ossp |
Date: | 2025-09-19 01:15:22 |
Message-ID: | OS3P301MB01656E6F91539770682B1E77E711A@OS3P301MB0165.JPNP301.PROD.OUTLOOK.COM |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi all,
When i execute meson setup, an error occurred "meson.build:1610:4: ERROR: Expected 1 arguments, got 2."
I saw [1] discussing about the meson minimun version which is 0.57.2.
So I have attached a patch try to fix that.
uuid = dependency('ossp-uuid', 'uuid', required: false)
About dependency() ,"Since 0.60.0 more than one name can be provided, they will be tried in order and the first name to be found will be used."[2]
------------------
highgo(at)ubuntu:~/postgres$ meson setup build --prefix=$PWD/inst -Duuid=ossp
The Meson build system
Version: 0.57.2
...
Checking for function "SSL_CTX_set_keylog_callback" with dependency openssl: YES
meson.build:1610:4: ERROR: Expected 1 arguments, got 2.
------------------
[1] https://www.postgresql.org/message-id/flat/ybd4q3touatzse742yai24uwyvj5zkhwjzxx43k336pfequp6e%40zpbkpnpibzzv#cb4e24fa5d94c7ee33d0d13ddaecedd2
[2] https://mesonbuild.com/Reference-manual_functions.html#dependency
Thanks,
Oreo Yang
HighGo Software Co., Ltd.
Attachment | Content-Type | Size |
---|---|---|
fix_meson0.57.2_setup_failed.patch | application/octet-stream | 859 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | David Rowley | 2025-09-19 01:43:02 | Re: Having postgresql.org link to cgit instead of gitweb |
Previous Message | Jonathan S. Katz | 2025-09-19 01:12:15 | Having postgresql.org link to cgit instead of gitweb |