On Sat, Jul 23, 2016 at 08:30:47PM -0400, Leo Famulari wrote:
> On Sat, Jul 23, 2016 at 07:35:52PM -0400, myglc2 wrote:
> > The bottom line is that it looks to me like this might work if the
> > --localstatedir=/var problem is fixed.
> 
> So, you think we should set that option while configuring the cups
> build?

I tried to set that option with the attached patch, but the cups build
process tries to write to localstatedir at build time, so it fails.

Can't it be configured by the user, after installation?
>From e11cca7df853654a398d66197e7fcba92cef72f8 Mon Sep 17 00:00:00 2001
From: Leo Famulari <[email protected]>
Date: Sun, 24 Jul 2016 15:23:43 -0400
Subject: [PATCH] gnu: cups: Set localstatedir.

* gnu/packages/cups.scm (cups)[arguments]: Add '--localstatedir=/var'
to #:configure-flags.
---
 gnu/packages/cups.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cups.scm b/gnu/packages/cups.scm
index 51c7fd1..eda57c1 100644
--- a/gnu/packages/cups.scm
+++ b/gnu/packages/cups.scm
@@ -179,7 +179,8 @@ device-specific programs to convert and print many types of files.")
        #:tests? #f
        #:configure-flags
        '("--disable-launchd"
-         "--disable-systemd")
+         "--disable-systemd"
+         "--localstatedir=/var")
        #:phases
        (alist-cons-before
         'configure
-- 
2.9.2

Reply via email to