Re: [homebrew] Cannot get lbdb installed by Homebrew to link to Mac
addressbook
- From:
- Trey Sizemore
- Date:
- 2011-09-22 @ 20:22
On Thursday, September 22, 2011 11:18 AM, "Tim Gray"
<tgray@protozoic.com> wrote:
> On Sep 22, 2011 at 10:20 AM -0400, Trey Sizemore wrote:
> >I've had this working in the past, but cannot seem to get this working
> >with lbdb installed by brew.
>
> The last I looked at this, lbdb provided by homebrew doesn't build under
> 10.7 and XCode 4. Neither do the files build by hand without brew if
> you get the files from the lbdb website. It's the Address Book
> integration part - the XCode project file is old, etc., and no longer
> works.
>
> I fixed up and actually wrote a brew recipe for it. I tried to contact
> the lbdb authors to accept the changes but they've never responded.
> So... You can download my fork of the project with the corrections from
> git, as well as my brew recipe, which is much simpler than the current
> brew recipe. The brew recipe below references the patched lbdb files,
> so you should be able to download the recipe and run the following I
> think:
>
> brew install https://raw.github.com/tgray/brewalt/master/lbdb.rb
>
> Or download the recipe, cd to the location of it, and run:
>
> brew install ./lbdb.rb
>
> Brew recipe:
> https://raw.github.com/tgray/brewalt/master/lbdb.rb
>
> modded lbdb page:
> https://github.com/tgray/lbdb
>
Thanks. I uninstalled the version I had before and installed yours.
However, I'm still seeing the same error:
$ lbdbq
/usr/local/bin/lbdbq: line 74: m_muttalias_query: command not found
/usr/local/bin/lbdbq: line 74: m_osx_addressbook_query: command not
found
lbdbq: no matches
Did I miss something?
--
Trey Sizemore
trey@fastmail.fm
Re: [homebrew] Cannot get lbdb installed by Homebrew to link to Mac
addressbook
- From:
- Tim Gray
- Date:
- 2011-09-22 @ 21:02
On Sep 22, 2011 at 04:22 PM -0400, Trey Sizemore wrote:
>$ lbdbq
>/usr/local/bin/lbdbq: line 74: m_muttalias_query: command not found
>/usr/local/bin/lbdbq: line 74: m_osx_addressbook_query: command not
>found
>lbdbq: no matches
>
>Did I miss something?
Looking in my .lbdb/lbdbrc file, I have the following line:
MODULES_PATH="/usr/local/lib"
I'm not sure if you need it or not; that might be the default location and
lbdbq might search there automatically. But I would check to see if you
have the m_osx_addressbook_query command in your /usr/local/lib. It
should be symlinked to something like
/usr/local/Cellar/lbdb/0.38/lib/m_osx_addressbook. It sounds like it's
not there for some reason.
Re: [homebrew] Cannot get lbdb installed by Homebrew to link to Mac
addressbook
- From:
- Trey Sizemore
- Date:
- 2011-09-22 @ 21:21
On Thursday, September 22, 2011 5:02 PM, "Tim Gray"
<tgray@protozoic.com> wrote:
> On Sep 22, 2011 at 04:22 PM -0400, Trey Sizemore wrote:
> >$ lbdbq
> >/usr/local/bin/lbdbq: line 74: m_muttalias_query: command not found
> >/usr/local/bin/lbdbq: line 74: m_osx_addressbook_query: command not
> >found
> >lbdbq: no matches
> >
> >Did I miss something?
>
> Looking in my .lbdb/lbdbrc file, I have the following line:
>
> MODULES_PATH="/usr/local/lib"
>
> I'm not sure if you need it or not; that might be the default location
> and lbdbq might search there automatically. But I would check to see if
> you have the m_osx_addressbook_query command in your /usr/local/lib. It
> should be symlinked to something like
> /usr/local/Cellar/lbdb/0.38/lib/m_osx_addressbook. It sounds like it's
> not there for some reason.
>
Thanks. That was the problem. Had the old macports path for modules.
Once I changed it, all is working again.
--
Trey Sizemore
trey@fastmail.fm