Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3AE9E374.78BA7A25@ece.gatech.edu> Date: Fri, 27 Apr 2001 17:24:04 -0400 From: "Charles S. Wilson" X-Mailer: Mozilla 4.75 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: "Victor M. Esquivel" CC: Neil Lunn , "'cygwin AT cygwin DOT com'" Subject: Re: Perl/Tk with patches no long compiles with CygWin v1.3.1 References: <12F176DD950ED411B68E0050DA14ED10338754 AT jupiter DOT gunzphoto DOT com DOT au> <3AE9C992 DOT FBAFD32F AT lucent DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit During the initial build of perl itself, perl copies some information (from the gcc specs file?) into its Config.pm. file. I *think* that once Eric Fifer rebuilds perl-5.6.1 using the current gcc, the new Config.pm file will have the right stuff in it. However, he's still working on fixing the annoying text mode problems that cropped up in the current cygwin-perl package; that thorny problem is delaying any new release of perl for cygwin(*). AFAIK. (*) no, it's not a simple "link with binmode/textmode/automode" issue. Perl probably has more sticky issues with IO than any shell, and look-- we're still discussing exactly how ash should deal with text-mode IO. --Chuck "Victor M. Esquivel" wrote: > > Hey Neil, > > Good news, your suggested change to the Perl Config.pm file to include the > new /usr/lib/w32api directory fixed the compile problem. That is, > compiling Perl/Tk with gcc 2.95.3-4, binutils 20010425-1, and your patch > does not work until the Perl Config.pm includes the /usr/lib/w32api > directory. > > To confirm this, I did a brand new CygWin v1.3.1 (latest files as of > 4/27/01) and repeated the process. Again, only after making the Config.pm > change, Perl/Tk compiled and ran with no problems. > > Thank you for your time and help, > > -victor > > Neil Lunn wrote: > > > > This is a known problem as the updated w32api has been moved out of /usr/lib > > and /usr/include and placed into respective w32api subdirectories. > > > > Chris has reposted updated releases of gcc and binutils to compensate. > > However there still appears to be some instances where this path doesn't get > > searched. So again as dual compensation I would suggest making an alteration > > to Config.pm in your perl installation and change the line: > > > > libpth='/usr/local/lib /usr/lib /lib' > > libpth='/usr/local/lib /usr/lib/w32api /usr/lib /lib' > > > > In the current perl distribution for cygwin, Config.pm is located at > > /usr/lib/perl5/5.6.1/cygwin. > > > > This should ensure that all perl generated makefiles are searching this > > directory by default. There is and should be no reason to submit any > > additional changes to the existing patch for the Tk800.022 distribution. > > > > Your gcc and binutils should be the following versions, which may or may not > > be available on all mirrors yet. > > > > gcc 2.95.3-4 > > binutils 20010425-1 > > > > See the Reference in the archives > > http://sources.redhat.com/ml/cygwin/2001-04/msg01600.html > > > > Neil > > > -- > /---------------------------\ /----------------------------------\ > | Victor M. Esquivel | NetworkCare Professional Services | > | Network Systems Consultant | 2377 Gold Meadow Way, Suit 230 | > | vesquivel AT lucent DOT com | Gold River, CA 95670 | > | (916) 859-5200 x338 | FAX (916) 859-5201 | > \---------------------------/ \----------------------------------/ > \ Disclaimer: Standard disclaimer applies. / > \------------------------------------------------------------/ > > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple