delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/22/04:46:22

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Originating-IP: [203.102.149.13]
Reply-To: corrosion AT connect DOT to
From: "Neil Lunn" <corrosion99 AT hotmail DOT com>
To: Nashj AT ott DOT nrc DOT ca, cygwin AT sourceware DOT cygnus DOT com
Cc: EFifer AT sanwaint DOT com
Subject: Re: Perl/Tk
Date: Tue, 22 Aug 2000 18:44:11 EST
Mime-Version: 1.0
Message-ID: <F153KDKNLg00IwYrVPL000034b4@hotmail.com>
X-OriginalArrivalTime: 22 Aug 2000 08:44:12.0063 (UTC) FILETIME=[24FAB2F0:01C00C15]

>From: "Nash, John" <Nashj AT ott DOT nrc DOT ca>
>To: 'Cygwin' <cygwin AT sourceware DOT cygnus DOT com>
>Subject: Perl/Tk
>Date: Mon, 21 Aug 2000 14:31:27 -0400
>
>Good afternoon,
>

Allways a good greeting!

>perl Makefile.PL worked fine.
>The failure message from "make" is pasted at the end of the email.
>
>But I think it's more than a missing header file. I think 'Makefile' thinks
>it's in a Windows environment, not X.  As I said, I'm a bit out of my 
>depth,
>being more used to command-line Unix as a programming environment.

You're right there, it does think it's in Windows.

>tkPort.h:28: tkWinPort.h: No such file or directory
>make[1]: *** [Xlib_f.o] Error 1
>make[1]: Leaving directory `/opt/to_install/perl_modules/Tk800.022/pTk'
>make: *** [pTk/libpTk.a] Error 2

There is an abundance of #ifdef __WIN32__ throughtout the header files in 
the perl Tk module. The short answer is that these need to be overidden with 
#undef __WIN32__, or otherwise just commented out!

And that is just the start.

This module needs some patching to recognise that it is on cygwin and 
confgiure itself properly.

I'm only just working through this now.

Neil

P.S Eric do you have much more on this that you are happy to release?









________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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