From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Openssl missing in CPATH Date: Sun, 13 Jan 2013 23:27:46 +0100 Message-ID: <87fw24pvkt.fsf@gnu.org> References: <201212300056.38699.andreas@enge.fr> <87fw2jbpf5.fsf@gnu.org> <201301131952.11179.andreas@enge.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuW1u-00020n-Mx for bug-guix@gnu.org; Sun, 13 Jan 2013 17:27:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuW1s-0001rz-P0 for bug-guix@gnu.org; Sun, 13 Jan 2013 17:27:50 -0500 Received: from mail1-relais-roc.national.inria.fr ([192.134.164.82]:40719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuW1s-0001rm-Iz for bug-guix@gnu.org; Sun, 13 Jan 2013 17:27:48 -0500 In-Reply-To: <201301131952.11179.andreas@enge.fr> (Andreas Enge's message of "Sun, 13 Jan 2013 19:52:11 +0100") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Andreas Enge Cc: bug-guix@gnu.org Andreas Enge skribis: > whatever the problem was, it apparently disappeared with your modificatio= ns=20 > to the openssl package. Now cyrus-sasl compiles; I am attaching a patch t= o=20 > add the package. Good. :-) > * Plugins are being installed into=20 > /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=3D$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=3D" out "/lib/sasl2")) args))) %standard-phases) =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 Can you check whether it actually works? :-) Ludo=E2=80=99.