Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find Notmuch library #100

Open
CaptainQuirk opened this issue Jun 12, 2015 · 4 comments
Open

Unable to find Notmuch library #100

CaptainQuirk opened this issue Jun 12, 2015 · 4 comments

Comments

@CaptainQuirk
Copy link

I'm on MacOS X 10.9.15

I downloaded the repo's zip file.
I had a couple issues to launch the ./prepare script : I had to unlink and relink some homebrew formulas (autoconf, automake and libtool).

I had not seen that the --enable-notmuch support flag had to be added.

I run

./prepare  --enable-notmuch

I get

configure.ac:16: installing './compile'
configure.ac:20: installing './config.guess'
configure.ac:20: installing './config.sub'
configure.ac:8: installing './install-sh'
configure.ac:8: installing './missing'
Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.0
checking for prefix... /usr/local
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for dbx... no
checking for gdb... no
checking for sdb... no
checking for inttypes.h... (cached) yes
checking for uint32_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for unsigned long long int... yes
checking for long long int... yes
checking for sendmail... /usr/sbin/sendmail
checking whether to build with GPGME support... no
checking for notmuch_database_open in -lnotmuch... no
configure: error: Unable to find Notmuch library

Some part of the preparation process failed.
Please refer to doc/devel-notes.txt for details.```

I installed notmuch 0.19 with homebrew. I haven't found any libnotmuch library available for MacOSX.

Thanks in advance
@CaptainQuirk
Copy link
Author

By the way, running

./prepare && ./configure --enable-notmuch

yields

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.0
checking for prefix... /usr/local
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for dbx... no
checking for gdb... no
checking for sdb... no
checking for inttypes.h... (cached) yes
checking for uint32_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for unsigned long long int... yes
checking for long long int... yes
checking for sendmail... /usr/sbin/sendmail
checking whether to build with GPGME support... no
checking for ispell... no
checking for initscr... no
checking for waddnwstr in -lncurses... yes
checking for initscr in -lncurses... yes
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for start_color declaration... yes
checking for typeahead declaration... yes
checking for bkgdset declaration... yes
checking for curs_set declaration... yes
checking for meta declaration... yes
checking for use_default_colors declaration... yes
checking for resizeterm declaration... yes
checking for ANSI C header files... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking unix.h usability... no
checking unix.h presence... no
checking for unix.h... no
checking for setrlimit... yes
checking for getsid... yes
checking for fgets_unlocked... no
checking for fgetc_unlocked... no
checking for sig_atomic_t in signal.h... yes, non volatile
checking whether sys_siglist is declared... yes
checking for pid_t... yes
checking for ssize_t... yes
checking for fgetpos... yes
checking for memmove... yes
checking for setegid... yes
checking for srand48... yes
checking for strerror... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strndup... yes
checking for strnlen... yes
checking for strsep... yes
checking for strtok_r... yes
checking for wcscasecmp... yes
checking for strcasestr... yes
checking for mkdtemp... yes
checking for getopt... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking whether your system's snprintf is C99 compliant... yes
checking whether your system's vsnprintf is C99 compliant... yes
checking for va_copy... va_copy
checking for ftruncate... yes
checking for strftime... yes
checking for fchdir... yes
checking for regcomp... yes
checking whether your system's regexp library is completely broken... no
checking where new mail is stored... /var/mail
checking if /var/mail is world writable... no
checking if /var/mail is group writable... yes
checking where to put the documentation... ${datarootdir}/doc/mutt
checking whether struct dirent defines d_ino... yes
checking for library containing strerror... (cached) none required
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... no
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking nl_types.h usability... yes
checking nl_types.h presence... yes
checking for nl_types.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for feof_unlocked... yes
checking for fgets_unlocked... (cached) no
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for putenv... yes
checking for setenv... (cached) yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... no
checking for __argz_stringify... no
checking for __argz_next... no
checking for iconv... yes
checking for iconv declaration...
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking libintl.h usability... no
checking libintl.h presence... no
checking for libintl.h... no
checking for msgfmt... no
checking for gmsgfmt... :
checking for xgettext... no
checking for bison... bison
checking version of bison... 2.3, ok
checking for catalogs to be installed...  de eu ru it es uk fr pl nl cs id sk ko el zh_TW zh_CN pt_BR eo gl sv da lt tr ja hu et ca bg ga
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking whether iconv.h defines iconv_t... yes
checking whether this iconv is good enough... yes
checking whether iconv is non-transcribing... no
checking stringprep.h usability... no
checking stringprep.h presence... no
checking for stringprep.h... no
checking idn/stringprep.h usability... no
checking idn/stringprep.h presence... no
checking for idn/stringprep.h... no
checking idna.h usability... no
checking idna.h presence... no
checking for idna.h... no
checking idn/idna.h usability... no
checking idn/idna.h presence... no
checking for idn/idna.h... no
checking for library containing stringprep_check_version... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for wchar_t... yes
checking for wint_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for iswalnum... yes
checking for iswalpha... yes
checking for iswblank... yes
checking for iswcntrl... yes
checking for iswdigit... yes
checking for iswgraph... yes
checking for iswlower... yes
checking for iswprint... yes
checking for iswpunct... yes
checking for iswspace... yes
checking for iswupper... yes
checking for iswxdigit... yes
checking for towupper... yes
checking for towlower... yes
checking for mbstate_t... yes
checking for wchar_t functions... yes
checking for nl_langinfo and CODESET... yes
checking for nl_langinfo and YESEXPR... yes
checking for ospcat... none
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating contrib/Makefile
config.status: creating doc/Makefile
config.status: creating imap/Makefile
config.status: creating intl/Makefile
config.status: creating m4/Makefile
config.status: creating po/Makefile.in
config.status: creating hcachever.sh
config.status: creating muttbug.sh
config.status: creating doc/instdoc.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default-1 commands
config.status: creating po/POTFILES
config.status: creating po/Makefile

The mutt source code was successfully prepared and configured.
Type   make && make install   to build and install mutt.

checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-apple-darwin13.4.0
checking host system type... x86_64-apple-darwin13.4.0
checking for prefix... /usr/local
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for ar... ar
checking for inline... inline
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking size of off_t... 8
checking for dbx... no
checking for gdb... no
checking for sdb... no
checking for inttypes.h... (cached) yes
checking for uint32_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking for unsigned long long int... yes
checking for long long int... yes
checking for sendmail... /usr/sbin/sendmail
checking whether to build with GPGME support... no
checking for notmuch_database_open in -lnotmuch... no
configure: error: Unable to find Notmuch library

@CaptainQuirk
Copy link
Author

Hi,

I guess the problem is that installing notmuch with homebrew will install libnotmuch but maybe in a place where it cannot be found inside both prepare and configure scripts.
I have utterly no idea on how to fix this ...

Any clue on what could go wrong ?

@beisenbraun
Copy link

I have a Homebrew recipe for mutt-kz that you can try:

https://github.com/bpeisenbraun/homebrew-misc

It's only lightly tested as I mostly read email on Linux, but it compiles and open mailboxes and the rest.

@CaptainQuirk
Copy link
Author

@beisenbraun, Well it seems to be working like mutt did. I had not tried notmuch anyway, so I'll get back to you if anything goes wrong.

By the way, you have an apple on your face !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants