delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/14/23:47:19

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=AWL,BAYES_20,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
From: Gwen Morse <gwen DOT morse AT gmail DOT com>
Date: Tue, 14 Sep 2010 23:46:42 -0400
Message-ID: <AANLkTi=RzdEHddrwR2DeD-OACGU2XZcJ6Pmh7ZfGtJDa@mail.gmail.com>
Subject: tinyfugue with python won't compile under cygwin
To: Cygwin <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

About a year ago I was able to get assistance compiling my MUD client
Tinyfuge, with a special add-on python library, using cywgin. That
problem turned out needing to send the location of the python library
in the ./configure command.

Now that we have a new major release of cygwin with a new(er) version
of python, I'm having trouble building it again. I am sending the
location of the python developer source files, and I've also made sure
to download all the python source (just in case)

Here is the error message I get:

$ make
make[1]: Entering directory `/home/jmorse/tf-50b8-py/src'
gcc -g -O2 -DTFPYTHON  -I/usr/include/python2.6 -DDATADIR=/home/jmorse/share   -
c -o attr.o attr.c
gcc -g -O2 -DTFPYTHON  -I/usr/include/python2.6 -DDATADIR=/home/jmorse/share   -
c -o command.o command.c
In file included from /usr/include/python2.6/Python.h:8,
                 from tfpython.h:6,
                 from command.c:33:
/usr/include/python2.6/pyconfig.h:323:1: warning: "HAVE_INET_PTON" redefined
In file included from command.c:15:
tfconfig.h:57:1: warning: this is the location of the previous definition
In file included from /usr/include/python2.6/unicodeobject.h:120,
                 from /usr/include/python2.6/Python.h:85,
                 from tfpython.h:6,
                 from command.c:33:
/usr/include/wchar.h:157: error: conflicting types for `tf_wprintf'
tfio.h:160: error: previous declaration of `tf_wprintf' was here
In file included from tfpython.h:7,
                 from command.c:33:
tfconfig.h:57:1: warning: "HAVE_INET_PTON" redefined
In file included from /usr/include/python2.6/Python.h:8,
                 from tfpython.h:6,
                 from command.c:33:
/usr/include/python2.6/pyconfig.h:323:1: warning: this is the location
of the previous definition
make[1]: *** [command.o] Error 1
make[1]: Leaving directory `/home/jmorse/tf-50b8-py/src'
make: *** [files] Error 2

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019