Hi,
I am quite excited to update to 1.6, however I get compilation error.
I believe error is due to the --enable-notmuch option.
$ ./prepare --enable-imap --enable-hcache --with-ssl --with-sasl --enable-notmuch --enable-smtp --enable-debug ... $ make ...
browser.c: In function ‘examine_vfolders’: browser.c:529:42: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:529:59: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:531:12: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ tmp->msg_unread, tmp->msg_count); ^ browser.c:531:29: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ tmp->msg_unread, tmp->msg_count); ^ browser.c: In function ‘_mutt_select_file’: browser.c:737:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] getcwd (LastDir, sizeof (LastDir)); ^
Any thoughts on a solution?
Kind regards,
Xu
On 04/13/16 at 12:12am, Xu Wang wrote:
Hi,
I am quite excited to update to 1.6, however I get compilation error.
I believe error is due to the --enable-notmuch option.
$ ./prepare --enable-imap --enable-hcache --with-ssl --with-sasl --enable-notmuch --enable-smtp --enable-debug ... $ make ...
browser.c: In function ‘examine_vfolders’: browser.c:529:42: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:529:59: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:531:12: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ tmp->msg_unread, tmp->msg_count); ^ browser.c:531:29: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ tmp->msg_unread, tmp->msg_count); ^ browser.c: In function ‘_mutt_select_file’: browser.c:737:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] getcwd (LastDir, sizeof (LastDir)); ^
Any thoughts on a solution?
You have to set --enable-sidebar
We need a patch that either
1\ Enable the sidebar in the configure.ac if notmuch is enabled or 2\ Guard this code with SIDEBAR ifdefs
vmjl
Thank you, that works.
Kind regards,
Xu
On Wed, Apr 13, 2016 at 2:25 AM, Víctor M. Jáquez L. vjaquez@igalia.com wrote:
On 04/13/16 at 12:12am, Xu Wang wrote:
Hi,
I am quite excited to update to 1.6, however I get compilation error.
I believe error is due to the --enable-notmuch option.
$ ./prepare --enable-imap --enable-hcache --with-ssl --with-sasl --enable-notmuch --enable-smtp --enable-debug ... $ make ...
browser.c: In function ‘examine_vfolders’: browser.c:529:42: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:529:59: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ nm_nonctx_get_count(tmp->path, &tmp->msg_count, &tmp->msg_unread); ^ browser.c:531:12: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_unread’ tmp->msg_unread, tmp->msg_count); ^ browser.c:531:29: error: ‘BUFFY {aka struct buffy_t}’ has no member named ‘msg_count’ tmp->msg_unread, tmp->msg_count); ^ browser.c: In function ‘_mutt_select_file’: browser.c:737:2: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] getcwd (LastDir, sizeof (LastDir)); ^
Any thoughts on a solution?
You have to set --enable-sidebar
We need a patch that either
1\ Enable the sidebar in the configure.ac if notmuch is enabled or 2\ Guard this code with SIDEBAR ifdefs
vmjl _______________________________________________ mutt-kz mailing list mutt-kz@lists.fedoraproject.org http://lists.fedoraproject.org/admin/lists/mutt-kz@lists.fedoraproject.org
mutt-kz@lists.fedoraproject.org