This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos 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]

[Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001502

--- Comment #15 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-10 09:00:38 GMT ---
(In reply to comment #13)
> (In reply to comment #12)
> > (In reply to comment #9)
> > > I've tried several times over the years to get the right tools
> > > installed and set up to build the docs, but I've never been
> > > successful, I installed openjade this morning and then did some
> > > googling with the doc build errors I saw, but didn't get very far.
> > 
> > I wrote a memo for myself (but this is a debian-centric way). Copy
> > that memo here.
> > 
> > The eCos documentation writes itself in SGML format. To generate
> > documentation in HTML form you need to have the James Clark's DSSL
> > Engine (jade) and modular DocBook DSSSL stylesheets for print and
> > HTML.  So, on Debian/Ubuntu, you have to install
> > 
> >   % sudo apt-get install jade docbook docbook-dsssl
> 
> Ah!  The dsssl part was one thing I was missing.  FWIW on Gentoo, the
> packages you need are:
> 
>   openjade
>   docbook-sgml
>   docbook-dsssl-stylesheets
> 
> The "jade" package on Gentoo is a "FIPA-compliant Java Agent
> Development Environment" (whatever that is).

Good to know, but, IMHO, they have chosen bad name for that

 % aptitude search jade | grep ^i
  i   jade                            - James Clark's DSSSL Engine
  i A jadetex                         - generator of printable output from SGML
or
  i A openjade                        - Implementation of the DSSSLlanguage

> > Create new directory, e.g. /tmp/build, go there and type
> > 
> >   % $ECOS_REPOSITORY/../doc/sgml/makemakefile
> >   % make html
> 
> That works -- though I find HTML documents that are chopped up into
> hundreds and hundreds of tiny pieces to be rather useless.  You can't
> skim throgh the document and it's not possible to search for
> something.  It's good enough for verifying changes to the SGML though,
> so that's something.
> 
> I don't suppose there's any way to build the document as a single
> page?

It is possible, I found how to do that

  http://www.dpawson.co.uk/docbook/dsssl/dssslhtml.html

When I fixed $(MAIN_HTML) rule in pkgconf/rules.doc (added -V nochunks,
and appended >$@), I got not chunked single html file.  So, it is easy
to add there (in eCos rules.doc) new rule, e.g. `onehtml' to get such an
output. Though, there are some graphic files out the HTML. I really do
prefer chunked output.

> > To generate eCos documents in PDF form you need pdfjadeTex package, it
> > is a version of TeX that can create PDF files as well as DVI files.
> > Install jatetex package
> > 
> >   % sudo apt-get install jadetex
> > 
> > and make PDF file
> > 
> >   % make pdfa4
> 
> I've got jadetex installed, but doing "make pdfa4" or "make pdfletter"
> doesn't produce a pdf file, just a .tex file.
> 
>   $ make pdfa4
>   cp ../ecos-working/doc/sgml/../../packages/devs/eth/synth/ecosynth/current/doc/overview.png  [....]
>   jade -o ecos-ref-a4.tex -t tex -V tex-backend  -d ../ecos-working/doc/sgml/../../pa [...]
>   jade:ecos-ref.sgml:56:9:Q: length of name must not exceed NAMELEN (44)
>   jade:ecos-ref.sgml:217:1:Q: length of name must not exceed NAMELEN (44)
>   make: *** [ecos-ref-a4.pdf] Error 1
> 
>   $ ls -l *.tex
>   -rw-r--r-- 1 grante users 8043272 Mar  9 16:37 ecos-ref-a4.tex
> 
> Running "pdfjadetex ecos-ref-a4.tex" fails due to TeX capacity being
> exceeded:
> 
>   ! TeX capacity exceeded, sorry [number of strings=37193].
> 
> I tried increasing the max_strings for pdfjadetex by a factor of 6 to
> 500000, but it didn't make any difference.

Old story. I call that in past I fixed `texmf.cnf' on Slackware, then I
did it on old Ubuntu distros, but, at the end (I hope) the pdfjatetex
limits became adequate the modern computers. I looked on that, I have

  %%
  %% jacking up TeX settings for the unique uses of jadetex
  %%
  extra_mem_bot.jadetex = 85000
  extra_mem_bot.pdfjadetex = 85000

[FYI] On my distro `texmf.cnf' is an auto-generated file now and the
settings itself are placed under `/etc/texmf/textmf.d' directory.

> Running jadetex instead of pdfjadetex exits with the same error, but
> it does produce a .dvi file.  But, running dvipdf on that dvi file
> fails because
> 
>   GPL Ghostscript 9.04: ERROR: A pdfmark destination page 311 points
>   beyond the last page 310.
> 
> I'm now officially giving up on building eCos docs for I think the
> fifth time...

:-( I'm sorry. May be try it in the 16th? :-)

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


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