X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.4 required=5.0	tests=AWL,BAYES_00
X-Spam-Check-By: sourceware.org
Message-ID: <4C0DAD7C.2090007@12000.org>
Date: Mon, 07 Jun 2010 19:39:56 -0700
From: "Nasser M. Abbasi" <nma@12000.org>
Reply-To: nma@12000.org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: bug report: cygwin 1.7.5, perl *** fatal error TP_NUM_W_BUFS too smal
References: <20100604083653.GA6401@calimero.vinschen.de> <4C08CAE9.2000507@12000.org> <4C08D2B8.8090609@12000.org> <4C0C685A.1010803@x-ray.at> <4C0C83D5.3070705@12000.org> <AANLkTilfLX5QpbvWAg3zqOOthsRGgLF3N0ganwgzkEa9@mail.gmail.com> <4C0CB1AE.8030902@12000.org> <4C0D3F16.6090307@12000.org> <20100607194146.GA31697@ednor.casa.cgf.cx> <4C0D4FB7.7060307@12000.org> <20100607201507.GA5183@ednor.casa.cgf.cx> <4C0D57CD.1030908@12000.org> <4C0D60DE.4040101@cygwin.com> <4C0D9381.3080506@12000.org> <4C0DA501.8050402@cwilson.fastmail.fm>
In-Reply-To: <4C0DA501.8050402@cwilson.fastmail.fm>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 6/7/2010 7:03 PM, Charles Wilson wrote:
> On 6/7/2010 8:49 PM, Nasser M. Abbasi wrote:
>>
>> $ make test
>> ....
>>        0 [main] perl 5308 C:\cygwin\bin\perl.exe: *** fatal error -
>> Internal error: TP_NUM_W_BUFS too small.
>>
>> Error while converting image: No such file or directory
>>
>> Error: Cannot read 'img2.png': No such file or directory
>> Converting image #1
>>        0 [main] perl 4824 C:\cygwin\bin\perl.exe: *** fatal error -
>> Internal error: TP_NUM_W_BUFS too small.
>


> I wonder if the 'test' procedure for latex2hmtl sets the $PATH to your
> installed LaTeX implementation.
>
> Or worse, somehow sets a PERL5_INCPATH variable to point at the
> perl/lib/ directory under G:\LATEX\.  If THAT happened, then your
> cygwin-perl would be trying to use native-perl's libraries (including
> binary extensions)...
>
> Try, temporarily, moving G:/LATEX/perl out of the way.
>
> --
> Chuck
>

Ok, I did. I renamed my windows perl folder, but I still get the same error.

May be someone can try to install Latex2html on their cygwin as I did 
and try this? May be this has nothing to do with windows 64 bit or 
windows 7, so any windows version might show this problem as well?

Installation of l2h is easy on cygwin, just need to download l2h and 
untar and type  ./configure, make, make install, make test

Instructions how to install l2h on cygwin are on my page below:

http://12000.org/my_notes/l2hwin/index.htm

(need to edit one file, to make sure to tell l2h is under Unix)

Not many people use l2h under cygwin, may be I am the first to try to do 
this on cygwin 1.7?

==============================

$ ls /cygdrive/G/LATEX | grep -i perl
perl_NOT_USED_FOR_MINUTE

$ echo $PATH
/usr/bin:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem

$ which perl
/usr/bin/perl

$ perl -v

This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int
(with 12 registered patches, see perl -V for more detail)

$ make test
....
Converting image #2
       0 [main] perl 4396 C:\cygwin\bin\perl.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small.

Error while converting image: No such file or directory

Error: Cannot read 'img2.png': No such file or directory
Converting image #1
       0 [main] perl 712 C:\cygwin\bin\perl.exe: *** fatal error - 
Internal error: TP_NUM_W_BUFS too small.

======================

--Nasser

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

