В Птн, 21/12/2007 в 18:19 +0000, Giampiero Salvi пишет: > Hi Marcelo, > great that you did this. I've downloaded the source code and tried to > compile but without succes. The configure script does not complain, but it > does not include the right flags for the compiler to find the xerces-c > include files. I am using ubuntu 7.10 which doesn't have a package for the > xerces-c library, so I downloaded the source code from > http://xerces.apache.org/ and compiled it. Then I included the option: > > --with-libxerces-c-prefix=/path/to/xerces-c-src_2_8_0 > > when I run configure. This is the path that contains the lib and > include directories for xerces-c. However, running make I get: > > In file included from articulation2.cpp:22: > gs_config_file.h:23:31: error: xercesc/dom/DOM.hpp: No such file or > directory > gs_config_file.h:24:47: error: xercesc/parsers/XercesDOMParser.hpp: No > such file or directory > In file included from gs_config_file.h:30, > from articulation2.cpp:22: > > and a long list of other file not found errors. The files seem to be there > in the right place: > /path/to/xerces-c-src_2_8_0/include/xercesc/dom/DOM.hpp > /path/to/xerces-c-src_2_8_0/include/xercesc/parsers/XercesDOMParser.hpp > ... >
Ubuntu has package for xerces-c: http://packages.ubuntu.com/gutsy/libs/libxerces27 About this problem, it seems that not all automake job is done properly. In theory it updates CPPFLAGS but somehow they aren't used. Marcelo: About check, I though about this: --- configure.ac 2007-12-21 22:01:37.000000000 +0300 +++ configure.ac.new 2007-12-21 22:07:20.000000000 +0300 @@ -11,6 +11,10 @@ AC_PROG_CC # Checks for libraries. rlc_XERCESC +if test x$HAVE_LIBXERCES_C != xyes ; then + AC_MSG_ERROR([Library xerces-c is required]) +fi + # Checks for header files. AC_HEADER_DIRENT AC_CHECK_HEADERS([sys/param.h])
signature.asc
Description: Эта часть сообщения подписана цифровой подписью
_______________________________________________ gnuspeech-contact mailing list [email protected] http://lists.gnu.org/mailman/listinfo/gnuspeech-contact
