public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
@ 2012-03-02  6:40 ` bugzilla-daemon
  2012-03-03  4:39 ` bugzilla-daemon
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-02  6:40 UTC (permalink / raw)
  To: ecos-patches

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

Sergei Gavrikov <sergei.gavrikov@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ecos-patches@ecos.sourcewar
                   |                            |e.org,
                   |                            |sergei.gavrikov@gmail.com
          Component|TCP/IP                      |Patches and contributions

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
  2012-03-02  6:40 ` [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime bugzilla-daemon
@ 2012-03-03  4:39 ` bugzilla-daemon
  2012-03-06 17:18 ` bugzilla-daemon
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-03  4:39 UTC (permalink / raw)
  To: ecos-patches

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

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jifl@ecoscentric.com

--- Comment #3 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-03 04:39:39 GMT ---
I have no problem with the principle of this. However I definitely think it
will need documenting in freebsd.sgml (or maybe tcpip.sgml if you think it fits
better there) because this trick won't be obvious!

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
  2012-03-02  6:40 ` [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime bugzilla-daemon
  2012-03-03  4:39 ` bugzilla-daemon
@ 2012-03-06 17:18 ` bugzilla-daemon
  2012-03-09  3:41 ` bugzilla-daemon
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-06 17:18 UTC (permalink / raw)
  To: ecos-patches

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

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |NEXTRELEASE

--- Comment #4 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-06 17:17:41 GMT ---
Commited change:

/cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/ChangeLog,v  <--  ChangeLog
new revision: 1.75; previous revision: 1.74

/cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/include/sys/param.h,v  <-- 
param.h
new revision: 1.13; previous revision: 1.12

/cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/src/sys/netinet6/ip6_input.c,v 
<--  ip6_input.c
new revision: 1.3; previous revision: 1.2


Still need to add to network docs the sample code showing how to disable IPv6
support at runtime if desired.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (2 preceding siblings ...)
  2012-03-06 17:18 ` bugzilla-daemon
@ 2012-03-09  3:41 ` bugzilla-daemon
  2012-03-09 20:36 ` bugzilla-daemon
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09  3:41 UTC (permalink / raw)
  To: ecos-patches

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

Jonathan Larmour <jifl@ecoscentric.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|NEXTRELEASE                 |
         AssignedTo|unassigned@bugs.ecos.source |grant.b.edwards@gmail.com
                   |ware.org                    |

--- Comment #5 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-09 03:41:34 GMT ---
I suggest keeping this bug open till the doc is done, as a reminder. Either
that or open a new bug. It can stay as low priority though.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (3 preceding siblings ...)
  2012-03-09  3:41 ` bugzilla-daemon
@ 2012-03-09 20:36 ` bugzilla-daemon
  2012-03-09 20:39 ` bugzilla-daemon
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 20:36 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #6 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 20:35:44 GMT ---
Created an attachment (id=1636)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1636)
Add a section to the documentation showing how to disable ipv6 at runtime.

Patch for freebsd doc sgml that shows how to disable ipv6 support at
runtime.

I can't build the docs, so this patch hasn't been tested.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (4 preceding siblings ...)
  2012-03-09 20:36 ` bugzilla-daemon
@ 2012-03-09 20:39 ` bugzilla-daemon
  2012-03-09 21:24 ` bugzilla-daemon
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 20:39 UTC (permalink / raw)
  To: ecos-patches

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

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Attachment #1636|0                           |1
        is obsolete|                            |

--- Comment #7 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 20:38:58 GMT ---
Created an attachment (id=1637)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1637)
Add a section to the documentation showing how to disable ipv6 at runtime.

Fixed bad parallel structure in one sentence.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (5 preceding siblings ...)
  2012-03-09 20:39 ` bugzilla-daemon
@ 2012-03-09 21:24 ` bugzilla-daemon
  2012-03-09 21:39 ` bugzilla-daemon
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 21:24 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #8 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-09 21:24:03 GMT ---
(In reply to comment #6)
> Add a section to the documentation showing how to disable ipv6 at
> runtime.
> 
> Patch for freebsd doc sgml that shows how to disable ipv6 support at
> runtime.
> 
> I can't build the docs, so this patch hasn't been tested.

Thank you for new chapter! It builds okay. I would only use eCos coding
style in PROGRAMLISTING and avoid CamelCase naming. If you want I can
re-indent that snippet, test its build and send the diff here.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (6 preceding siblings ...)
  2012-03-09 21:24 ` bugzilla-daemon
@ 2012-03-09 21:39 ` bugzilla-daemon
  2012-03-09 21:51 ` bugzilla-daemon
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 21:39 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #9 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 21:39:21 GMT ---
Ah, I forgot about the indentation and naming.  That code came out of
our application source, so it uses our application coding style
instead of the standard eCos style.

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.

So, if you want to tweak the code sample and then check the build, that
would be great.  You can commit the change if you want, or if you want
to post a revised patch, I can do the commit.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (7 preceding siblings ...)
  2012-03-09 21:39 ` bugzilla-daemon
@ 2012-03-09 21:51 ` bugzilla-daemon
  2012-03-09 22:00 ` bugzilla-daemon
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 21:51 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #10 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-09 21:50:56 GMT ---
Created an attachment (id=1639)
 --> (http://bugs.ecos.sourceware.org/attachment.cgi?id=1639)
freebsd.sgml: Disabling IPv6 Support at Runtime

Build - OK. If it looks good for you, please, commit with ChangeLog entry.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (8 preceding siblings ...)
  2012-03-09 21:51 ` bugzilla-daemon
@ 2012-03-09 22:00 ` bugzilla-daemon
  2012-03-09 22:01 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 22:00 UTC (permalink / raw)
  To: ecos-patches

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

Grant Edwards <grant.b.edwards@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |NEXTRELEASE

--- Comment #11 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 22:00:20 GMT ---
Committed changes:

/cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/ChangeLog,v  <--  ChangeLog
new revision: 1.79; previous revision: 1.78

/cvs/ecos/ecos-opt/net/net/bsd_tcpip/current/doc/freebsd.sgml,v  <-- 
freebsd.sgml
new revision: 1.7; previous revision: 1.6

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (9 preceding siblings ...)
  2012-03-09 22:00 ` bugzilla-daemon
@ 2012-03-09 22:01 ` bugzilla-daemon
  2012-03-09 23:00 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 22:01 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #12 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-03-09 22:00:52 GMT ---
(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

Create new directory, e.g. /tmp/build, go there and type

  % $ECOS_REPOSITORY/../doc/sgml/makemakefile
  % make html

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

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (10 preceding siblings ...)
  2012-03-09 22:01 ` bugzilla-daemon
@ 2012-03-09 23:00 ` bugzilla-daemon
  2012-03-10  0:28 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-09 23:00 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #13 from Grant Edwards <grant.b.edwards@gmail.com> 2012-03-09 23:00:05 GMT ---
(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).

> 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?

> 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.

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...

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (11 preceding siblings ...)
  2012-03-09 23:00 ` bugzilla-daemon
@ 2012-03-10  0:28 ` bugzilla-daemon
  2012-03-10  9:01 ` bugzilla-daemon
  2012-03-10 10:41 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-10  0:28 UTC (permalink / raw)
  To: ecos-patches

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

--- Comment #14 from Jonathan Larmour <jifl@ecoscentric.com> 2012-03-10 00:28:14 GMT ---
Thanks for all the work Grant, and also to Sergei.

Is it too late to mention that at one point you use "staic" instead of "stack"?
:-) I've fixed this - too small to even need a ChangeLog.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (12 preceding siblings ...)
  2012-03-10  0:28 ` bugzilla-daemon
@ 2012-03-10  9:01 ` bugzilla-daemon
  2012-03-10 10:41 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-10  9:01 UTC (permalink / raw)
  To: ecos-patches

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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

* [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime.
       [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
                   ` (13 preceding siblings ...)
  2012-03-10  9:01 ` bugzilla-daemon
@ 2012-03-10 10:41 ` bugzilla-daemon
  14 siblings, 0 replies; 15+ messages in thread
From: bugzilla-daemon @ 2012-03-10 10:41 UTC (permalink / raw)
  To: ecos-patches

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

Ilija Kocho <ilijak@siva.com.mk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ilijak@siva.com.mk

--- Comment #16 from Ilija Kocho <ilijak@siva.com.mk> 2012-03-10 10:41:16 GMT ---
(In reply to comment #15)
> (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
> 

FYI openjade, can produce PDF bookmarks (a document index that appears in PDF
reader side-pane). A nice feature that jade lacks.

-- 
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.

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-10 10:41 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-1001502-104@http.bugs.ecos.sourceware.org/>
2012-03-02  6:40 ` [Bug 1001502] Make ip6_init2() visible globally to allow method of disabling ipv6 support at runtime bugzilla-daemon
2012-03-03  4:39 ` bugzilla-daemon
2012-03-06 17:18 ` bugzilla-daemon
2012-03-09  3:41 ` bugzilla-daemon
2012-03-09 20:36 ` bugzilla-daemon
2012-03-09 20:39 ` bugzilla-daemon
2012-03-09 21:24 ` bugzilla-daemon
2012-03-09 21:39 ` bugzilla-daemon
2012-03-09 21:51 ` bugzilla-daemon
2012-03-09 22:00 ` bugzilla-daemon
2012-03-09 22:01 ` bugzilla-daemon
2012-03-09 23:00 ` bugzilla-daemon
2012-03-10  0:28 ` bugzilla-daemon
2012-03-10  9:01 ` bugzilla-daemon
2012-03-10 10:41 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).