From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.user Subject: Re: How to build GNUTLS Guile bindings on Xubuntu Date: Fri, 16 Nov 2018 20:30:13 -0500 Message-ID: <87tvkgxzgf.fsf@netris.org> References: <87zhuaiyua.fsf@netris.org> <1c3c23f5-c778-7878-3150-dc1db34be877@gmail.com> <87zhu94djv.fsf@gmail.com> <87va4wzw4x.fsf@netris.org> <87r2fk4nlb.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1542418162 24139 195.159.176.226 (17 Nov 2018 01:29:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2018 01:29:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Cc: guile-user@gnu.org, Zelphir Kaltstahl To: Alex Vong Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Nov 17 02:29:18 2018 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNpQE-0006Bv-0z for guile-user@m.gmane.org; Sat, 17 Nov 2018 02:29:18 +0100 Original-Received: from localhost ([::1]:47617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNpSK-0006yw-DV for guile-user@m.gmane.org; Fri, 16 Nov 2018 20:31:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50442) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNpRq-0006yk-IA for guile-user@gnu.org; Fri, 16 Nov 2018 20:30:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNpRn-00035B-Ek for guile-user@gnu.org; Fri, 16 Nov 2018 20:30:58 -0500 Original-Received: from world.peace.net ([64.112.178.59]:50258) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gNpRn-000347-81 for guile-user@gnu.org; Fri, 16 Nov 2018 20:30:55 -0500 Original-Received: from mhw by world.peace.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gNpRm-0007Vu-8a; Fri, 16 Nov 2018 20:30:54 -0500 In-Reply-To: <87r2fk4nlb.fsf@gmail.com> (Alex Vong's message of "Sat, 17 Nov 2018 07:19:44 +0800") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 64.112.178.59 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.org gmane.lisp.guile.user:15003 Archived-At: Hi Alex, Alex Vong writes: > Maybe what I wrote is not clear. What I mean is that since Debian build > of gnutls does not include the guile bindings, we have to build gnutls > from the source tarball ourselves. > > The flag "--with-guile-site-dir=/usr/local/share/guile/site/2.2" > instructs the build script to install the guile bindings into > "/usr/local/share/guile/site/2.2". Sure. This is reasonable, but for the sake of completeness, I'll point out two disadvantages with this approach, namely that (1) it entails effectively overriding Debian's GnuTLS library with your manually built version, which potentially affects the operation of any Debian package that links to GnuTLS and (2) it means staying on top of security updates yourself, i.e. recompiling and installing new versions of GnuTLS or the bundled copies of libtasn1 and libunistring when security flaws are discovered in those versions. Ditto for the other packages that you build and install manually. Regards, Mark