a tree.h does exist under libxml2/libxml.however,replacing the
#include <libxml/tree.h>
by
#include <libxml2/libxml/tree.h>
only produces a new string of errors:

In file included from ../gsf/gsf-libxml.h:27,
                from gsf-libxml.c:23:
/usr/include/libxml2/libxml/tree.h:16:31: error: libxml/xmlversion.h: No
such file or directory
/usr/include/libxml2/libxml/tree.h:17:30: error: libxml/xmlstring.h: No such
file or directory
In file included from ../gsf/gsf-libxml.h:27,
                from gsf-libxml.c:23:
/usr/include/libxml2/libxml/tree.h:78: error: syntax error before 'xmlChar'
/usr/include/libxml2/libxml/tree.h:82: error: syntax error before '}' token
/usr/include/libxml2/libxml/tree.h:145: error: syntax error before '*' token
/usr/include/libxml2/libxml/tree.h:146: error: syntax error before '*' token
/usr/include/libxml2/libxml/tree.h:147: error: syntax error before '*' token
/usr/include/libxml2/libxml/tree.h:148: error: syntax error before '}' token
/usr/include/libxml2/libxml/tree.h:192: error: syntax error
...and lot more errors.....
On 4/20/07, anirudh vij <[EMAIL PROTECTED]> wrote:

hi,
i followed the instructions in the blfs book regarding libgsf.on running
make i get the error:


In file included from gsf-libxml.c:23:
../gsf/gsf-libxml.h:27:25: error: libxml/tree.h: No such file or directory
In file included from gsf-libxml.c:23:
../gsf/gsf-libxml.h:33: error: syntax error before '*' token
../gsf/gsf-libxml.h:33: warning: type defaults to 'int' in declaration of
'gsf_xml_parser_context'
../gsf/gsf-libxml.h:33: warning: data definition has no type or storage
class
../gsf/gsf-libxml.h:39: error: syntax error before 'xmlDoc'
../gsf/gsf- libxml.h:41: warning: function declaration isn't a prototype
../gsf/gsf-libxml.h:56: error: syntax error before 'xmlChar'
../gsf/gsf-libxml.h:56: warning: function declaration isn't a prototype
../gsf/gsf-libxml.h:73: error: syntax error before 'xmlChar'
../gsf/gsf-libxml.h:73: warning: function declaration isn't a prototype
../gsf/gsf-libxml.h:118: error: syntax error before 'xmlChar'
../gsf/gsf-libxml.h:118: warning: function declaration isn't a prototype
....and then a long list of warnings and
errors.............................

libxml and libxml2 are correctly installed.What could be the problem?

-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to