A couple of people have reported this. The proximate cause is that your version of xmllint doesn't understand the --xpath option.
There are two possible solutions:
1. Upgrade xmllint. I use version 20901 and that works for me.
2. In your Makefile, delete the 4 lines:
$(AM_V_at)cat doc/help-pages-list | while read node ; do \
$(XMLLINT) --xpath "$$node" $@,tmp > /dev/null; \
if test $$? -ne 0 ; then echo "$$node does not appear in $@" ; exit
1; fi ; \
done
I do confess that I am confused why people have encountered this. I thought
it was something
that only developers should ever have to concern themselves with. If you have
built directly
from a released tarball, and not modified anything, then this issue shuld have
never arisen.
Did you modify and of the .texi files in the doc directory ?
J'
On Wed, Oct 28, 2015 at 03:54:53PM -0700, Robert Messer wrote:
I???m writing to follow-up on a thread from a few months back. I???m
getting the exact same error that Daniel Harper reported back in August. The
archived thread is here:
http://lists.gnu.org/archive/html/pspp-users/2015-08/msg00020.html
<http://lists.gnu.org/archive/html/pspp-users/2015-08/msg00020.html>
There error seems exactly the same as was reported before. It???s near the
end, apparently during the doc build. Here???s the last part:
make[2]: Entering directory `/home/rmesser/pspp-0.8.5'
/bin/sh /home/rmesser/pspp-0.8.5/build-aux/missing makeinfo --docbook -I
. \
./doc/pspp.texi -o - \
| /usr/bin/sed -e 's/Time-&-Date/Time-\&-Date/g' \
-e 's/“/\“/g' \
-e 's/”/\”/g' \
-e 's/‘/\‘/g' \
-e 's/’/\’/g' \
-e 's/—/\—/g' \
-e 's/–/\′/g' \
-e 's/é/\é/g' \
-e 's/©/\©/g' \
-e 's/−/\−/g' \
-e 's/…/\…/g' \
-e 's/•/\ߦ/g' \
-e 's/././g' \
-e 's%\(<figure [^>]*\)>%\1/>%g' \
| gawk '/<para>.*<table.*>.*<\/para>/{x=sub("</para>",""); print;
s=1;next}/<\/table>/{print; if (s==1) print "</para>"; s=0; next}1' \
> doc/pspp.xml,tmp
output /dev/null doc/pspp.xml,tmp
make[2]: output: Command not found
make[2]: [doc/pspp.xml] Error 127 (ignored)
cat doc/help-pages-list | while read node ; do \
--xpath "$node" doc/pspp.xml,tmp > /dev/null; \
if test $? -ne 0 ; then echo "$node does not appear in doc/pspp.xml" ;
exit 1; fi ; \
done
/bin/sh: line 1: --xpath: command not found
//*[@id='AGGREGATE'] does not appear in doc/pspp.xml
make[2]: *** [doc/pspp.xml] Error 1
make[2]: Leaving directory `/home/rmesser/pspp-0.8.5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rmesser/pspp-0.8.5'
make: *** [all] Error 2
Since xmllint was reported as a possible issue in August, I checked and it
is on my system. Here is that info and some system info:
[rmesser@c7 v7.0 pspp-0.8.5]$ xmllint --version
xmllint: using libxml version 20901
compiled with: Threads Tree Output Push Reader Patterns Writer SAXv1
FTP HTTP DTDValid HTML Legacy C14N Catalog XPath XPointer XInclude Iconv
ISO8859X Unicode Regexps Automata Expr Schemas Schematron Modules Debug Zlib
Lzma
[rmesser@c7 v7.0 pspp-0.8.5]$ uname --all
Linux c7.intellisurvey.com 3.10.0-229.7.2.el7.x86_64 #1 SMP Tue Jun 23
22:06:11 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
pspp-0.8.4 builds for me without incident.
A possible clue: I am using ???./configure ???without-cairo???, which
Daniel also reported that he was using. Maybe that has something to do with it?
Thanks for any thoughts on this. It isn???t particularly urgent for me,
since I can live with 0.8.4.
Rob
_______________________________________________
Pspp-users mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/pspp-users
--
Avoid eavesdropping. Send strong encryted email.
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ Pspp-users mailing list [email protected] https://lists.gnu.org/mailman/listinfo/pspp-users
