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]

I try build cygwin-doc-1.7-1 without success.


Motivation to do this is to fix issue with incorrect info header for 'libc.info'
and 'libm.info'.

Instead:

  START-INFO-DIR-ENTRY
  * libm::                   An ANSI-C conforming mathematical library.
  END-INFO-DIR-ENTRY

'libm.info' should contain:

  INFO-DIR-SECTION Cygwin
  START-INFO-DIR-ENTRY
  * libm: (libm).            An ANSI-C conforming mathematical library.
  END-INFO-DIR-ENTRY

With first variant 'info libm' show man page instead info page.

Also Emacs from Cygwin show error:

  byte-code: No such node or anchor: libm

With second variant all utils work fine.

I get sources (cygwin-doc-1.7-1-src.tar.bz2) from mirror:

  $ tar jxf cygwin-doc-1.7-1-src.tar.bz2
  $ cd cygwin-doc-1.7-1
  $ mkdir _build _dist
  $ cd _build
  $ ../configure

Get error in 'configure' on line:

  soc=$(find  /usr/share/sgml/[Oo]pen[Ss]p* -name xml.soc)

as my Cygwin installation have /usr/share/sgml/OpenSP path (last chat is
capital).

I fix 'configure' to:

  soc=$(find  /usr/share/sgml/[Oo]pen[Ss][Pp]* -name xml.soc)

and get 'Makefile'. 'Makefile' build failed with a lot of errors and warnings:

  $ make cygwin2info
creating cygwin texi files
for f in src/*/*.sgml; do \
	    docbook2texi -o src/texi -e no-idref -e no-significant -e no-valid -c /usr/share/sgml/OpenSP/xml.soc -d src/cygwin.dsl $f; \
	done
Using catalogs: /etc/sgml/sgml-docbook-4.5.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/cygwin-api.sgml
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd:116:17:E: "X20AC" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:42:29:E: "X021B6" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:43:29:E: "X021B7" is not a function name
....
nsgmls:I: maximum number of errors (200) reached; change with -E option
Done.
Using catalogs: /etc/sgml/sgml-docbook-4.5.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/cygwin-ug-net.sgml
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd:116:17:E: "X20AC" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:42:29:E: "X021B6" is not a function name
nsgmls:<URL>http://www.oasis-open.org/docbook/xml/4.5/ent/isoamsa.ent:43:29:E: "X021B7" is not a function name
.....
nsgmls:I: maximum number of errors (200) reached; change with -E option
Done.
Using catalogs: /etc/sgml/sgml-docbook-3.0.cat, /usr/share/sgml/OpenSP/xml.soc
Using stylesheet: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/cygwin.dsl
Working on: /home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml:2:0:E: prolog can't be omitted unless CONCUR NO and LINK EXPLICIT NO and either IMPLYDEF ELEMENT YES or IMPLYDEF DOCTYPE YES
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/api/dll_init.sgml:2:0:E: no document type declaration; will parse without validation
........
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:564:9: entity was defined here
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:564:28:E:
reference to entity "gt" for which no system identifier could be generated
.......
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:1810:12:E: reference to entity "amp" for which no system identifier could be generated
nsgmls:/home/user/devel/cygwin/cygwin-doc-1.7-1/_build/src/utils/utils.sgml:590:57: entity was defined here
make: *** [cygwin2info] Error 8

What do I wrong?

I am build on Cygwin 1.7, is this correct or I must do this on Linux?

Where VCS for this package?

-- 
Best regards!


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


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