--- Martin Costabel <[EMAIL PROTECTED]> wrote:
> 
> Well, there must be *something* on your system that
> prevents python23 
> from building the readline module. I have no idea
> yet what it could be, 
> so comparing your build procedure with one where it
> does build the 
> module (mine for example) and trying to find
> differences still seems a 
> good strategy.

Ok, here are the error msgs I get:

In file included from
/sw/include/readline/readline.h:37,
                 from
/sw/src/fink.build/python23-2.3.5-115/Python-2.3.5/Modules/readline.c:26:
/sw/include/readline/rltypedefs.h:35: warning:
function declaration isn't a prototype
/sw/include/readline/rltypedefs.h:36: warning:
function declaration isn't a prototype
/sw/include/readline/rltypedefs.h:37: warning:
function declaration isn't a prototype
/sw/include/readline/rltypedefs.h:38: warning:
function declaration isn't a prototype
In file included from
/sw/src/fink.build/python23-2.3.5-115/Python-2.3.5/Modules/readline.c:26:
/sw/include/readline/readline.h:375: warning: function
declaration isn't a prototype
/sw/src/fink.build/python23-2.3.5-115/Python-2.3.5/Modules/readline.c:96:
error: static declaration of 'history_length' follows
non-static declaration
/sw/include/readline/history.h:242: error: previous
declaration of 'history_length' was here

The first five errors refer to the following lines:
typedef int Function ();
typedef void VFunction ();
typedef char *CPFunction ();
typedef char **CPPFunction ();
extern int rl_message ();

And the last one refers to:
static int history_length = -1;
...which follows
extern int history_length;

I guess gcc 4.0 is stricter than gcc 3, so it won't
compile readline. I set the default compiler to 3.3,
but got a message saying the python23 package requires
4.0. Is there an easy way to fix up the code so it
will compile under 4.0? Thanks.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Fink-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to