Troubles building dia under RedHat 7.2 - can you advise me?



I am trying to build dia-0.90 under RedHat 7.2 and it is failing at the 
step where it creates the documentation.

Here is the excerpt which shows the failure:

make  install-data-hook
make[4]: Entering directory `/usr/src/redhat/BUILD/dia-0.90/doc/en'
cd . && /usr/bin/db2html -V '%use-id-as-filename%' dia-manual.sgml && touch stamp-doc
output is dia-manual
Usage: jw [<options>] <sgml_file>
where <options> are:
  -f|--frontend <frontend>:      Specify the frontend (source format)
                                 (default is docbook)
  -b|--backend <backend>:        Specify the backend (destination format)
                                 (default is html)
  -c|--cat <file>:               Specify an extra SGML open catalog
  -n|--nostd:                    Do not use the standard SGML open catalogs
  -d|--dsl <file>|default|none:  Specify an alternate style sheet
                                 (default is to use the default stylesheet)
  -l|--dcl <file>:               Specify an alternate SGML declaration
                                 (usual ones like xml.dcl get detected automatically)
  -s|--sgmlbase <path>:          Change base directory for SGML distribution
                                 (usually /usr/share/sgml)
  -p|--parser <program>:         Specify the parser if several are installed
                                 (jade or openjade) 
  -o|--output <directory>:       Set output directory
  -u|--nochunks:                 Output only one big file
                                 (overrides the stylesheet settings)
  -i|--include <section>:        Specify a SGML marked section to include
                                 (should be marked as "ignore" in the SGML text)
  -w|--warning <warning_type>|list: Control warnings or display the allowed warning types
  -e|--errors <error_type>|list: Control errors or display the allowed error types
  -h|--help:                     Print this help message and exit
  -v|--version:                  Print the version and exit
make[4]: *** [stamp-doc] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/dia-0.90/doc/en'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/usr/src/redhat/BUILD/dia-0.90/doc/en'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/dia-0.90/doc/en'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/usr/src/redhat/BUILD/dia-0.90/doc'
make: *** [install-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.33652 (%install)
RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.33652 (%install)

I think what is happening is that there is some substitution that should 
have been made for %use-id-as-filename% but I don't understand the process 
well enough to troubleshoot it at that level.

Does anybody have any advice?


Many thanks,


Jeff


-- 
Jeff Silverman, 
Senior Computing Specialist, Fire and Environmental Research Applications (FERA) team.
jeffs duet cfr washington edu   (206) 732-7815
http://duet.cfr.washington.edu




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]