From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Mazurkiewicz Subject: Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary Date: Fri, 12 Jul 2019 21:13:22 +0200 Message-ID: References: <20190704144632.g4vzhkwekdf7q54e@pelzflorian.localdomain> <20190704160854.xaitrx6t2bjthi7a@pelzflorian.localdomain> <20190705032405.ep5dojl57kz7gjsa@pelzflorian.localdomain> <20190706104604.pvopw2ogc5cok2gh@pelzflorian.localdomain> <20190706130247.sq7akoczot7o3bet@pelzflorian.localdomain> <20190707202845.6ubl5hvb26oltex2@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]:41418) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hm0zC-00027h-Q8 for help-guix@gnu.org; Fri, 12 Jul 2019 15:13:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hm0zB-0003WR-A8 for help-guix@gnu.org; Fri, 12 Jul 2019 15:13:38 -0400 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]:38312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hm0zB-0003VR-1h for help-guix@gnu.org; Fri, 12 Jul 2019 15:13:37 -0400 Received: by mail-qk1-x736.google.com with SMTP id a27so7241610qkk.5 for ; Fri, 12 Jul 2019 12:13:36 -0700 (PDT) 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: help-guix@gnu.org Hi Florian, thank you for your replies. Well, during my attempt to prepare an environment to use the prefix ./pre-inst-env, I had to install a package guile. Because it is told in Contributing Guix article: Building from Git: -> "When building Guix from a checkout, the following packages are required in addition to those mentioned in the installation instructions (see Requirements)." -> Requirements -> GNU Guile, version 2.2.x; And the GNU Guile, version 2.2.6 is present in Guix packages. So I have tried to add this guile package to my config,scm in the common way. So I put it into `use-modules' form and `packages' in this way: (use-modules (gnu) (gnu system nss) (gnu packages freedesktop) (gnu packages admin) (gnu services dbus) (gnu services desktop) (gnu services sound) (gnu packages backup) (gnu packages glib) (gnu packages gnuzilla) (gnu packages pulseaudio) (gnu packages version-control) (gnu packages haskell-apps) (gnu packages emacs) (gnu packages emacs-xyz) (gnu packages cmake) (gnu packages statistics) (gnu packages finance) (gnu packages protobuf) (gnu packages guile) ;;-----------------------------------------!! (...) (gnu services networking)) (...) (operating-system (...) (packages (append (list nss-certs openssh network-manager-openvpn modem-manager network-manager-applet icecat pavucontrol file-roller git git-annex-remote-hubic git-annex emacs emacs-ag emacs-cmake-mode emacs-ess emacs-flycheck emacs-guix emacs-ledger-mode emacs-linum-relative emacs-magit emacs-minimal emacs-no-x emacs-no-x-toolkit emacs-powerline emacs-protobuf-mode emacs-rainbow-delimiters emacs-rainbow-identifiers emacs-smart-mode-line emacs-undo-tree emacs-xwidgets guile ;;-----------------------------------------!!! (...) But an error occured during reconfigure process: s@s /root/debianek/home/s/mirrors/work-tree-06july/guix$ sudo -E guix system reconfigure /root/debianek/home/s/Dropbox/Guix/scm1/config.scm /root/debianek/home/s/Dropbox/Guix/scm1/config.scm:81:9: error: guile: unbound variable hint: Did you forget a `use-modules' form? s@s So how to install guile? Regards > Hi Florian, thank you for your replies. Well, during my attempt to > prepare an environment to use the prefix ./pre-inst-env, I had to > install a package guile. Because it is told in Contributing Guix > article: > > Building from Git: -> "When building Guix from a checkout, the > following packages are required in addition to those mentioned in the > installation instructions (see Requirements)." -> Requirements -> GNU > Guile, version 2.2.x; > > And the GNU Guile, version 2.2.6 is present in Guix packages. So I > have tried to add this guile package to my config,scm in the common > way. So I put it into `use-modules' form and `packages' in this way: > > (use-modules > (gnu) > (gnu system nss) > (gnu packages freedesktop) > (gnu packages admin) > (gnu services dbus) > (gnu services desktop) > (gnu services sound) > (gnu packages backup) > (gnu packages glib) > (gnu packages gnuzilla) > (gnu packages pulseaudio) > (gnu packages version-control) > (gnu packages haskell-apps) > (gnu packages emacs) > (gnu packages emacs-xyz) > (gnu packages cmake) > (gnu packages statistics) > (gnu packages finance) > (gnu packages protobuf) > (gnu packages guile) ;;-----------------------------------------!! > (...) > (gnu services networking)) > (...) > (operating-system > (...) > (packages > (append > (list > nss-certs > openssh > > network-manager-openvpn > modem-manager > network-manager-applet > > icecat > pavucontrol > file-roller > git > git-annex-remote-hubic > git-annex > > emacs > emacs-ag > emacs-cmake-mode > emacs-ess > emacs-flycheck > emacs-guix > emacs-ledger-mode > emacs-linum-relative > emacs-magit > emacs-minimal > emacs-no-x > emacs-no-x-toolkit > emacs-powerline > emacs-protobuf-mode > emacs-rainbow-delimiters > emacs-rainbow-identifiers > emacs-smart-mode-line > emacs-undo-tree > emacs-xwidgets > guile ;;-----------------------------------------!!! > (...) > > > But an error occured during reconfigure process: > s@s /root/debianek/home/s/mirrors/work-tree-06july/guix$ sudo -E guix > system reconfigure /root/debianek/home/s/Dropbox/Guix/scm1/config.scm > /root/debianek/home/s/Dropbox/Guix/scm1/config.scm:81:9: error: guile: > unbound variable > hint: Did you forget a `use-modules' form? > s@s > > So how to install guile? > Regards > > niedz., 7 lip 2019 o 22:28 pelzflorian (Florian Pelz) > napisa=C5=82(a): > > > > 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 > > > > > > > > > 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 me= ssage, > > do this=E2=80=9D) and irrelevant examples. What I did was like the fol= lowing: > > > > 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