Re: [chrony-dev] Problems building with nettle-3.5 |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] Problems building with nettle-3.5
- From: Bryan Christianson <bryan@xxxxxxxxxxxxx>
- Date: Tue, 10 Mar 2020 21:50:50 +1300
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=smtpcorp.com; s=a1-4; h=Feedback-ID:X-Smtpcorp-Track:Message-Id:To:Date: Subject:From:Reply-To:Sender:List-Unsubscribe; bh=LbXsEMzkW3IBxzBYCapchJn9S2VUyVc7atBII/2xiOE=; b=jo+0tgz3vEpwjTHXfV8UQXuGTJ 1BmSkfslJJRaGzW2APgBCbssvnd5uktqwDg+R23qgx9dXZ58knRMgamlX4GOp/U15RDLMRtMO35o7 O0aGw5Z9VHs930UOXf54O9QYDvU7QO64DP37o1FYdXAlf2/lBY95djkHRSlddn8RmO9zTN3EPcyfz tbEMc1f/TvfG3BRs22gjNFEYU82BQtLjzt3VCXpYz8QpNwK0hTmgt9q7nc7NZvmT3l/CsvfHxs8fA OvWDz/X+CIya7Rw1hOviPZN1L7GBVkIz7YXKLm7KhLnm476ZvzPzceQxNfF2C3jm8ibC0otPcKmOh PJ2lgxAg==;
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=whatroute.net; i=@whatroute.net; q=dns/txt; s=s149811; t=1583830264; h=from : subject : to : message-id : date; bh=LbXsEMzkW3IBxzBYCapchJn9S2VUyVc7atBII/2xiOE=; b=NEe9tFfNIbRhigbqRPscXLKORFy4AJ6UkMAMb35IXgNYEdoh37Qm2gZwTq9R47sfafyUDj n/YaVll9ZPa5fjLV+RTPzgTXVNWT8sOMiroaMvuoyIEkRafEkdpwD7hwGQd2VdcxCWwoaGaS iKubAgqKasxMf0rsjaun84dbwQlyr3PjFlDjkZCqw2TIz+FOZrosNFJj3Ce2B4m7nA2cYZ2M c0iKcXpQGXr7FmqC+Q/Y+aaNLKgSg57OpuUNT6FOculsh+j8fmy8tYZDmd6BjyBJS1uGM4yO fpeqXMU75tABj7O+LZzFvpk0lUfzq9JJKok6lxQQ0JubcYhT72NUidKA==
- Feedback-id: 149811m:149811acx33YQ:149811sI3XKTj4_d
Thanks Miroslav
> On 10/03/2020, at 9:26 PM, Miroslav Lichvar <mlichvar@xxxxxxxxxx> wrote:
>
> On Tue, Mar 10, 2020 at 06:45:46PM +1300, Bryan Christianson wrote:
>> gcc -mmacosx-version-min=10.10 -Wmissing-prototypes -Wall -I/Users/bryan/Software-Swift5/chronyd/Crypt/opt/include -o docheck docheck.c -L/Users/bryan/Software-Swift5/chronyd/Crypt/opt/lib
>
> This command is missing -lnettle. That's probably because pkg-config
> is missing or the nettle pc file was not found.
I specified PKG_CONFIG_PATH=/Users/bryan/Software-Swift5/chronyd/Crypt/opt/lib/pkgconfig and that has solved the problem for nettle.
I am now trying to get gnutls built as a static library without it picking up anything from my /usr/local directory. Unfortunately, it is not good practice on macOS to ask users to install these libraries etc with a package manager - Applications are supposed to be self contained.
>
> I should improve the configure script and documentation.
It would be good if the config.log had a complaint about not being able to build the complete command.
Maybe also add the following hint to ./configure -h (This is what is present in the gnutls configure script)
Some influential environment variables:
PKG_CONFIG path to pkg-config utility
PKG_CONFIG_PATH
directories to add to pkg-config's search path
PKG_CONFIG_LIBDIR
path overriding pkg-config's built-in search path
Bryan Christianson
bryan@xxxxxxxxxxxxx
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.