I managed to solve the issue. I just applied the attached patch to config/config.pl in: http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2002-2-1.tar.gz

However, when trying to compile a tex file, I get the attached error.

Something that I noticed is that every thing goes fine if I try to compile a tex file that has been already compiled successfully (i.e., whose working directory (with the corresponding images) is already present). I mean if I switch to Linux, compile the file there, and come back to windows and try again under cygwin, everything goes fine.

My guess is that the problem has to do with the fact that it is placing the images in this directory: Note: Images will be generated in /cygdrive/c/DOCUME~1/lquesada/LOCALS~1/Temp/l2h3608

I have read that there are some issues with long names...

Cheers,
Luis

Luis Quesada wrote:
Shigeharu TAKENO wrote:
shige 10/27 2009
----------------

Luis Quesada wrote:
I am trying to install latex2html under cygwin.
I am getting the following error:

$ ./configure
loading cache ./config.cache
checking for perl... /usr/bin/perl
checking whether #! works in shell scripts... yes
launching proprietary configuration...
Name "L2hos::Dos::SE" used only once: possible typo at L2hos/Dos.pm line 287.

I don't know well (I am not a cygwin user), the following pages may help you:

 http://sardes.inrialpes.fr/~jphilipp/doc/latex2html-cygwin/l2h.html
 http://cygwin.com/ml/cygwin/2004-12/msg00558.html

I tried the two recommended procedures but I still have the same problem:

$ ./configure
creating cache ./config.cache
checking for perl... /usr/bin/perl
checking whether #! works in shell scripts... yes
launching proprietary configuration...

config.pl, Release 2002-2-1 (Revision 1.49)
Accompanies LaTeX2HTML, (C) 1999 GNU Public License.

checking for old config file (cfgcache.pm)... not found (ok)
checking for platform... cygwin (assuming unix)
checking for /usr/bin/perl.exe... /usr/bin/perl.exe
checking perl version... 5.010000
checking if perl supports some dbm... no
Error: Perl reported DBM error: dbmopen failed
LaTeX2HTML needs some DBM.
[1]+  Done                    emacs L2hos.pm

In fact this problem has been reported before but I have not been able to find any reply:
   http://www.tug.org/pipermail/latex2html/2001-September/001376.html


--- config.pl   2002-11-29 11:49:01.000000000 +0000
+++ new_config.pl       2009-10-27 20:20:39.140625000 +0000
@@ -635,6 +635,7 @@ $abs_path_names = &get_name('ABSPATHS');
 
 &checking('if perl supports some dbm');
 
+use GDBM_File;
 my %array;
 unless(eval {dbmopen(%array,'DBMtest',0755)}) {
   my $err = $@ || 'dbmopen failed';

$* is no longer supported at /usr/local/bin/latex2html line 10591.
This is LaTeX2HTML Version 2002-2-1 (1.71)
by Nikos Drakos, Computer Based Learning Unit, University of Leeds.

Revised and extended by:
 Marcus Hennecke, Ross Moore, Herb Swan and others
...producing markup for HTML version 3.2  



Extension: loading /usr/local/share/lib/latex2html/versions/latin1.pl
HTML version: loading /usr/local/share/lib/latex2html/versions/html3_2.pl

 *** processing declarations ***

OPENING /home/lquesada/CV/cv.tex 

Cannot create directory cv/: File exists, reusing it.

Note: Working directory is /home/lquesada/CV/cv
Note: Images will be generated in 
/cygdrive/c/DOCUME~1/lquesada/LOCALS~1/Temp/l2h3608

texexpand V2002-2-1 (Revision 1.12)



Loading /usr/local/share/lib/latex2html/styles/texdefs.perl...
Package: loading /usr/local/share/lib/latex2html/styles/article.perl
Package: loading /usr/local/share/lib/latex2html/styles/html.perl
Package: loading /usr/local/share/lib/latex2html/styles/epsfig.perl
Package: loading /usr/local/share/lib/latex2html/styles/amsmath.perl
Package: loading /usr/local/share/lib/latex2html/styles/more_amsmath.perl
Reading ...
%%%%%%,++
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

Translating ...
0/11:top of cv: for cv.html

 *** translating preamble ***
......
 *** preamble done ***
;..,,,..........;...

1/11:sectionstar:."Educational Background" for node1.html
;,...;.....

2/11:sectionstar:."Other Courses" for node2.html
;.;

3/11:sectionstar:."Teaching Experiences" for node3.html
;.;

4/11:subsectionstar:."Teaching Assistant at UCL" for node4.html
;,....;.

5/11:subsectionstar:."Lecturer at the Pontificia Universidad Javeriana Cali" 
for node5.html
;,.....;

6/11:subsectionstar:."Teaching Assistant at the Pontificia Universidad 
Javeriana Cali" for node6.html
;,...;

7/11:sectionstar:."Research Experience" for node7.html
;....,,,,,.,....;............

8/11:sectionstar:."Other Work Experiences" for node8.html
;,.;...

9/11:bibliography:..
Reading bbl file: /home/lquesada/CV/cv.bbl ...
Processing macros ...++
@@@@@@@@@@@@@@@@@@@@,...........................................................................................
"Bibliography" for node9.html
;.;

10/11:sectionstar:.."Awards \& Recognitions" for node10.html
;....;.

11/11:sectionstar:.."About this document ..." for node11.html
;;.

Writing image file ...

Fatal (syswait): exec "/cygdrive/c/Program Files/MiKTeX 2.6/miktex/bin/latex 
./images.tex" failed: No such file or directory
 at /usr/local/bin/latex2html line 3785

Cannot read logfile './images.log': No such file or directory

_______________________________________________
latex2html mailing list
[email protected]
http://tug.org/mailman/listinfo/latex2html

Reply via email to