This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: tinyfugue with python won't compile under cygwin (1.7.7) on Windows XP


On Wed, Sep 15, 2010 at 3:56 AM, Csaba Raduly <rcsaba@gmail.com> wrote:
> On Wed, Sep 15, 2010 at 5:46 AM, Gwen Morse ?wrote:
>> About a year ago I was able to get assistance compiling my MUD client
>> Tinyfuge,
> (snip)
>> gcc -g -O2 -DTFPYTHON ?-I/usr/include/python2.6 -DDATADIR=/home/jmorse/share ? -
>> c -o command.o command.c
> (snip)
>> 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
>
> Which version of Cygwin are you using? My /usr/include/wchar.h is only
> 84 lines long!
>
> P.S. Don't forget to read
>> Problem reports: ? ? ? http://cygwin.com/problems.html

Thanks for the polite reminder that I need to provide more information
for troubleshooting. It's been a while since I've asked a question on
this list and you folks (justifiably) need more information than I
routinely provide on other lists.

I'm trying to build tinyfugue with python from source, it fails during
the second step:
svn co svn://sizer99.com/tf-50b8-py

I was able to build the same exact bundle of source code about a year
ago using Python 2.5 (not sure of the exact Cygwin version). The only
problem I had at that point was having to manually point to the Python
2.5 config with LDFLAGS. Having provided this information I promise
not to repeat it in further messages :).

I re-tried ./configure both without setting LDFLAG and with setting
it. Both resulted in the same error message.

Here's the output of trying to "make" the install after "configure"
completes without any errors.

$ 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 pr
evious definition
make[1]: *** [command.o] Error 1
make[1]: Leaving directory `/home/jmorse/tf-50b8-py/src'
make: *** [files] Error 2

jmorse@nocdesk-4e4927f ~/tf-50b8-py

Attachment: cygcheck.out
Description: Binary data

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]