compilation error
"Mailing Lists" <[email protected]> Tue, 18 Nov 2003 18:31:53 +0100
| Newsgroups | gmane.text.docbook.docbook2x.general |
|---|---|
| Message-ID | <0f0d01c3adf9$dbb7e5b0$0864a8c0@mario> |
I have been trying to compile version 0.8.2. "as is", i.e. out of the box,
but it doesn't want to work. I think I have diligently installed all the
required modules and libraries, except "XML DocBook DTD version 4.2" and
Norman Walsh's DocBook XSL stylesheets because I don't know how/where to
install them.
At this line:
if gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include/libxml2 -g -O2 -MT
ext.o -MD -MP -MF ".deps/ext.Tpo" \
-c -o ext.o `test -f 'ext.c' || echo './'`ext.c; \
then mv ".deps/ext.Tpo" ".deps/ext.Po"; \
else rm -f ".deps/ext.Tpo"; exit 1; \
fi
I always get the following error:
In file included from /usr/include/libxml2/libxml/hash.h:22,
from ext.c:19:
/usr/include/libxml2/libxml/parser.h:265: parse error before
"xmlHashTablePtr"
/usr/include/libxml2/libxml/parser.h:265: warning: no semicolon at end of
struct or union
/usr/include/libxml2/libxml/parser.h:266: warning: data definition has no
type or storage class
/usr/include/libxml2/libxml/parser.h:283: parse error before '}' token
make[2]: *** [ext.o] Error 1
make[2]: Leaving directory
`/home/mp1/mrs-admin/software/utilities/gtk/docbook2x/docbook2X-0.8.2/libxsl
t'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/mp1/mrs-admin/software/utilities/gtk/docbook2x/docbook2X-0.8.2/libxsl
t'
make: *** [all-recursive] Error 1
Can anybody help please??
Thanks a lot,
-Mario
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/