Building Python with Tcl/Tk on Cygwin_NT-5.1
williams13 at mail.llnl.gov
williams13 at mail.llnl.gov
Mon Jul 25 18:02:45 EDT 2005
Anytime Jason... Thanks for fixing this problem. Let me
know when you have it solved. In the meantime, I have a
workaround.
Best regards,
Dean
On Mon, 25 Jul 2005 16:11:32 -0400
Jason Tishler <jason at tishler.net> wrote:
>Dean,
>
>On Mon, Jul 25, 2005 at 10:49:58AM -0700, Dean N.
>Williams wrote:
>> For version control and other reasons, it would be nice
>>to be able to
>> build Python from source and it should build from
>>source. How did the
>> Cygwin version build?
>
>I built using an older version of Cygwin (i.e, 1.5.12-1).
>
>> I've attached the Python log file with the specific
>>error. What file
>> is missing?
>
>None. See below...
>
>The "root cause" is the following:
>
>under Cygwin 1.5.12-1:
>
> $ configure
> [snip]
> checking for inet_pton... no
> [snip]
>
>under Cygwin 1.5.18-1:
>
> $ configure
> [snip]
> checking for inet_pton... yes
> [snip]
>
>So, when you build under 1.5.18-1, pyconfig.h has the
>following:
>
> #define HAVE_INET_PTON 1
>
>This causes a chunk of code in socketmodule.c to be
>compiled under
>1.5.18-1 that wasn't compiled before.
>
>I will have to research why INET_ADDRSTRLEN is not
>defined under Cygwin
>and submit a patch to Cygwin or Python as appropriate.
>
>Thanks for bringing this problem to my attention.
>
>Jason
>
>--
>PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or
>key servers
>Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC
>ECF4 8EF6
More information about the Python-list
mailing list