[bpm]$ rpm -qa | grep libxslt
libxslt-1.1.27-2.fc18.x86_64
libxslt-devel-1.1.27-2.fc18.x86_64
libxslt-python-1.1.27-2.fc18.x86_64
Ok, so I've been working really hard to understand why the xsltproc
commands just were not working as advertised in the make file for the
latest (20130201) git clone of scap-security-guide. I've got a fedora 18
system with the libxslt1.1.27-2 packages. Well, the build just breaks.
The following commands work, they just do not produce the desired output
xsltproc -stringparam notes "../input/auxiliary/transition_notes.xml" -o
output/table-rhel5-stig-manual-withnotes.html \
transforms/xccdf2table-stig.xslt \
references/disa-stig-rhel5-v1r0.6-xccdf-manual.xml
xsltproc -stringparam profile "stig-rhel6-server" -stringparam testinfo
"y"
-o output/table-stig-rhel6-server-shorttitles.html \
transforms/xccdf2table-profileccirefs.xslt \
output/unlinked-rhel6-xccdf.xml
xsltproc -stringparam alttitles "../input/auxiliary/alt-titles-stig.xml" -o
output/unlinked-stig-rhel6-xccdf.xml \
transforms/xccdf-alt-titles.xslt \
output/unlinked-rhel6-xccdf.xml
xsltproc -stringparam profile "stig-rhel6-server" -o
output/table-stig-rhel6-server.html \
transforms/xccdf2table-profileccirefs.xslt \
output/unlinked-stig-rhel6-xccdf.xml
xsltproc --html -o output/table-stig-rhel6-server.html
transforms/table-add-vulnids.xslt output/table-stig-rhel6-server.html
xsltproc -stringparam profile "stig-rhel6-server" -stringparam format
"flat" -o output/table-stig-rhel6-server-flat.html \
transforms/xccdf2table-profileccirefs.xslt \
output/unlinked-stig-rhel6-xccdf.xml
So I did a git clone on a new RHEL-6 box which has libxslt-1.1.26 and guess
what?? IT WORKS.
So, this is beyond my pay grade. But at least I know that for this, I'm
not insane. I had my doughts after spending 2 days staring at the
xccdf2table-profileccirefs.xslt and xccdf-addfixes.xslt wondering why they
were not working.
So, I'll stay on RHEL-6 for now to understand the build process better.
Thanks.
--
Brian Millett
"Shifts in paradigms
often cause nose bleeds."
Greg Glenn
Show replies by date