From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary Date: Sun, 7 Jul 2019 22:28:45 +0200 Message-ID: <20190707202845.6ubl5hvb26oltex2@pelzflorian.localdomain> References: <20190704144632.g4vzhkwekdf7q54e@pelzflorian.localdomain> <20190704160854.xaitrx6t2bjthi7a@pelzflorian.localdomain> <20190705032405.ep5dojl57kz7gjsa@pelzflorian.localdomain> <20190706104604.pvopw2ogc5cok2gh@pelzflorian.localdomain> <20190706130247.sq7akoczot7o3bet@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:61000) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hkDmE-0002fS-53 for help-guix@gnu.org; Sun, 07 Jul 2019 16:28:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hkDmD-0004ju-61 for help-guix@gnu.org; Sun, 07 Jul 2019 16:28:50 -0400 Received: from pelzflorian.de ([5.45.111.108]:48316 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hkDmC-0004hp-KF for help-guix@gnu.org; Sun, 07 Jul 2019 16:28:49 -0400 Content-Disposition: inline In-Reply-To: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Adam Mazurkiewicz Cc: help-guix@gnu.org On Sun, Jul 07, 2019 at 08:55:54PM +0200, Adam Mazurkiewicz wrote: > sob., 6 lip 2019 o 15:02 pelzflorian (Florian Pelz) > napisa=C5=82(a): > > > > And I hope you are using a recent git checkout or ran `git pull > > --rebase` recently. > > > > Regards, > > Florian >=20 >=20 > 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 (=E2=80=9Cif you get that error mess= age, do this=E2=80=9D) and irrelevant examples. What I did was like the follo= wing: cd =E2=80=A6/guix-hack =E2=80=A6 # `git pull --rebase` and `git am =E2=80=A6` and all that ./bootstrap ./configure --localstatedir=3D/var make sudo -i cd =E2=80=A6/guix-hack ./pre-inst-env guix system reconfigure /etc/config.scm `sudo -E ./pre-inst-env guix =E2=80=A6` should work too. You must *not* launch your own guix-daemon. Regards, Florian