help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error running emacs installed with guix


From: Adonay Felipe Nogueira
Subject: Re: error running emacs installed with guix
Date: Thu, 23 Nov 2017 22:27:51 -0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

An interesting update:

If you try to make sure that Emacs is rebult, even using the
same/current package definition, then the result works as expected.

In my case, I made a local package definition for Emacs, and changed the
phases or snippet enough to modify the source files a little, like so:

Before:

--8<---------------cut here---------------start------------->8---
               (with-output-to-file (string-append lisp-dir "/site-start.el")
                 (lambda ()
                   (display
                    (string-append "(when (require 'guix-emacs nil t)\n"
                                   "  (guix-emacs-autoload-packages))\n"))))
--8<---------------cut here---------------end--------------->8---

After:

--8<---------------cut here---------------start------------->8---
               (with-output-to-file (string-append lisp-dir "/adfeno-dummy.el")
                 (lambda ()
                   (display
                    (string-append "(print \"adfeno\")\n"))))
               (with-output-to-file (string-append lisp-dir "/site-start.el")
                 (lambda ()
                   (display
                    (string-append "(when (require 'guix-emacs nil t)\n"
                                   "  (guix-emacs-autoload-packages))\n"))))
--8<---------------cut here---------------end--------------->8---

Notice that I didn't change the "before" part, I just added a code that
simply creates a file called "adfeno-dummy.el".

Now, I wonder how to tell `guix package' to install what was just built?

At any case, I hope this helps. ;)

2017-11-12T11:56:43-0800 Mason Hock wrote:
> I have installed emacs with Guix. When I try to run it I get
>
> Gtk-Message: Failed to load module "canberra-gtk-module"
> Gtk-Message: Failed to load module "topmenu-gtk-module"
>
> followed by many
>
> (emacs-25-3:7212): Gtk-WARNING **: Theme parsing error:*
>
> messages, and then
>
> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings
> will not be saved or shared with other applications.
> Fatal error 6: Aborted
> Backtrace:
> /gnu/store/5jfh7wlrkc0lhrfdaijsjgz8w9bwqxvf-emacs-25.3/bin/emacs-
> 25.3[0x81393ec]

[...]

> /gnu/store/5jfh7wlrkc0lhrfdaijsjgz8w9bwqxvf-emacs-25.3/bin/emacs-
> 25.3[0x8176e5d]
> ...
> Aborted (core dumped)
>
>
> Does anyone know what to make of this?
>
> Thanks,
>
> Mason



reply via email to

[Prev in Thread] Current Thread [Next in Thread]