[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

docBook2pdf på RH8.0



   Docbook2pdf. på RedHat Linux release 8.0 (Psyche)
   -------------------------------------------------

   Jeg har haft problemer med 
rpmbuild --recompile docbook-utils-0.6.11-2.src.rpm

   rpmbuild klager over en dependency tror jeg. Det er vanskeligt
at læse fejlmeddelelserne. Den stopper efter "executed %doc" og 
efterlader filer i /var/tmp og /usr/src/redhat/SOURCES og BUILD:

error: Installed (but unpackaged) file(s) found:
    /var/tmp/docbook-utils-0.6.11/usr/share/doc/html/docbook-utils-0.6.11/api.html
    ... ...
Der er mange mange flere filer listet.

   Derefter klager den en gang til (formentlig en slags summary-klage:)
RPM build errors:
    Installed (but unpackaged) file(s) found:
   /var/tmp/docbook-utils-0.6.11/usr/share/doc/html/docbook-utils-0.6.11/api.html
   ... etc.etc.etc.

og derefter afslutter den.


   For at kunne generere .pdf filer fra bog.sgml skal man
på RedHat 8.0 have installeret 

     openjade, 
     jadetex, 
     docbook-utils
     docbook-pdf
     ghostscript*
     ImageMagick* tror jeg nok (bruger ghostscript som driver,
                  konverterer billeder til pdf-filen.)

I stedet for at installere docbook fra RPM-er kan man installere 
fra source-rpm'er, så får man ligesom mere for pengene.

   Det var det, jeg forsøgte med version 0.6.11, der hører til RH8.0(psyche)
men den ville rpm altså ikke acceptere/installere.

   Det gik bedre med src.rpm til beta 8.0.94. hentet fra rhn.redhat.com
Bruger man SRPMs skal man være klar over, at docbook-utils-0.6.12-5.src.rpm
danner både 

     docbook-utils-0.6.12-5.noarch.rpm og
     docbook-utils-pdf-0.6.12-5.noarch.rpm.

   Allerførst skal man installere jadetex, fx.

     rpmbuild --rebuild jadetex-3.12-9.src.rpm
     cd /usr/src/redhat/RPMS/noarch/
     rpm -ihv jadetex*rpm
 
   Så kan man installere docbook utils

     yxi:/ww3/mar07# rpmbuild --recompile docbook-utils-0.6.12-5.src.rpm
     cd /usr/src/redhat/RPMS/noarch
     rpm -Uhv docbook*rpm

     cd /usr/local/src/docbook
     tar -xkzf linuxbog-unix-1.5.sgml.tar.gz
     tar -xkzf linuxbog-unix-1.5.png.tar.gz
     cd unix
     cp /somewhere/cygnus-both.dsl ./
     ksh /hjem/bin/pdfmake

     ##coffee break;
     acro ./pdfmake/bogpre6.pdf


   MEN ALTSÅ stadig ingen billeder eller sidetal hvis man blot kører
docbook2pdf out of the box på bog.sgml. Heller ikke bare make. Den
kan/vil jeg ikke "disassemblere".

   Men hvis man bruger min tilpassede pdfmake og cygwin-both.dsl, så er
der vistnok en chance for, at vi kan få det hele til at fungere. I første
omgange har vi nu links og bookmarks, som fungerer, nu mangler vi bare
billederne ... spændingen stiger.

   Hilsen/Donald

   P.S. Feedback er meget velkomment!!! Bare lidt.

-- 
sslug@sslug -- Linux works for me.  http://129.142.192.25


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 18:51 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *