bug-mailutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-mailutils] Re: Mailutils-3 - build problem?


From: Sergey Poznyakoff
Subject: Re: [bug-mailutils] Re: Mailutils-3 - build problem?
Date: Thu, 03 Mar 2011 23:15:37 +0200

Kamil Jońca <address@hidden> ha escrit:

> Afetr  bootstraping I've got error about AM_GNU_RADIUS (I have
> commented it out for a while)

You can get it here:

http://git.savannah.gnu.org/cgit/radius.git/tree/scripts/radius.m4

> Then I've got, in doc/texinfo dir  a lot of errors like:

That will be fixed soon.  The docs are moribund and need to be rewritten
anyway.  

> make[3]: Entering directory `/home/kjonca/tmp/mu/mailutils/mu'
>   CC     shell.o
> shell.c: In function ‘readline’:
> shell.c:428: error: ‘n’ undeclared (first use in this function)

Thanks for reporting. It's been quite some time since I tried to compile
Mailutis without Readline, I must admit.

Please apply the attached patch.  But, better yet, make sure you have
GNU Readline installed.

Regards,
Sergey

diff --git a/mu/shell.c b/mu/shell.c
index 1112dc7..9baceb1 100644
--- a/mu/shell.c
+++ b/mu/shell.c
@@ -412,13 +412,14 @@ shell_history (int argc, char **argv)
 
 #else
 # define finish_readline()
-# define mutool_initialize_readline (const char *name)
+# define mutool_initialize_readline(name)
 
 char *
 readline (char *prompt)
 {
   static size_t size = 0;
   static char *buf = NULL;
+  size_t n;
 
   if (prompt)
     {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]