With BOTH the Activestate perl and the latest main perl distribution
perl5_00402-bindist04-bc.zip (which is a binary distribution using Borland)
I cannot install Fabrice's l2h 97.1 because of the following error:

>- - - - - - - - - - 
/local/latex2html/user $/local/perl/bin/perl install-test

This is install-test for LaTeX2HTML V97.1
=========================================

Your LaTeX2HTML release needs a directory for installation.
This is defined in LATEX2HTMLDIR in latex2html.config, and will be used to
find
perl modules, LaTeX styles, programs, etc.
Before we set this, make sure that everything of LaTeX2HTML is there and
you
are in that directory.
The latex2html script itself must not reside here, you can place it
elsewhere
after install-test succeeded.
Continue?
y
Undefined subroutine &main::getcwd called at install-test line 56, <STDIN>
chunk
 1.
>- - - - - - - - - - 


HOWEVER,
attempting to install l2h 98.1 sort-of worked (with perl5_00402-bindist04).
(All this is with MikeTex 1.09 for Win32 installed).

>- - - - - - - - - - 
/local/latex2html $/local/perl/bin/perl install-test

This is install-test for LaTeX2HTML V98.1
=========================================

$LATEX2HTMLDIR of latex2html.config is not set up, we can do this now.
$LATEX2HTMLDIR will be used to host the release of LaTeX2HTML you unpacked
and is defined at the top of latex2html.config.
Before we continue, make sure that everything of LaTeX2HTML is there and
that
you are *in* that directory.

Note: the latex2html script itself need not reside here, you can place it
elsewhere (e.g. in /usr/local/bin ) after install-test completes
successfully.

What is the LaTeX2HTML directory?
 [/local/latex2html]:
$LATEX2HTMLDIR will be "/local/latex2html"
1 ...changing LaTeX2HTML directory in latex2html.config was successful.

Main script installation was... 0 1 ...successful.
Testing availability of external programs...
Perl version 5.004 is OK.
Making /local/latex2html/texexpand executable...
Error: Could not make /local/latex2html/texexpand executable.

*** ERROR: Will not be able to run latex2html: Cannot find texexpand.
Checking for availability of DBM or NDBM (Unix DataBase Management)...
DBM was found.
Checking if globbing works... globbing is ok.
Warning:  I was not able to find DVIPS.
Please make sure that your version of DVIPS
supports the command line options -S, -i and -o.
Version 5.516 or higher is OK.
I was unable to verify your version.
pstoimg was found.
Setting up pstoimg script...0 1 ...succeeded
Setting up configure-pstoimg script...1 ...succeeded
Looking for latex...
type: not found
Warning: latex was * NOT * found.
Warning: May not be able to convert equations, figures, tables
and unknown environments to inlined images.
Styles directory was found.

Main set-up done.
/local/latex2html $
>- - - - - - - - - - 

The problems are that the script does not recognise that my executables
have a ".exe" suffix and texexpand is actually failing in override.pm which
has *no* option for Win32 at all.

So I edited line 33 of override.pm to say:

sub getpwuid {
  if ($OS =~ MSWin32) {

instead of

sub getpwuid {
  if ($OS =~ os2) { 


but when I actually tried to run latex2html it still failed in this
function:

>- - - - - - - - - - 
/local/latex2html $/local/perl/bin/perl latex2html feat-id3.tex
The getpwuid function is unimplemented at latex2html line 171.
>- - - - - - - - - - 

Anybody got any ideas what to do next ? (Apart from reverting to Fabrice's
anonymous perl and his edited l2h 97.1). 

I really think it ought to be possible to run l2h 98.1 on the new native
Win32 perl5.004_02, (especially in combination with Cygwin b19). I'm sure
there are just a few tweaks in the l2h installation that will sort it out,
but what ?



--Philip Sargent
Visiting Scientist. #135 26a. TP 262, JRC, 21020 Ispra (VA), Italia
Opinions expressed are my own and certainly not those of the JRC.

Reply via email to