unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Adam Mazurkiewicz <trzczy@gmail.com>
To: help-guix@gnu.org
Subject: Re: bug#36498: modem["ttyUSB0"]: error starting PPP: Could not find "pppd" binary
Date: Fri, 12 Jul 2019 21:13:22 +0200	[thread overview]
Message-ID: <CALStFoFdtZgN=+9CF7dtdWKa5=b8Td_QheauJG=CdrKO61bpFg@mail.gmail.com> (raw)
In-Reply-To: <CALStFoEi2HkU-hib0C_iYfZygwowyyD5Hv=magCfNpwGctL8-A@mail.gmail.com>

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)
> <pelzflorian@pelzflorian.de> napisał(a):
> >
> > 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

  parent reply	other threads:[~2019-07-12 19:13 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)
     [not found]                   ` <CALStFoEi2HkU-hib0C_iYfZygwowyyD5Hv=magCfNpwGctL8-A@mail.gmail.com>
2019-07-12 19:13                     ` Adam Mazurkiewicz [this message]
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='CALStFoFdtZgN=+9CF7dtdWKa5=b8Td_QheauJG=CdrKO61bpFg@mail.gmail.com' \
    --to=trzczy@gmail.com \
    --cc=help-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.
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).