unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: bug-guix@gnu.org
Subject: Re: Openssl missing in CPATH
Date: Sun, 13 Jan 2013 23:27:46 +0100	[thread overview]
Message-ID: <87fw24pvkt.fsf@gnu.org> (raw)
In-Reply-To: <201301131952.11179.andreas@enge.fr> (Andreas Enge's message of "Sun, 13 Jan 2013 19:52:11 +0100")

Andreas Enge <andreas@enge.fr> 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	other threads:[~2013-01-13 22:27 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-29 23:56 Openssl missing in CPATH Andreas Enge
2012-12-30 21:57 ` Ludovic Courtès
2013-01-01 14:04   ` Andreas Enge
2013-01-02 15:00 ` Ludovic Courtès
2013-01-13 18:52   ` Andreas Enge
2013-01-13 22:27     ` Ludovic Courtès [this message]
2013-01-13 23:04       ` Andreas Enge
2013-01-15 16:12         ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fw24pvkt.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=andreas@enge.fr \
    --cc=bug-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).