From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thibaut Verron Subject: Re: Cannot load org after updating to 9.0 Date: Mon, 7 Nov 2016 14:11:08 +0100 Message-ID: References: Reply-To: thibaut.verron@gmail.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1140d75407a78b0540b5c399 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c3jhz-00051E-Pq for emacs-orgmode@gnu.org; Mon, 07 Nov 2016 08:11:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c3jhy-0001jd-Gy for emacs-orgmode@gnu.org; Mon, 07 Nov 2016 08:11:31 -0500 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]:34716) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c3jhy-0001jP-6L for emacs-orgmode@gnu.org; Mon, 07 Nov 2016 08:11:30 -0500 Received: by mail-wm0-x22e.google.com with SMTP id u144so28224578wmu.1 for ; Mon, 07 Nov 2016 05:11:30 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode --001a1140d75407a78b0540b5c399 Content-Type: text/plain; charset=UTF-8 2016-11-07 12:44 GMT+01:00 Thibaut Verron : > Hello, > > I updated my emacs packages this morning, including org 9.0, from GNU > elpa. Apparently (based on other folders in my elpa installation folder), > my last previous update was on april 11, 2016, so the problem may not come > from the very latest version. Nonetheless, I didn't find any other mention > of it online. > > So, how does the problem appear? When I start emacs, I get the following > "warnings": > > > WARNING: No org-loaddefs.el file could be found from where org.el is > loaded. > > You need to run "make" or "make autoloads" from Org lisp directory > > Warning (initialization): An error occurred while loading > `(...)/.emacs.d/init.el': > > > Symbol's function definition is void: org-element-update-syntax > > For the first warning, I tried looking in the ~/.emacs.d/elpa/org-20161102 > folder (which is where the loaded org.el file is), and it does contain > org-loaddefs.el. There is no makefile, but I guess that it is normal for an > installation using elpa. > > The second warning is an error and blocks further evaluation of my init > file. For some reason though, --debug-init doesn't give any stacktrace. > > I'm using emacs 24.3.1 on linux (ubuntu 14.04). > When I try to evaluate org-loaddefs manually, I get an error "Symbol's function definition is void: function-put". Apparently, based on this thread [1], it can happen if I installed org using a more recent version of emacs than the one I am using currently. It was certainly the case until this morning, but I installed the update from this computer, and after the problem appeared, I uninstalled and reinstalled org, again from this computer. Replacing occurrences of function-put with put got rid of the first warning (the warning message could have been more helpful), but not of the second one. org-element-update-syntax is defined in org-element.el, so I guess it is another compilation problem. How can I make sure that the package is compiled for my version of emacs? Thibaut Verron [1] https://lists.gnu.org/archive/html/emacs-orgmode/2014-05/msg00336.html --001a1140d75407a78b0540b5c399 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2016= -11-07 12:44 GMT+01:00 Thibaut Verron <thibaut.verron@gmail.com= >:
Hello,

I updated my emacs packages this morning= , including org 9.0, from GNU elpa. Apparently (based on other folders in m= y elpa installation folder), my last previous update was on april 11, 2016,= so the problem may not come from the very latest version. Nonetheless, I d= idn't find any other mention of it online.

So,= how does the problem appear? When I start emacs, I get the following "= ;warnings":

> WARNING: No org-loaddef= s.el file could be found from where org.el is loaded.
> You ne= ed to run "make" or "make autoloads" from Org lisp dire= ctory
> Warning (initialization): An error occurred while load= ing `(...)/.emacs.d/init.el':

> Symbol'= s function definition is void: org-element-update-syntax
For the first warning, I tried looking in the ~/.emacs.d/elpa/= org-20161102 folder (which is where the loaded org.el file is), and it does= contain org-loaddefs.el. There is no makefile, but I guess that it is norm= al for an installation using elpa.=C2=A0

The secon= d warning is an error and blocks further evaluation of my init file. For so= me reason though, --debug-init doesn't give any stacktrace.
<= br>
I'm using emacs 24.3.1 on linux (ubuntu 14.04).

When I try to evaluate org-loaddefs manu= ally, I get an error "Symbol's function definition is void: functi= on-put".

Apparently, based on this thread [1]= , it can happen if I installed org using a more recent version of emacs tha= n the one I am using currently. It was certainly the case until this mornin= g, but I installed the update from this computer, and after the problem app= eared, I uninstalled and reinstalled org, again from this computer.

Replacing occurrences of function-put with put got rid of= the first warning (the warning message could have been more helpful), but = not of the second one.

org-element-update-syntax i= s defined in org-element.el, so I guess it is another compilation problem. = How can I make sure that the package is compiled for my version of emacs?

Thibaut Verron

--001a1140d75407a78b0540b5c399--