bug-guix
[Top][All Lists]
Advanced

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

Re: Openssl missing in CPATH


From: Ludovic Courtès
Subject: Re: Openssl missing in CPATH
Date: Sun, 13 Jan 2013 23:27:46 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Andreas Enge <address@hidden> skribis:

> whatever the problem was, it apparently disappeared with your modifications 
> to the openssl package. Now cyrus-sasl compiles; I am attaching a patch to 
> add the package.

Good.  :-)

> * Plugins are being installed into 
> /nix/store/xckxs4vgmzjj883qppsdbv1y4ycqzrva-cyrus-sasl-2.1.26/lib/sasl2,
> * but the library will look for them in /usr/lib/sasl2.

I just checked, and Nixpkgs passed --with-plugindir=$out/lib/sasl2, so I
think you need a configure phase like:

  #:phase (alist-replace
           'configure
           (lambda* (#:keys outputs #:allow-other-keys #:rest args)
             (let ((out (assoc-ref outputs "out"))
                   (configure (assoc-ref %standard-phases 'configure)))
               (apply configure
                      #:configure-flags
                      (list (string-append "--with-plugindir="
                                           out "/lib/sasl2"))
                      args)))
           %standard-phases)
               
Can you check whether it actually works?  :-)

Ludo’.



reply via email to

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