Re: [libxml++] libxml++ installation problems



I wonder to know, what are the libraries i must install before installing libxml++. Referring to web the only libraries are pkg-config and libxml.
 
But taping these lines, i understand that i have to install another library which is glibmm (the installation of this library require the installation of other libraries ...etc).
 
> setenv PKG_CONFIG_PATH /myProjectDir/bin/pkg-config
> setenv LIBXML_LIBS /myProjectDir/lib/libxml2.a
> setenv LIBXML_CFLAGS /myProjectDir/libxml2/libxml/
> ./configure --prefix = /myProjectDir
>make
 
make  all-recursive
make[1]: Entering directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++-2.18.0'
Making all in libxml++
make[2]: Entering directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++- 2.18.0/libxml++'
make  all-recursive
make[3]: Entering directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++-2.18.0/libxml++'
Making all in parsers
make[4]: Entering directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++- 2.18.0/libxml++/parsers'
if /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -DLIBXMLPP_BUILD -I. -I. -I../.. -I../../libxml++ -I../.. -I/mts_rd/IRD_APPLI/users/richard/Hamid/figaro2007/include/libxml2/libxml/    -g -O2 -MT parser.lo -MD -MP -MF ".deps/parser.Tpo" -c -o parser.lo parser.cc; \
then mv -f ".deps/parser.Tpo" ".deps/parser.Plo"; else rm -f ".deps/parser.Tpo"; exit 1; fi
mkdir .libs
 g++ -DHAVE_CONFIG_H -DLIBXMLPP_BUILD -I. -I. -I../.. -I../../libxml++ -I../.. -I/mts_rd/IRD_APPLI/users/richard/Hamid/figaro2007/include/libxml2/libxml/ -g -O2 -MT parser.lo -MD -MP -MF .deps/parser.Tpo -c parser.cc  -fPIC -DPIC -o .libs/parser.o
In file included from ../../libxml++/nodes/node.h:11,
                 from ../../libxml++/nodes/element.h:10,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/exceptions/exception.h:26:28: glibmm/ustring.h: No such file or directory
In file included from ../../libxml++/exceptions/exception.h:28,
                 from ../../libxml++/nodes/node.h:11,
                 from ../../libxml++/nodes/element.h:10,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/libxml++config.h:5:26: glibmmconfig.h: No such file or directory
In file included from ../../libxml++/nodes/node.h:11,
                 from ../../libxml++/nodes/element.h:10,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/exceptions/exception.h:38: error: syntax error before `::' token
../../libxml++/exceptions/exception.h:46: error: syntax error before `::' token
In file included from ../../libxml++/nodes/element.h:10,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/nodes/node.h:12:28: glibmm/ustring.h: No such file or directory
In file included from ../../libxml++/nodes/element.h:10,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/nodes/node.h:46: error: syntax error before `::' token
../../libxml++/nodes/node.h:51: error: syntax error before `::' token
../../libxml++/nodes/node.h:57: error: syntax error before `::' token
../../libxml++/nodes/node.h:59: error: syntax error before `::' token
../../libxml++/nodes/node.h:60: error: syntax error before `::' token
../../libxml++/nodes/node.h:101: error: syntax error before `::' token
../../libxml++/nodes/node.h:107: error: syntax error before `::' token
../../libxml++/nodes/node.h:114: error: syntax error before `::' token
../../libxml++/nodes/node.h:133: error: syntax error before `::' token
../../libxml++/nodes/node.h:138: error: syntax error before `::' token
../../libxml++/nodes/node.h:142: error: `Glib' was not declared in this scope
../../libxml++/nodes/node.h:142: error: syntax error before `::' token
../../libxml++/nodes/node.h:148: error: syntax error before `::' token
../../libxml++/nodes/node.h:148: error: `xmlpp::NodeSet xmlpp::Node::find(...)
   const' and `xmlpp::NodeSet xmlpp::Node::find(...) const' cannot be
   overloaded
In file included from ../../libxml++/nodes/element.h:11,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/attribute.h:11:28: glibmm/ustring.h: No such file or directory
In file included from ../../libxml++/nodes/element.h:11,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/attribute.h:33: error: syntax error before `::' token
../../libxml++/attribute.h:34: error: syntax error before `::' token
../../libxml++/attribute.h:35: error: syntax error before `::' token
In file included from ../../libxml++/nodes/commentnode.h:10,
                 from ../../libxml++/nodes/element.h:12,
                 from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/nodes/contentnode.h:27: error: syntax error before `::' token
../../libxml++/nodes/contentnode.h:33: error: syntax error before `::' token
In file included from ../../libxml++/parsers/parser.h:14,
                 from parser.cc:7:
../../libxml++/nodes/element.h:31: error: syntax error before `::' token
../../libxml++/nodes/element.h:46: error: syntax error before `::' token
../../libxml++/nodes/element.h:57: error: syntax error before `::' token
../../libxml++/nodes/element.h:64: error: syntax error before `::' token
../../libxml++/nodes/element.h:84: error: syntax error before `::' token
../../libxml++/nodes/element.h:90: error: syntax error before `::' token
../../libxml++/nodes/element.h:102: error: syntax error before `::' token
../../libxml++/nodes/element.h:105: error: syntax error before `::' token
In file included from ../../libxml++/exceptions/validity_error.h:25,
                 from ../../libxml++/parsers/parser.h:15,
                 from parser.cc:7:
../../libxml++/exceptions/parse_error.h:28:28: glibmm/ustring.h: No such file or directory
In file included from ../../libxml++/exceptions/validity_error.h:25,
                 from ../../libxml++/parsers/parser.h:15,
                 from parser.cc:7:
../../libxml++/exceptions/parse_error.h:38: error: syntax error before `::'
   token
In file included from ../../libxml++/parsers/parser.h:15,
                 from parser.cc:7:
../../libxml++/exceptions/validity_error.h:35: error: syntax error before `::'
   token
In file included from ../../libxml++/parsers/parser.h:16,
                 from parser.cc:7:
../../libxml++/exceptions/internal_error.h:28:28: glibmm/ustring.h: No such file or directory
In file included from ../../libxml++/parsers/parser.h:16,
                 from parser.cc:7:
../../libxml++/exceptions/internal_error.h:35: error: syntax error before `::'
   token
In file included from parser.cc:7:
../../libxml++/parsers/parser.h:69: error: syntax error before `::' token
../../libxml++/parsers/parser.h:77: error: syntax error before `::' token
../../libxml++/parsers/parser.h:89: error: syntax error before `::' token
../../libxml++/parsers/parser.h:90: error: syntax error before `::' token
../../libxml++/parsers/parser.h:101: error: syntax error before `::' token
../../libxml++/parsers/parser.h:102: error: syntax error before `::' token
parser.cc:9:27: libxml/parser.h: No such file or directory
parser.cc: In member function `virtual void xmlpp::Parser::initialize_context()
   ':
parser.cc:52: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:55: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:59: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc :60: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:63: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:66: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:69: error: `validate_error_' undeclared (first use this function)
parser.cc:69: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
parser.cc:70: error: `validate_warning_' undeclared (first use this function)
parser.cc: In member function `virtual void xmlpp::Parser::release_underlying()
   ':
parser.cc:77: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:79: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc:81: error: invalid use of undefined type `struct _xmlParserCtxt'
../../libxml++/parsers/parser.h:26: error: forward declaration of `struct
   _xmlParserCtxt'
parser.cc :81: error: `xmlFreeDoc' undeclared (first use this function)
parser.cc:84: error: `xmlFreeParserCtxt' undeclared (first use this function)
parser.cc: At global scope:
parser.cc:89: error: syntax error before `::' token
parser.cc: In member function `virtual void
   xmlpp::Parser::on_validity_error(...)':
parser.cc:92: error: `message' undeclared (first use this function)
parser.cc: At global scope:
parser.cc:95: error: syntax error before `::' token
parser.cc: In static member function `static void
   xmlpp::Parser::callback_validity_error(void*, const char*, ...)':
parser.cc:124: error: `xmlParserCtxtPtr' undeclared (first use this function)
parser.cc :124: error: syntax error before `=' token
parser.cc:125: error: `context' undeclared (first use this function)
parser.cc:140: error: `Glib' undeclared (first use this function)
parser.cc:140: error: syntax error before `::' token
parser.cc: In static member function `static void
   xmlpp::Parser::callback_validity_warning(void*, const char*, ...)':
parser.cc:155: error: syntax error before `=' token
parser.cc:171: error: syntax error before `::' token
parser.cc: In member function `virtual void
   xmlpp::Parser::handleException(const xmlpp::exception&)':
parser.cc:186: error: `xmlStopParser' undeclared (first use this function)
make[4]: *** [parser.lo ] Error 1
make[4]: Leaving directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++-2.18.0/libxml++/parsers'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++- 2.18.0/libxml++'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++-2.18.0/libxml++'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/nfs/mts_rd/IRD_APPLI/users/richard/Hamid/libxml++- 2.18.0'
make: *** [all] Error 2


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