Just downloaded latex2html-2002-2-1.tar.gz, and when I
tried installing into a temporary installation directory, I
noticed that 'make install DESTDIR=...' tries to mkdir TEXPATH
(/usr/share/texmf/tex/latex/html/ on my system). I'm not root
when I do 'make install DESTDIR=...', so of course it fails.
I used this patch to fix it:
--- config/install.pl~ 2004-03-10 22:11:32.000000000 +0100
+++ config/install.pl 2004-03-10 22:17:27.000000000 +0100
@@ -372,7 +372,7 @@
if($cfg{TEXPATH}) {
print "\nNote: trying to install LaTeX2HTML style files in TeX directory tree\n
($cfg{TEXPATH})\n";
- unless(mkpath($cfg{TEXPATH})) {
+ unless(mkpath(($ENV{DESTDIR} || '').$cfg{TEXPATH})) {
#my $testpath = $cfg{TEXPATH}; # to strip (latex2)html
#$testpath =~ s/[$dd$dd][^$dd$dd]*$//;
#if((-d $cfg{TEXPATH} && !-w _) || (-d $testpath && !-w _)) {
--
Haakon
_______________________________________________
latex2html mailing list
[EMAIL PROTECTED]
http://tug.org/mailman/listinfo/latex2html