This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Anyone got latex2html to work on cygwin?? Fatal (use l2hconf):

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): 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, and I
> see this as first 3 lines:
> #!/perl
> # LaTeX2HTML
> # $Id:,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
> #!/usr/local/perl
> but it did not make any difference.

Nor should it.  The 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
> /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.

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

Try it first with the Cygwin version.  Fixing should help.
      |\      _,,,---,,_
ZZZzz /,`.-'`'    -.  ;-;;,_
     |,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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]