delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/22/21:59:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_SV,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <4CC198DB.2000204@dyximaq.de>
References: <AANLkTikYLWCqgX1tTwApb49wdn_tv_6pjWP6HR9upsPK AT mail DOT gmail DOT com> <AANLkTincRaGyPuUmm5x5jXuL3sNLTa3N32ST_7BB=Qzw AT mail DOT gmail DOT com> <AANLkTinKikCdwJV5dN__x61g+wj36EX5dhvcJqbSdWR8 AT mail DOT gmail DOT com> <4CC198DB DOT 2000204 AT dyximaq DOT de>
From: Gwen Morse <gwen DOT morse AT gmail DOT com>
Date: Fri, 22 Oct 2010 21:59:05 -0400
Message-ID: <AANLkTindwZfgpGSaKOGEe5XnZJ-LBs3SEsQvdCqWSNtw@mail.gmail.com>
Subject: Re: tinyfugue with python won't compile under cygwin (1.7.7) on Windows XP
To: 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-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

On Fri, Oct 22, 2010 at 9:59 AM, Dirk Sondermann  wrote:
> On 22.10.2010 10:21, Gwen Morse wrote:
>
>> Recap: I'm having trouble compiling tinyfuge, a mud client, under
>> cygwin 1.7, with an add-on patch that allows the inclusion of a python
>> library. I was getting some error messages, posted them here, and was
>> told it was probably an issue with using "wprinttf" instead of
>> "tf_wprinttf".
>
> You don't have to replace wprintf with tf_wprintf in the source by hand.
>
> The macro definition "#define wprintf tf_wprintf" is intended to avoid
> a collision between the wprintf function definded in src/tfio.h and the
> version defined in wchar.h by replacing the former with tf_wprintf and
> leaving the latter untouched. At present, this does not work because
> the macro is applied to both files. You can get rid of this problem
> by including wchar.h in src/tfio.h *before* the macro is defined:
>
> $ svn co svn://sizer99.com/tf-50b8-py
> $ cd tf-50b8-py
> $ sed -i '29 s/.*/#include <wchar.h>/' src/tfio.h
> $ ./configure
> $ make

This worked perfectly. Thank you!

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