delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/12/16/05:11: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
Message-ID: <20041216101048.20227.qmail@web90103.mail.scd.yahoo.com>
Date: Thu, 16 Dec 2004 02:10:48 -0800 (PST)
From: bill BW <bill_bw_1000 AT yahoo DOT com>
Subject: Anyone got latex2html to work on cygwin?? Fatal (use l2hconf): l2hconf.pm
To: Cygwin List <cygwin AT cygwin DOT com>
In-Reply-To: <6.2.0.14.0.20041215231029.04fc6008@pop.prospeed.net>
MIME-Version: 1.0
X-IsSubscribed: yes

For the last 6 hrs I have been fighting with
latex2html and cygwin to get latex2html to
work, but I give up.

Has anyone got latex2html to work on cygwin?

This is what I have
1. Latex cygwin FULL installation. 

$ uname -a
CYGWIN_NT-5.1 me 1.5.12(0.116/4/2) 2004-11-10 08:34
i686 unknown unknown Cygwin

cygwins install just fine, all working well.

2. Get the netpbm programs, installed no problem

3. downloaded latex2html: latex2html-2002-2-1.tar
latest version of late2html. untar, 

In the latex2html directory there is a file called 
L2hos.pm , Edit this file by replacing $^O with 'unix'


4. added everything to path, and for latex2html did

./configure, make, make install 

all went with NO errors !!

5. But now everytime I try the late2html command
on a .tex file, I get the error

$ latex2html foo.tex
Fatal (use l2hconf): l2hconf.pm did not return a true 
value at (eval 7) line 2.
BEGIN failed--compilation aborted at (eval 7) line 2.

I look at the file l2hconf.pm, and I 
see this as first 3 lines:

#!/perl
# LaTeX2HTML l2hconf.pm
# $Id: l2hconf.pin,v 1.17 2002/06/15 22:46:36 RRM Exp
$

Ok, so line 2 is commented out. so what is
wrong?

I changed the first line to 
#!/usr/local/perl

but it did not make any difference.

more information:

$ which perl
/usr/bin/perl

$ perl --version

This is perl, v5.8.5 built for
cygwin-thread-multi-64int

Why does it say '64int' there? my machine is
32 bit P4.

I read on the net that latex2html might not
work when using cygwin supplied perl, and I need
to install windows perl, such as active Perl,
and have that perl stub in cygwin tools, that 
calls windows perl.exe instead. may be I should try 
that?

I'll supply more information if needed.

thanks,
Bill









		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - 250MB free storage. Do more. Manage less. 
http://info.mail.yahoo.com/mail_250

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