unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* Notmuch on os x?
@ 2011-03-17 12:12 Bart Bunting
  2011-03-22 21:48 ` Tim Gray
  2011-03-24  1:50 ` Tim Gray
  0 siblings, 2 replies; 5+ messages in thread
From: Bart Bunting @ 2011-03-17 12:12 UTC (permalink / raw)
  To: notmuch

Hi all,

Has anyone compiled notmuch for the mac?

If so how?  I'm new to the mac and can find xapian but not the other
libraries notmuch requires.

TIA

Bart

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Notmuch on os x?
  2011-03-17 12:12 Notmuch on os x? Bart Bunting
@ 2011-03-22 21:48 ` Tim Gray
  2011-03-24  1:50 ` Tim Gray
  1 sibling, 0 replies; 5+ messages in thread
From: Tim Gray @ 2011-03-22 21:48 UTC (permalink / raw)
  To: notmuch

On Mar 17, 2011 at 11:12 PM +1100, Bart Bunting wrote:
> Has anyone compiled notmuch for the mac?
>
> If so how?  I'm new to the mac and can find xapian but not the other
> libraries notmuch requires.

I *just* did this a couple hours ago for the first time.  I think I already 
had all the dependancies installed previously.  I'm pretty sure I built 
xapian by hand.  Talloc and GMime I installed via macports.

I ran into an issue with running notmuch from any directory other than the 
notmuch/lib source directory because the binary was linked to 
`libnotmuch.1.dylib` and not `/usr/local/lib/libnotmuch.1.dylib`.  Running 
the following command on the binary seemed to fix that problem, though I'm 
not sure why it occurred in the first place.

	sudo install_name_tool -change libnotmuch.1.dylib \ 
	/usr/local/lib/libnotmuch.1.dylib /usr/local/bin/notmuch

Tim

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Notmuch on os x?
  2011-03-17 12:12 Notmuch on os x? Bart Bunting
  2011-03-22 21:48 ` Tim Gray
@ 2011-03-24  1:50 ` Tim Gray
  2011-03-25  9:32   ` Sebastian Spaeth
  1 sibling, 1 reply; 5+ messages in thread
From: Tim Gray @ 2011-03-24  1:50 UTC (permalink / raw)
  To: notmuch

On Mar 17, 2011 at 11:12 PM +1100, Bart Bunting wrote:
> Has anyone compiled notmuch for the mac?

As a followup to this, I've now started playing around a bit with notmuch on 
OS X.  I'd be really interested in the Python bindings, but they are most 
definitely not working for me.  I pointed the CDLL call in globals.py to my 
libnotmuch (/usr/local/lib/libnotmuch.1.dylib - I have no idea if I was 
supposed to do something else), but when I run notmuch.py, just as a test, I 
get a segmentation fault.

I'm sure I'm doing something totally wrong here.  For what it's worth, 
libnotmuch.1.dylib is x86_64 as is the Python that I'm trying to access it 
with.  Any help would be appreciated.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Notmuch on os x?
  2011-03-24  1:50 ` Tim Gray
@ 2011-03-25  9:32   ` Sebastian Spaeth
  2011-03-25 18:34     ` Tim Gray
  0 siblings, 1 reply; 5+ messages in thread
From: Sebastian Spaeth @ 2011-03-25  9:32 UTC (permalink / raw)
  To: Tim Gray, notmuch

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

On Wed, 23 Mar 2011 21:50:02 -0400, Tim Gray <tgray@protozoic.com> wrote:

> As a followup to this, I've now started playing around a bit with notmuch on 
> OS X.  I'd be really interested in the Python bindings, but they are most 
> definitely not working for me.  I pointed the CDLL call in globals.py to my 
> libnotmuch (/usr/local/lib/libnotmuch.1.dylib - I have no idea if I was 
> supposed to do something else), but when I run notmuch.py, just as a test, I 
> get a segmentation fault. 

Hi, I have done the python bindings so far. But, I won't be able to help
with that. I have barely any experience with interfacing libs from
python and definitely none doing so on Mac OSX. I just happen to love
Python :)

Sebastian

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Notmuch on os x?
  2011-03-25  9:32   ` Sebastian Spaeth
@ 2011-03-25 18:34     ` Tim Gray
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Gray @ 2011-03-25 18:34 UTC (permalink / raw)
  To: notmuch

[-- Attachment #1: Type: text/plain, Size: 978 bytes --]

On Mar 25, 2011 at 10:32 AM +0100, Sebastian Spaeth wrote:
> Hi, I have done the python bindings so far. But, I won't be able to help
> with that. I have barely any experience with interfacing libs from
> python and definitely none doing so on Mac OSX. I just happen to love
> Python :)

I gathered you loved Python judging by your activity on the offlineimap 
group :)

I figured it was a long shot asking about it here since it seems like it's 
probably an issue specific to OS X (and maybe only on my system).  For what 
it's worth, other library bindings work fine with their respective bindings, 
and from what I can tell, it's not a problem with the notmuch Python 
bindings themselves, but something to do with how libnotmuch.1.dylib has 
been compiled on my system...

I don't think it's an i386/x86_64 issue, since Iibnotmuch is x86_64 and I've 
tested it with two 64 bit versions of Python, 2.6.1 (included with OS X 
10.6) and 2.7.1 from python.org.

[-- Attachment #2: Type: application/pgp-signature, Size: 881 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-25 18:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-17 12:12 Notmuch on os x? Bart Bunting
2011-03-22 21:48 ` Tim Gray
2011-03-24  1:50 ` Tim Gray
2011-03-25  9:32   ` Sebastian Spaeth
2011-03-25 18:34     ` Tim Gray

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).