checking for __gmpz_init in -lgmp... no
configure: error: Cannot find the GMP library, please install libgmp or libmpir.
And I shouldn't have to install those just to get pure-mode.el.
Here are the steps that make does to build pure-mode.el and
pure-mode.elc. These are very unlikely to change, so you can just run
them manually in your build script. Just replace /usr/local with
whatever your installation prefix is in MacPorts. Omit the last command
if you only need the pure-mode.el file and don't care about the
corresponding bytecode.
# sed -e 's,@bindir\@,/usr/local/bin,g' -e
's,@libdir\@,/usr/local/lib,g' ./etc/pure-mode.el.in > etc/pure-mode.el.tmp
# mv etc/pure-mode.el.tmp etc/pure-mode.el
# cd etc && /usr/bin/emacs -q --no-site-file -batch -eval "(add-to-list
'load-path \".\")" -eval "(setq byte-compile-warnings '(callargs
free-vars noruntime redefine))" -f batch-byte-compile pure-mode.el
Albert
--
Dr. Albert Gr"af
Dept. of Music-Informatics, University of Mainz, Germany
Email: Dr.G...@t-online.de, a...@muwiinfa.geschichte.uni-mainz.de
WWW: http://www.musikinformatik.uni-mainz.de/ag
Obviously you can simplify this to:
# sed -e 's,@bindir\@,/usr/local/bin,g' -e
's,@libdir\@,/usr/local/lib,g' ./etc/pure-mode.el.in > etc/pure-mode.el
# cd etc && /usr/bin/emacs -q --no-site-file -batch -eval "(add-to-list
'load-path \".\")" -eval "(setq byte-compile-warnings '(callargs
free-vars noruntime redefine))" -f batch-byte-compile pure-mode.el
--