From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien <bzg@gnu.org> Subject: Re: Org Build System (aka Makefile) Date: Mon, 13 Aug 2012 16:48:09 +0200 Message-ID: <87y5lix2za.fsf@gnu.org> References: <87y5mkrca2.fsf@Rainer.invalid> <87ipcs3smd.fsf@Rainer.invalid> <871ujf5i7g.fsf@gnu.org> <874no8dxik.fsf@Rainer.invalid> <87r4rb690j.fsf@gnu.org> <874no7qq1q.fsf@Rainer.invalid> <87mx1z1bp1.fsf@gnu.org> <loom.20120813T133102-949@post.gmane.org> <878vdjylxx.fsf@gnu.org> <loom.20120813T161321-71@post.gmane.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([208.118.235.92]:59553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bastienguerry@googlemail.com>) id 1T0vw8-0007dO-HA for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 10:48:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bastienguerry@googlemail.com>) id 1T0vvj-0000al-W0 for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 10:48:08 -0400 Received: from mail-wi0-f177.google.com ([209.85.212.177]:49734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bastienguerry@googlemail.com>) id 1T0vvj-0000Xb-Ec for emacs-orgmode@gnu.org; Mon, 13 Aug 2012 10:47:43 -0400 Received: by wibhn17 with SMTP id hn17so2077878wib.12 for <emacs-orgmode@gnu.org>; Mon, 13 Aug 2012 07:47:42 -0700 (PDT) In-Reply-To: <loom.20120813T161321-71@post.gmane.org> (Achim Gratz's message of "Mon, 13 Aug 2012 14:17:50 +0000 (UTC)") List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Achim Gratz <Stromeko@NexGo.DE> Cc: emacs-orgmode@gnu.org Achim Gratz <Stromeko@NexGo.DE> writes: > Bastien <bzg <at> gnu.org> writes: >> ~$ emacs -batch -Q --eval "(byte-compile-file > \"~/install/git/org-mode/lisp/ob.el\")" >> >> I get warnings in the second case, not in the first case. > > You should, because the command line you use does not set up the load-path > correctly. The requires will now use the standard Emacs load-path, which > provides older files with the same name. Here are the warnings I get: ,---- | In org-babel-sha1-hash: | ob.el:1022:4:Warning: `(rm (lst) (dolist (p (quote ("replace" "silent" | "append" "prepend"))) (setq lst (remove p lst))) lst)' is a malformed | function | ob.el:1033:54:Warning: reference to free variable `arg' | | In org-babel-noweb-p: | ob.el:2224:34:Warning: `(intersect (as bs) (when as (if (member (car as) bs) | (car as) (intersect (cdr as) bs))))' is a malformed function | | In end of data: | ob.el:2603:1:Warning: the following functions are not known to be defined: | org-labels, norm, arg, rm, intersect | Wrote /home/guerry/install/git/org-mode/lisp/ob.elc `---- (This is related to the use of cl-labels in ob.el.) Do you get those warnings with ~$ emacs -batch -Q --eval "(byte-compile-file \"~/install/git/org-mode/lisp/ob.el\")" ? Do you get them with make ~$ make _COMPILE_=single ? How do you set up the load-path when compiling with `make _COMPILE_=single'? Thanks, -- Bastien