unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Felix Lechner via <help-guix@gnu.org>
To: Lars Rustand <rustand.lars@gmail.com>, help-guix@gnu.org
Subject: Re: Help packaging network-manager-sstp and sstp-client
Date: Sun, 21 Jan 2024 06:23:30 -0800	[thread overview]
Message-ID: <87sf2qydct.fsf@lease-up.com> (raw)
In-Reply-To: <87il3pg34z.fsf@yoga.mail-host-address-is-not-set>

Hi Lars,

On Fri, Jan 19 2024, Lars Rustand wrote:

> ./autogen.sh: ./configure: /bin/sh: bad interpreter: No such file or directory

I would use something like this [1]

    (arguments
     (list
      #:phases
      #~(modify-phases %standard-phases
          (add-before 'configure 'provide-shell
            (lambda _
              (setenv "CONFIG_SHELL" (which "sh")))))))
    (native-inputs (list bash))

although the (which "sh") is kind of lazy and should probably be
replaced by something like

    #$(file-append bash "/bin/sh")

Kind regards
Felix

[1] https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/config_002estatus-Invocation.html


  parent reply	other threads:[~2024-01-21 14:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-19  7:26 Help packaging network-manager-sstp and sstp-client Lars Rustand
2024-01-21  7:25 ` Marek Paśnikowski
2024-01-21 14:23 ` Felix Lechner via [this message]
2024-01-21 14:40   ` Lars Rustand
2024-01-21 16:03     ` Felix Lechner via
2024-01-21 14:50   ` Clément Lassieur
2024-01-21 15:37   ` Clément Lassieur
2024-01-21 16:00     ` Felix Lechner via
2024-01-23  7:23 ` Efraim Flashner
2024-01-24 21:34   ` Lars Rustand
2024-01-28 17:42     ` Efraim Flashner

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=87sf2qydct.fsf@lease-up.com \
    --to=help-guix@gnu.org \
    --cc=felix.lechner@lease-up.com \
    --cc=rustand.lars@gmail.com \
    /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.
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).