[cc65] Building sgml2html Command on Cygwin

From: Greg King <gngking1erols.com>
Date: 2004-10-16 20:38:26
From: Ullrich von Bassewitz; on Date: April 21, 2004, at 06:44 AM -0400
Subject: Re: [cc65] Next release?
>
> On Wed, Apr 21, 2004 at 05:19:19AM -0400, Keates, Mark wrote:
> >
> > Aside, does anyone know if/how sgml2html can be built under Cygwin?
>
> I'm pretty sure you don't want to hear this, but anyway:
> Using Linux, it builds without problems. :-)

I installed CygWin just so that I could do research on that question. :-)

sgml2html is a command in the "LinuxDoc Tools" package.  It isn't ported to
CygWin; so, you must build it from the sources.

Do these steps to build/install LinuxDoc Tools:

1. Use CygWin's Setup program to install:
  a) from the "Devel" category:
    flex;
  b) from the "Text" category:
    OpenSP and libxml2;
  c) from the "Utils" category:
    rpm-build.

2. Download two Source RPMs.
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/sgml-common-0.6.3-17.src.rpm
http://download.fedora.redhat.com/pub/fedora/linux/core/development/SRPMS/linuxdoc-tools-0.9.20-14.src.rpm

3. Start CygWin.  Go to the "/bin" directory.  Add a file-link from
"nsgmls" to "onsgmls.exe".

4. Make the "/etc/rpm" directory.  Put these lines into "/etc/rpm/macros":

%_sysconfdir /etc
%_localstatedir %{_var}
%_defaultdocdir %{_datadir}/doc

5. Use these commands:

rpmbuild --nodeps --rebuild <Path to>/sgml-common-0.6.3-17.src.rpm

rpm -U --nodeps /usr/src/rpm/RPMS/noarch/sgml-common-0.6.3-17.cygwin.noarch.rpm

rpmbuild --nodeps --rebuild <Path to>/linuxdoc-tools-0.9.20-14.src.rpm

rpm -U --nodeps /usr/src/rpm/RPMS/*/linuxdoc-tools-0.9.20-14.cygwin.*.rpm

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Oct 16 21:01:49 2004

This archive was generated by hypermail 2.1.8 : 2004-10-16 21:01:59 CEST