On 15 Jan 2010, at 21:41, Adam Kocoloski wrote: > On Jan 15, 2010, at 3:37 PM, Chris Anderson wrote: > >> On Fri, Jan 15, 2010 at 12:10 PM, Adam Kocoloski <[email protected]> wrote: >>> On Jan 14, 2010, at 11:53 AM, Brian Candler wrote: >>> >>>> OK, I found the problem: building from git and doing 'make install' don't >>>> mix. >>>> >>>> $ ls /usr/local/lib/couchdb/erlang/lib/ >>>> couch-0.11.0b2f476313-git couch-0.11.0b897427 etap >>>> couch-0.11.0b6c1ece91-git couch-0.11.0bd19680d5-git ibrowse-1.5.2 >>>> couch-0.11.0b894112 erlang-oauth mochiweb-r113 >>>> >>>> You get an effectively random version of couchdb libraries. >>>> >>>> Sorry for the noise (although it would be nice if couchdb could be a bit >>>> smarter with its load path) >>> >>> True, we should definitely fix the code load path stuff. It actually used >>> to work fine, just required a lot more autotools-fu than the current setup >>> does. Perhaps there's a middle ground. >> >> If we're gonna have autotools we should use it to make this stuff >> transparent to the user, even if it's a bit of work to maintain. >> >> My opinion is as humble as my autotools-fu... >> >> Chris > > Agreed, I wouldn't have committed the original change had I known 0.9 > 0.10 > in the mind of the code loader. Best,
Noah, can `make install` be sensibly taught to rm -rf %couchdblibdir&/couch-*? Alternatively detect these and stop and warn, so the user can do the delete (overridable of course, for automatic builders). Cheers Jan --
