unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: "pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de>
To: Adam Mazurkiewicz <trzczy@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary
Date: Sun, 7 Jul 2019 22:28:45 +0200	[thread overview]
Message-ID: <20190707202845.6ubl5hvb26oltex2@pelzflorian.localdomain> (raw)
In-Reply-To: <CALStFoG4oZNptFfo202i0QKUFHbHc29-CnKsPRWuXgxzVYEFRA@mail.gmail.com>

On Sun, Jul 07, 2019 at 08:55:54PM +0200, Adam Mazurkiewicz wrote:
> sob., 6 lip 2019 o 15:02 pelzflorian (Florian Pelz)
> <pelzflorian@pelzflorian.de> napisał(a):
> >
> > And I hope you are using a recent git checkout or ran `git pull
> > --rebase` recently.
> >
> > Regards,
> > Florian
> 
> 
> Thank you, Florian for your help. I decided to do everything from
> start. I formatted a guix partition and installed guix.

I am sorry you had to go to such troubles.  I should have explained
more clearly.

You could have used an existing Guix System installation, but the Git
checkout from which you ./pre-inst-env must be recent enough so that
it contains the usb-modeswitch-service-type as part of
%desktop-services.

My hope is that the second patch I posted for PPP suffices and your
checkout just did not work because it was old and did not contain
usb-modeswitch.



> Before I tried to implement your patches without the prefix
> ./pre-inst-env, but now I am trying to follow you strictly. I have a
> local mirror of guix to do patches on it. My local folder name is
> guix-hack. I followed instructions on the Contributing manual site
> and expected that the prefix ./pre-inst-env would work but I got the
> error sudo: ./pre-inst-env: command not found
>
> So first I have to get to now how to use the prefix.
>

The manual describes many edge cases (“if you get that error message,
do this”) and irrelevant examples.  What I did was like the following:

cd …/guix-hack
… # `git pull --rebase` and `git am …` and all that
./bootstrap
./configure --localstatedir=/var
make
sudo -i
cd …/guix-hack
./pre-inst-env guix system reconfigure /etc/config.scm

`sudo -E ./pre-inst-env guix …` should work too.  You must *not*
launch your own guix-daemon.

Regards,
Florian

  reply	other threads:[~2019-07-07 20:28 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-04 13:48 modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary Adam Mazurkiewicz
2019-07-04 14:46 ` pelzflorian (Florian Pelz)
2019-07-04 16:08   ` bug#36498: " pelzflorian (Florian Pelz)
2019-07-05  3:24     ` pelzflorian (Florian Pelz)
2019-07-06  4:01       ` Adam Mazurkiewicz
2019-07-06  4:07         ` Adam Mazurkiewicz
2019-07-06 10:46           ` pelzflorian (Florian Pelz)
2019-07-06 13:02             ` pelzflorian (Florian Pelz)
2019-07-07 18:55               ` Adam Mazurkiewicz
2019-07-07 20:28                 ` pelzflorian (Florian Pelz) [this message]
     [not found]                   ` <CALStFoEi2HkU-hib0C_iYfZygwowyyD5Hv=magCfNpwGctL8-A@mail.gmail.com>
2019-07-12 19:13                     ` Adam Mazurkiewicz
2019-07-12 20:14                       ` pelzflorian (Florian Pelz)
2019-07-13  7:19                         ` pelzflorian (Florian Pelz)
2019-08-11 20:38                           ` Adam Mazurkiewicz

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=20190707202845.6ubl5hvb26oltex2@pelzflorian.localdomain \
    --to=pelzflorian@pelzflorian.de \
    --cc=help-guix@gnu.org \
    --cc=trzczy@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).