delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/17/04:41:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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: Fri, 17 Dec 2004 01:41:02 -0800
From: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
To: cygwin AT cygwin DOT com
Subject: Re: Anyone got latex2html to work on cygwin?? Fatal (use l2hconf): l2hconf.pm
Message-ID: <20041217094102.GA2892@efn.org>
References: <20041217064357 DOT 25248 DOT qmail AT web90109 DOT mail DOT scd DOT yahoo DOT com> <20041217073011 DOT 4239 DOT qmail AT web90101 DOT mail DOT scd DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20041217073011.4239.qmail@web90101.mail.scd.yahoo.com>
User-Agent: Mutt/1.4.1i
Organization: bs"d
X-IsSubscribed: yes

On Thu, Dec 16, 2004 at 11:30:11PM -0800, bill BW wrote:
> 
> I just tried the following:
> 
> - Uninstall perl from cygwin using cygwin setup.exe
> - installed Active Perl 5.8 on window.
> - use the cygutils perl.exe stub as described on
> http://cygutils.fruitbat.org/perl-contrib/index.html
> - Now when I try latex2html, I get other errors,
>   and when I try to build latex2html, I got zillions
>   of errors. 
> - So, I removed Active Perl, and the perl.exe stub,
>   it is just not working, and reinstalled 
>   cygwin perl again from setup.exe. And back to 
>   debugging this perl to see what I can find.
> 
> If I know at least anyone out there got latex2html
> working on cygwin, this will give me hope. 

I got it working doing the following:

Installed Pierre's netpbm from
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1/netpbm-10.15-cygwin-1.3-bin.tar.gz
following the instructions in the associated readme file in the same
directory.

Downloaded and tar xvfz'd latex2html from
http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2002-2-1.tar.gz

Applied this patch:
--- L2hos.pm.orig       2002-11-29 03:48:59.000000000 -0800
+++ L2hos.pm    2004-12-17 00:31:29.636116800 -0800
@@ -86,7 +86,7 @@
        } elsif ($OS eq 'MacOS') {
                require L2hos::Mac;
                'L2hos::Mac'
-       } elsif ($OS eq 'darwin') {
+       } elsif ($OS eq 'darwin' || $OS eq 'cygwin') {
                require L2hos::Unix;
                'L2hos::Unix'
        } elsif ($OS eq 'MSWin32') {

so it wouldn't think this was dos :(

./configure
make
make install


Then tried: latex2html /usr/share/texmf/tex/latex/base/small2e.tex

and it worked fine.

I can't help but think something is messed up in your perl
installation; did reinstalling help?  are you sure perl is finding
/usr/bin/perl and /usr/bin/perl is the cygwin 5.8.5 perl?

What did you do to fix the problem with configure not detecting cygwin?

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