[Python-bugs-list] [ python-Bugs-407019 ] Python-2.1 does not compile under cygwin

noreply@sourceforge.net noreply@sourceforge.net
Mon, 02 Apr 2001 13:07:54 -0700


Bugs item #407019, was updated on 2001-03-08 06:02
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407019&group_id=5470

Category: Build
Group: Platform-specific
>Status: Closed
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Tim Peters (tim_one)
Summary: Python-2.1 does not compile under cygwin

Initial Comment:
configure runs well.

I use:
> g++ --version
2.95.2

Errors are occuring in tokenizer.c. the pointer-variable new seems to be misinterpreted. After 
renaming it to newptr in line 192 ans subsequent lines, tokenizer.c.

The next errors occure in Parser/myreadline.c:

Parser/myreadline.c: In function `char * PyOS_StdioReadline(char *)':
Parser/myreadline.c:62: ANSI C++ forbids implicit conversion from `void *' in as
signment
Parser/myreadline.c:99: ANSI C++ forbids implicit conversion from `void *' in as
signment
Parser/myreadline.c:109: ANSI C++ forbids implicit conversion from `void *' in r
eturn
make: *** [Parser/myreadline.o] Error 1



----------------------------------------------------------------------

>Comment By: Tim Peters (tim_one)
Date: 2001-04-02 13:07

Message:
Logged In: YES 
user_id=31435

Closing for lack of followup info, and that Jason did all 
he could to set the anonymous submitter straight.

----------------------------------------------------------------------

Comment By: Jason Tishler (jlt63)
Date: 2001-03-19 05:57

Message:
Logged In: YES 
user_id=86216

I haven't played "hot potato" since I was a kid...

More information than the above is necessary in order for me to help you such as
your exact configure command line, Cygwin version, etc..  Anyway I can make the
following suggestions:

    1. Your version of gcc (and most likely binutils) is really old.  My WAG is that you
        are still using gcc 2.95.2-2 -- you should be using 2.95.2-6 or later.  Please
        update your Cygwin installation by running http://www.cygwin.com/setup.exe

    2. You should use gcc not g++ to build Cygwin Python

Cygwin Python builds OOTB, please see the following for instructions:

    http://sources.redhat.com/ml/cygwin-apps/2001-03/msg00003.html

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-03-17 21:53

Message:
Logged In: YES 
user_id=31435

Sent email to Jason asking him to look at this.

----------------------------------------------------------------------

Comment By: Tim Peters (tim_one)
Date: 2001-03-17 11:47

Message:
Logged In: YES 
user_id=31435

Try gcc?  Jason Tishler did the Cygwin port, and said it 
works fine.

----------------------------------------------------------------------

Comment By: Jeremy Hylton (jhylton)
Date: 2001-03-16 10:02

Message:
Logged In: YES 
user_id=31392

cygwin ends with "win." right, tim?


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=407019&group_id=5470