unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Bhaskara Marthi <bhaskara@gmail.com>
To: notmuch@notmuchmail.org
Subject: os x getline issues
Date: Sun, 28 Mar 2010 23:54:18 -0700	[thread overview]
Message-ID: <330356ae1003282354s639a0ff5p34a6a29bbe145ed5@mail.gmail.com> (raw)

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

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)

[-- Attachment #2: Type: text/html, Size: 1795 bytes --]

             reply	other threads:[~2010-03-29  6:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-29  6:54 Bhaskara Marthi [this message]
2010-03-29  8:43 ` [PATCH] Fix compilation when getline is not available Michal Sojka
2010-03-29 16:43   ` Bhaskara Marthi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=330356ae1003282354s639a0ff5p34a6a29bbe145ed5@mail.gmail.com \
    --to=bhaskara@gmail.com \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).