On Mon, 10 May 1999, Lars Hecking wrote:

> 
> >     I am running Linux and am tring to get Mutt installed but the make
> > is erroring out eith the following:
>  
>  Not enough information. Which version of Linux? On my Linux systems,
>  R_OK is defined in <fcntl.h>.

You actually supplied enough information above for me to fix the problem.
Thanks! I had to and and include for fcntl.h in compose.c, init.c, hook.c, 
postpone.c, and rfc1524.c. There is probably a better way to effect the
same change but it worked. For the possible benifit of others I am running
the current Stampede distribution.

>  Posting the output of configure might be helpful, too.

creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking host system type... i586-pc-linux-gnu
checking for prefix... /usr/local
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /usr/bin/install -c
checking for POSIXized ISC... no
checking for sendmail... /usr/sbin/sendmail
checking for gpg... /usr/bin/gpg
checking for pgpk... /usr/local/bin/pgpk
checking for pgp... /usr/local/bin/pgp
checking for ispell... /usr/bin/ispell
checking how to run the C preprocessor... gcc -E
checking for initscr in -lncurses... yes
checking for ncurses.h... yes
checking for start_color... yes
checking for typeahead... yes
checking for bkgdset... yes
checking for curs_set... yes
checking for meta... yes
checking for use_default_colors... yes
checking for resizeterm... yes
checking for ANSI C header files... yes
checking for stdarg.h... yes
checking for sys/ioctl.h... yes
checking for sysexits.h... yes
checking for getopt.h... yes
checking return type of signal handlers... void
checking for sys_siglist declaration in signal.h or unistd.h... yes
checking size of long... 4
checking for pid_t... yes
checking for setegid... yes
checking for srand48... yes
checking for strerror... yes
checking for strcasecmp... yes
checking for snprintf... yes
checking for vsnprintf... yes
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... yes
Using the included GNU regex instead.
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 architecture-dependent files... /usr/local/lib/mutt
checking where to put architecture-independent data files... /usr/local/share/mutt
checking where to put the documentation... /usr/local/doc/mutt
checking for ranlib... ranlib
checking for working const... yes
checking for inline... inline
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for unistd.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for string.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getcwd... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for strchr... yes
checking for strcasecmp... (cached) yes
checking for strdup... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for stpcpy... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... yes
checking whether included gettext is requested... no
checking for libintl.h... yes
checking for gettext in libc... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  de ru it es uk fr pl nl cs id sk
updating cache ./config.cache
creating ./config.status
creating Makefile
creating intl/Makefile
creating m4/Makefile
creating po/Makefile.in
creating Muttrc
creating doc/Makefile
creating doc/manual.sgml
creating doc/dotlock.man
creating doc/mutt.man
creating charsets/Makefile
creating contrib/Makefile
creating config.h
config.h is unchanged

> > gcc -DSHAREDIR=\"/usr/local/share/mutt\" -DSYSCONFDIR=\"/usr/local/etc\"
> > -DHAVE_CONFIG_H=1 -I. -I/usr/local/include -I/usr/include/ncurses
> > -DDL_STANDALONE -DDOTLOCK="\"/usr/local/bin/mutt_dotlock\"" -I./intl
> > -DHAVE_CONFIG_H=1 -Wall -pedantic -g -O2 -c compose.c
> > compose.c: In function `mutt_compose_menu':
> > compose.c:561: warning: implicit declaration of function `access'
> > compose.c:561: `R_OK' undeclared (first use in this function)
> > compose.c:561: (Each undeclared identifier is reported only once
> > compose.c:561: for each function it appears in.)
> > make: *** [compose.o] Error 1

Reply via email to