delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/29/15:09:21

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Date: Sun, 29 Feb 2004 12:09:03 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: [Fwd: Bug: Perl:IsWinNT undefined & RFE, only use "/" in reg values, not names..?]
Message-ID: <20040229200903.GB204@efn.org>
References: <OF99E3B9F6 DOT 103EAD3E-ON85256E3F DOT 004C687C-85256E3F DOT 004D4068 AT empirehealthcare DOT com> <40350E21 DOT 9010204 AT tlinx DOT org> <20040219232312 DOT GD23994 AT redhat DOT com> <4040DDED DOT 8050709 AT tlinx DOT org>
Mime-Version: 1.0
In-Reply-To: <4040DDED.8050709@tlinx.org>
User-Agent: Mutt/1.4i
Organization: bs"d
X-IsSubscribed: yes

On Sat, Feb 28, 2004 at 10:29:01AM -0800, linda w <cygwin AT tlinx DOT org> wrote:
> I still haven't figured out how to get Tk to build from cpan
> w/o the "x" param.  It builds when I drop into the build
> dir "view Tk" from in cpan, and build it w/the "x", but
> to install, I finally just ignore the makefile which seems
> to have the target:
> install:
>    all pure_install pure_doc_install.
> 
> The "all" goes off and starts building things again -- if
> I just do a make install, it goes off and starts compiling
> things even though, supposedly it's already been built.

Some kind of clock problem confusing make?  Or is this just the
normal stuff you see with nested makefiles, where the top-level
makefile has to invoke the others to see if they are up-to-date?
(Lots of entering directory/leaving directory messages.)
The actual make commands you are using and their output would be helpful.

Last time you asked, I think you got the answer: Tk-804* builds
successfully only with the x option, Tk800* will build without.  I
just tried most recent versions of both and also see that (though
even Tk800.025 gets a number of test failures, so you would need to
use the force command from the cpan shell).

I see brief mention of this on the pTK list:
   http://lists.perl.org/showlist.cgi?name=ptk

anwered by Nick Ing-Simmons (the perl/Tk maintainer) with an request
for someone more familiar with cygwin to help out:
   http://www.xray.mpe.mpg.de/mailing-lists/ptk/2003-12/msg00296.html

But when I try Tk-804.025-beta15, I get a lot farther than that before
it fails:
gcc -c  -I.. -I../pTk/mTk/xlib -DPERL_USE_SAFE_PUTENV -fno-strict-aliasing -DUSEIMPORTLIB -O2   -DVERSION=\"804.025\" -DXS_VERSION=\"804.025\"  "-I/usr/lib/perl5/5.8.2/cygwin-thread-multi-64int/CORE"  -D__WIN32__ -D_WIN32 -Wall -Wno-implicit-int -Wno-comment -Wno-unused -D__USE_FIXED_PROTOTYPES__ Xlib.c
Xlib.xs:13: error: syntax error before '*' token
Xlib.xs:13: warning: data definition has no type or storage class
Xlib.xs: In function `boot_Tk__Xlib':
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: warning: cast to pointer from integer of different size
Xlib.xs:378: error: `XlibVtab' undeclared (first use in this function)
Xlib.xs:378: error: (Each undeclared identifier is reported only once
Xlib.xs:378: error: for each function it appears in.)
Xlib.xs:378: error: syntax error before ')' token
make[1]: *** [Xlib.o] Error 1
make[1]: Leaving directory `/home/sthoenna/dl/tmp/Tk-804.025_beta15/Xlib'
make: *** [subdirs] Error 2


> What is lost by allowing perl to make libwin32 calls, in
> this case, is not violating the principle of "least surprise".

Again, the perl-libwin32 package containing the Win32 calls
first became available via setup *after* the most recent perl
package.  I expect perl will automatically load the Win32::
stuff (at least to the extent the native win32 port does) with
the next release or two.

In the meantime, you will either need to patch perl to do this
yourself or set PERL5OPT=-MWin32CORE, as I believe was previously
mentioned.

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

- Raw text -


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