I currently cannot push to git but here's what to do ... edit erlview.erl
* add -define(VERSION, "unknown"). * change helper/2 to helper/3 * save file * erl -make You will need to read the README and make local.ini adjustments. You have already adjusted include path in Emakefile. Maybe use the most current couch_query_servers.erl rather than the old one included. And copy the .beam files. Should all be in the README. ~M On Thu, Jul 09, 2009 at 10:48:19PM +0300, Dmitry Unkovsky wrote: > Thank you for a hint! > I was running make instead of erl -make, which tries to build docs > also, as far as I understand. > > Now, doing plain - > > cd /tmp > git clone git://github.com/mmcdanie/erlview.git > cd erlview > rm ebin/* > cd src > erl -make > > of course tells me that couch_db.hrl is not found, > and after adjusting path to it in Emakefile > > /tmp/erlview/src$ erl -make > Recompile: erlview > ./erlview.erl:233: undefined macro ''VERSION'' > ./erlview.erl:217: function helper/2 undefined > ./erlview.erl:218: function version/0 undefined > ./erlview.erl:326: Warning: function helper/3 is unused > > that's on Ubuntu 9.04something, if relevant, > $erl +V > Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.6.5 > > and latest couchdb from git://github.com/halorgium/couchdb.git master > (at 14cae6402ed... now) > the same with couchdb tagged v0.9.0 > > > 2009/7/9 Michael McDaniel <[email protected]>: > > > > cd /tmp > > git clone git://github.com/mmcdanie/erlview.git > > cd erlview > > cd src > > erl -make > > ls -l ../ebin -- Michael McDaniel Portland, Oregon, USA http://autosys.us
