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): l2hconf.pm


On Thu, Dec 16, 2004 at 11:30:11PM -0800, bill BW wrote:
> 
> I just tried the following:
> 
> - Uninstall perl from cygwin using cygwin setup.exe
> - installed Active Perl 5.8 on window.
> - use the cygutils perl.exe stub as described on
> http://cygutils.fruitbat.org/perl-contrib/index.html
> - Now when I try latex2html, I get other errors,
>   and when I try to build latex2html, I got zillions
>   of errors. 
> - So, I removed Active Perl, and the perl.exe stub,
>   it is just not working, and reinstalled 
>   cygwin perl again from setup.exe. And back to 
>   debugging this perl to see what I can find.
> 
> If I know at least anyone out there got latex2html
> working on cygwin, this will give me hope. 

I got it working doing the following:

Installed Pierre's netpbm from
ftp://ftp.uni-erlangen.de/pub/pc/gnuwin32/cygwin/porters/Humblet_Pierre_A/V1.1/netpbm-10.15-cygwin-1.3-bin.tar.gz
following the instructions in the associated readme file in the same
directory.

Downloaded and tar xvfz'd latex2html from
http://saftsack.fs.uni-bayreuth.de/~latex2ht/current/latex2html-2002-2-1.tar.gz

Applied this patch:
--- L2hos.pm.orig       2002-11-29 03:48:59.000000000 -0800
+++ L2hos.pm    2004-12-17 00:31:29.636116800 -0800
@@ -86,7 +86,7 @@
        } elsif ($OS eq 'MacOS') {
                require L2hos::Mac;
                'L2hos::Mac'
-       } elsif ($OS eq 'darwin') {
+       } elsif ($OS eq 'darwin' || $OS eq 'cygwin') {
                require L2hos::Unix;
                'L2hos::Unix'
        } elsif ($OS eq 'MSWin32') {

so it wouldn't think this was dos :(

./configure
make
make install


Then tried: latex2html /usr/share/texmf/tex/latex/base/small2e.tex

and it worked fine.

I can't help but think something is messed up in your perl
installation; did reinstalling help?  are you sure perl is finding
/usr/bin/perl and /usr/bin/perl is the cygwin 5.8.5 perl?

What did you do to fix the problem with configure not detecting cygwin?

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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