Wow! that was a fast response. I was just
composing a message to post to the mail-list.
I recompiled perl without threads and called it "perl_nt"
for "perl, no threads". I made a directory /usr/local/alt
directory for the installation to live an symbolic linked
it to /usr/bin/perl_nt and /usr/local/bin/perl_nt.
By using this perl throughout latex2html (changing the first line of the
relevant files) latex2html works fine. Of course
the down side is that now I have two sets of perl
distributions. Well, fortunately I have the disk
space.
I looked through the perl news groups and found that
perl 5.005_02 does not have any way of disabling threads
at runtime, although this is projected to be an option
with perl 5.006.
I will try to see what happens if you modify the
"NOFORKS" option when I get some time. I will
report if it helps. Meanwhile if you don't get
the chance to fix it, could you at least include
a warning in the documentation under "Troubleshooting"
or "Requirements". I am sure it will save someone
some grief. Anyhow thanks a million for the speedy
response and hats off to you for a great (my troubles
not withstanding) program.
yours,
michael
For the search engine--
Keywords: empty, missing, problem, threads, perl, incompatibility,
void, skeleton, skeletal, outline
On Sun, 31 Jan 1999, Ross Moore wrote:
> >
> >
> > When I run latex2html on a TeX document it produces
> > documents with nearly no content: just the links and
> > all are labeled "No Title." This even happens on
> > the example that comes with the distrubution.
> >
> ...
> >
> > I have now seen this problem posted several times. I searched both the
> > archives and what is available at www.dejanews.com. Almost always
> > there is no response. In the archive for this list I have seen a
> > couple of similar complaints that seem to be tied to Perl being
> > compiled with threads enabled. If this is the case isn't this a bug
> > with latex2html and should a bug report be sent?
>
> Yes, it has been mentioned a few times.
> As the main developer, I would like to look into it,
> but haven't done so yet for the following reasons:
>
> 1. It doesn't happen on my platform, and I don't have a Linux
> installation as an alternative test-bed.
>
> 2. Too busy, working on other things. (for 2 weeks more, :-)
>
> 3. v98.1p1 isn't the latest version of LaTeX2HTML,
> though I doubt that there are changes addressing this problem.
>
> Visit the developer's repository site,
> The manual gives a URL to the old location in Darmstadt,
> which should forward you to the new site in Bayreuth.
>
> >
> > 1) Is there an "official" answer to this FAQ:
> > "latex2html produces skeleton documents, what do I do?"
> >
> > 2) Is latex2html incompatible with Perl with threads enabled?
> >
> > 3) If "2)", is there a work around without recompiling perl, for
> > example are there any switches or way of turning off threads in perl
> > at runtime? If this problem is due to latex2html forking off processes
>
> Yes. Set the $NOFORKS variable ( or is it $NO_FORKS ?)
> This was included to cope with systems which *cannot* do forking.
> But there is no reason why it cannot be used to disable forking
> for other reasons.
>
> Please try this, and tell me if it helps at all.
>
> > that are running in parallel instead of sequentially (thus .. perhaps
> > ... looking at empty documents), is it possible to modify the script
> > so that it does not do this.
> >
> >
> Hope this helps.
>
> Ross Moore
>
>
>
>