line-regex is a macro that needs to be evaluated at run time. Do not compile ldg-context. The other files should be fine.
On Thu, May 16, 2013 at 2:46 PM, Colin Hall <[email protected]> wrote: > > Hi, > > First, thanks for the great software. It is very much appreciated. > > Building and installing the ledger binary, docs and C interface files > from my git clone on branch master is working great. Ledger executes ok. > > On my system, byte-compile of the Emacs ledger mode software fails for > target ldg-context.elc due to an undefined function line-regex. See the > tail of the log below. > > I noticed a lot of recent commits related to regex so I wondered if > there has been a recent design change which has changed the system > requirements for the build-time host? > > I haven't attempted to debug the problem but I'm happy to do so if > that's what is required. > > Cheers, > Colin. > > > Tail of the build stdout leading up to the byte-compilation failure: > > ------------- > [ 5%] Creating byte-compiled Emacs lisp > /var/tmp/builds/ledger/lisp/ldg-context.elc > Loading 00debian-vars... > Loading /etc/emacs/site-start.d/50asymptote.el (source)... > Loading /etc/emacs/site-start.d/50autoconf.el (source)... > Loading /etc/emacs/site-start.d/50bbdb.el (source)... > Loading /etc/emacs/site-start.d/50cmake-data.el (source)... > Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)... > Loading debian-ispell... > Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)... > Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)... > Loading /etc/emacs/site-start.d/50emacs-intl-fonts.el (source)... > Loading /etc/emacs/site-start.d/50ess.el (source)... > Loading /etc/emacs/site-start.d/50lbdb.el (source)... > > In toplevel form: > ldg-context.el:69:1:Error: Symbol's function definition is void: line-regex > make[2]: *** [ldg-context.elc] Error 1 > make[1]: *** [CMakeFiles/emacs_lisp_byte_compile.dir/all] Error 2 > make: *** [all] Error 2 > -------------- > > > I'm running Emacs 24.3.1, emacs-version produces this output: > > --------------- > GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-14 on > chindi10, modified by Debian > --------------- > > > Finally, here are the commands I use to build ledger: > > ----------------- > #!/bin/sh > > # Directories: > gitroot="/var/tmp/builds" > > # Remove any existing repo > rm -rf "$gitroot/ledger" > > # Clone the repo: > cd "$gitroot" > git clone git://github.com/ledger/ledger.git > > # My system was not recognised by the dependencies command. If it was, > # here is the command that would pull in the deps. > # > # cd "$gitroot/ledger" > # ./acprep depdendencies > > # Configuration and build > cd "$gitroot/ledger" > mkdir build > ./acprep --prefix="$HOME" opt make > > # Make the docs and install everything > cd "$gitroot/ledger/build/ledger/opt" > make doc install > > # Build ledger mode > cd "$gitroot/ledger/lisp" > cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME . > make install > ----------------- > > > -- > Colin Hall > > -- > > --- > You received this message because you are subscribed to the Google Groups > "Ledger" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Craig, Corona De Tucson, AZ enderw88.wordpress.com -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
