Re: Cone build 20100819 released

Sam Varshavchik <[email protected]> Fri, 20 Aug 2010 07:12:57 -0400
Newsgroups gmane.mail.cone
Message-ID <[email protected]>
[email protected] writes:

> Sam Varshavchik writes:
> 
>> Download: http://www.courier-mta.org/download.php#cone
>> 
>> Untested build. By popular request -- hooks for running external commands 
>> and passing them a message on standard input.
>> 
>> Changes (since 0.84):
>> 
>> * In the message composition screen, ^N without a highlighted text range 
>> undefine a previously memorized macro text block.
>> 
>> * Hooks for invoking external commands to process messages. On the folder 
>> idnex, an external command gets first bound to a function key, then pressing 
>> the function key runs the command in a child process. Multiple messages may 
>> be processed in a batch by marking them, then pressing the search key ";", 
>> then the function key. When viewing a single message, pressing the function 
>> key also runs its assigned external command. Additional details in the 
>> online help.
>> 
>> 
> 
> Hmm, having problems building it. What am I missing?
> 
> libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I.. -I./.. -Wall -g -O2 -MT 
> fd.lo -MD -MP -MF .deps/fd.Tpo -c fd.C  -fPIC -DPIC -o .libs/fd.o
> fd.C: In member function ‘int mail::fd::process(std::vector<pollfd, 
> std::allocator<pollfd> >&, int&)’:
> fd.C:418: error: ‘BUFSIZ’ was not declared in this scope
> fd.C:618: error: ‘buffer’ was not declared in this scope
> make[3]: *** [fd.lo] Error 1
> make[3]: Leaving directory `/tmp/cone-0.84.20100819/libmail'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory `/tmp/cone-0.84.20100819/libmail'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/cone-0.84.20100819'
> make: *** [all] Error 2

Try adding


#include <cstdio>


at the beginning of this file, libmail/fd.C

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev

_______________________________________________
Courier-cone mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-cone
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)

iEYEABECAAYFAkxuYzkACgkQx9p3GYHlUOI2zQCfU8wSBTfElekHTDN0M7P7df59
Nd8AmwTPY0likUbDwQ+RGveLmkRBDeOJ
=XYqh
-----END PGP SIGNATURE-----