[blfs-support] atd-3.1.13 wont compile

Bruce Dubbs bruce.dubbs at gmail.com
Fri Aug 2 15:37:53 PDT 2013


lux-integ wrote:
> Greetings,
>
> I am trying to compile atd  (at-3.1.13 )
> http://www.linuxfromscratch.org/blfs/view/svn/general/at.html
>
> (my machine has amd64 cpu, gcc-4.8.2 kernel-3.10.4 )
> and I am using the instructions as in the blfs book.
>
> make ends like so
>
> ######
> atd.c: In function 'run_file':
> atd.c:509:2: error: #error "No mail command specified."
>   #error      "No mail command specified."
>    ^
> atd.c: In function 'run_loop':
> atd.c:527:10: warning: variable 'batch_queue' set but not used [-Wunused-but-
> set-variable]
>       char batch_queue = '\0';
>            ^
> make: *** [atd.o] Error 1

If you ./configure with a sendmail program installed, it creates 
config.h which has:

/* Define mail command for sending */
#define SENDMAIL "/usr/sbin/sendmail"

   -- Bruce




More information about the blfs-support mailing list