From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Serial line lock directory Date: Wed, 07 Jun 2017 14:32:09 +0200 Message-ID: <87o9u03rna.fsf@gnu.org> References: <20170606205429.4266cc4d@scratchpost.org> <87a85kuvv6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37535) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIa8F-0003Ef-Ci for guix-devel@gnu.org; Wed, 07 Jun 2017 08:32:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIa8C-0004Jl-4l for guix-devel@gnu.org; Wed, 07 Jun 2017 08:32:15 -0400 In-Reply-To: <87a85kuvv6.fsf@gmail.com> (Chris Marusich's message of "Tue, 06 Jun 2017 23:58:53 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Chris Marusich skribis: > Danny Milosavljevic writes: > >> I'm trying to package minicom and there I get an error message=20 >> >> checking for com line lock directory... configure: error: No suitable = lock directory >> >> ... which was checking for a (common) directory to put a file in (as a m= arker) when a serial device is in use (and removing the file to free the se= rial device). This is supposed to prevent multiple different programs acci= dentally using the same serial line. >> >> Where and how should this be done in Guix? > > That sounds like a directory which should exist in the localstatedir > (info '(standards) Directory Variables'). I haven't looked closely at > the package, but your package definition makes it look like it's using a > GNU build system, so hopefully it provides a way to configure the > value used for the localstatedir. Probably it checks whether $localstatedir exist, and it doesn=E2=80=99t exi= st in the build environment. So you=E2=80=99ll have to somehow tweak =E2=80=98co= nfigure=E2=80=99 into skipping that test, perhaps by setting the relevant =E2=80=98ac_cv_=E2=80= =99 variable if it exists. HTH! Ludo=E2=80=99.