[notmuch] os x getline issues

Bhaskara Marthi bhaskara at gmail.com
Sun Mar 28 23:54:18 PDT 2010


Hi all, I'm trying to build notmuch on os x (master branch from today).  I
got the ports for gmime and xapian, and installed talloc from source, with
some minor hitches (just getting talloc alone from samba failed on autoconf
due to lack of libreplace.m4, so I installed all of samba from a port; a
pkg-config file for talloc was not put in the right place after that,
though, so I had to make one).

Anyway, now compilation runs into the following error.  Looks like an issue
with the makefile given that getline is in fact defined in compat/.  How
should I fix this?
- Bhaskara

g++ debugger.o gmime-filter-reply.o notmuch.o notmuch-config.o
notmuch-count.o notmuch-dump.o notmuch-new.o notmuch-reply.o
notmuch-restore.o notmuch-search.o notmuch-search-tags.o notmuch-setup.o
notmuch-show.o notmuch-tag.o notmuch-time.o query-string.o show-message.o
json.o lib/notmuch.a  -L/opt/local/lib -lgmime-2.4 -lz -lgobject-2.0
-lglib-2.0 -lintl -liconv   -L/opt/local/lib/samba3 -ltalloc
-L/opt/local/lib -lxapian -lz -L/opt/local/lib -o notmuch
Undefined symbols:
  "_getline", referenced from:
      _notmuch_restore_command in notmuch-restore.o
      _notmuch_restore_command in notmuch-restore.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_setup_command in notmuch-setup.o
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
      _notmuch_message_file_get_header in notmuch.a(message-file.o)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://notmuchmail.org/pipermail/notmuch/attachments/20100328/4d726740/attachment.html>


More information about the notmuch mailing list