[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Serial line lock directory

From: Ludovic Courtès
Subject: Re: Serial line lock directory
Date: Wed, 07 Jun 2017 14:32:09 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Chris Marusich <address@hidden> skribis:

> Danny Milosavljevic <address@hidden> writes:
>> I'm trying to package minicom and there I get an error message 
>>   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 
>> marker) when a serial device is in use (and removing the file to free the 
>> serial device).  This is supposed to prevent multiple different programs 
>> accidentally 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’t exist in
the build environment.  So you’ll have to somehow tweak ‘configure’ into
skipping that test, perhaps by setting the relevant ‘ac_cv_’ variable if
it exists.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]