Meson0.57.2 setup failed with option -Duuid=ossp - Mailing list pgsql-hackers

From Oreo Yang
Subject Meson0.57.2 setup failed with option -Duuid=ossp
Date
Msg-id OS3P301MB01656E6F91539770682B1E77E711A@OS3P301MB0165.JPNP301.PROD.OUTLOOK.COM
Whole thread Raw
Responses Re: Meson0.57.2 setup failed with option -Duuid=ossp
List 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@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. 
------------------



Thanks,
Oreo Yang
HighGo Software Co., Ltd.
Attachment

pgsql-hackers by date:

Previous
From: "Jonathan S. Katz"
Date:
Subject: Having postgresql.org link to cgit instead of gitweb
Next
From: David Rowley
Date:
Subject: Re: Having postgresql.org link to cgit instead of gitweb