This is the mail archive of the
mailing list for the Cygwin project.
Re: Anyone got latex2html to work on cygwin?? Fatal (use l2hconf): l2hconf.pm
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: bill BW <bill_bw_1000 at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Thu, 16 Dec 2004 12:51:51 -0500 (EST)
- Subject: Re: Anyone got latex2html to work on cygwin?? Fatal (use l2hconf): l2hconf.pm
- References: <email@example.com>
- Reply-to: cygwin at cygwin dot com
On Thu, 16 Dec 2004, bill BW wrote:
> 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?
> [snip install with no problems]
> 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:
> # LaTeX2HTML l2hconf.pm
> # $Id: l2hconf.pin,v 1.17 2002/06/15 22:46:36 RRM Exp $
You should look at the whole file, to see what the last returned value is.
The last line of the file is usually "1;".
> Ok, so line 2 is commented out. so what is wrong?
What's that got to do with anything? It's a comment.
> I changed the first line to
> but it did not make any difference.
Nor should it. The l2hconf.pm is not executed via the shell, but via the
"use()" function, which ignores the shebang line altogether. FWIW, I
think the invalid shebang is there exactly to prevent running that file
via the shell (unless your system has perl in the root directory).
> more information:
> $ which perl
> $ perl --version
> This is perl, v5.8.5 built for
> Why does it say '64int' there? my machine is
> 32 bit P4.
This means it supports 64-bit functions, that's all.
> 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
Try it first with the Cygwin version. Fixing l2hconf.pm should help.
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html