CARVIEW |
mxcl / homebrew
- Source
- Commits
- Network (766)
- Issues (213)
- Wiki (12)
- Graphs
-
Branch:
master
click here to add a description
click here to add a homepage
Comments for homebrew


I guess we should recurse the lib directory?

Ok; this error happens when building against the system Python, which includes PPC, and passing Intel specific optimization flags.
I'll figure out a fix/workaround (though in the mean time, you could check out the prior version of this formula.)

I'm having issues with this fix, now when i try to install bazaar i get this: https://gist.github.com/368123
It worked earlier for me...

Hooray! That fixes it for me too.

Yeah the problem is icu4c has the wrong install_names. I can fix. You'll have to recompile icu4c and then couchdb after though.

This doesn't work for me either. Just did:
brew uninstall couchdb brew install couchdb
Ran couchdb and got the error above.

That's strange that it worked for you. I tried installing couchdb on my macbook pro, and it gives me the same error. The macbook pro installation is 5 days old, and the only formula I installed was imagemagick.

I've updated the icu formula to fix the shared library ids of the icu dylibs... this isn't actually linking it in brew, just telling each of the libraries where they live so that when dependent formula are linked to icu, they "remember" where to find the icu4c dylibs:

i just run couchdb from the command-line: > couchdb
this also worked by default on my non-dev mac that doesn't have anything special going on. perhaps instead of making icu4c link by default we should have this recipe link it?

Yup.
Does 0.11 work if you unlink icu4c? If you
otool -L
thecouch_icu_driver.so
you see relative references to the icu4c libraries, and since icu4c is keg-only, it can't find those libraries since the keg directory isn't in the rpath...I'm working on patching icu4c to include the full path in the library's ids
Are you launching couchdb with the launchctl service? I'm trying to run it with
couchdb start

hm, did 0.10.1 work for you?

On my machines, if icu4c isn't linked (which it isn't by default, since it's keg only) I get an error when I run couchdb 0.11:
=INFO REPORT==== 11-Apr-2010::13:45:29 === application: couch exited: {bad_return,{{couch_app,start, [normal, ["/usr/local/etc/couchdb/default.ini", "/usr/local/etc/couchdb/local.ini"]]}, {'EXIT',"dlopen(/usr/local/Cellar/couchdb/0.11.0/lib/couchdb/erlang/lib/couch-0.11.0/priv/lib/couch_icu_driver.so, 2): Library not loaded: libicuuc.43.dylib\n Referenced from: /usr/local/Cellar/couchdb/0.11.0/lib/couchdb/erlang/lib/couch-0.11.0/priv/lib/couch_icu_driver.so\n Reason: image not found"}}} type: temporary

Looks good to me after a cursory glance. Thanks.

libexec should only contain executables according to the last time I read that part of the POSIX spec. I believe we can invent our own dir for formula-local.

Did @whoisjake's patch get applied? Repo deleted now.

Brew detects the version just fine out of the URL itself.

Style question:
Why remove the explicit version?