From: Neil C. <nch...@uc...> - 2004-08-09 16:44:36
|
Hi, I am trying to install v 1.9.0 and configure runs without error. However when I run make, I get the following errors: make all-recursive make[1]: Entering directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0' Making all in mysqlcppapi make[2]: Entering directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0/mysqlcppapi' Making all in datetime make[3]: Entering directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0/mysqlcppapi/datetime' /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -g -O2 -I/usr/share/mysql/mysql/include -I/usr/share/mysql/mysql/include -c Date.cc rm -f .libs/Date.lo g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -g -O2 -I/usr/share/mysql/mysql/include -I/usr/share/mysql/mysql/include -c Date.cc -fPIC -DPIC -o .libs/Date.lo In file included from datetime_base.h:4, from date_base.h:4, from Date.h:5, from Date.cc:1: stream2string.h:4:23: strstream.h: No such file or directory In file included from datetime_base.h:4, from date_base.h:4, from Date.h:5, from Date.cc:1: stream2string.h: In function `Strng mysqlcppapi::stream2string(const T&)': stream2string.h:14: error: syntax error before `;' token In file included from date_base.h:4, from Date.h:5, from Date.cc:1: datetime_base.h:7:23: strstream.h: No such file or directory In file included from date_base.h:4, from Date.h:5, from Date.cc:1: stream2string.h: In function `Strng mysqlcppapi::stream2string(const T&) [with Strng = std::string, T = mysqlcppapi::datetime_base]': datetime_base.h:27: instantiated from here stream2string.h:15: error: `str' undeclared (first use this function) stream2string.h:15: error: (Each undeclared identifier is reported only once for each function it appears in.) stream2string.h:16: error: `ends' undeclared (first use this function) In file included from Date.h:5, from Date.cc:1: date_base.h: At global scope: date_base.h:22: error: syntax error before `&' token In file included from ../exceptions/ex_BadNullConversion.h:4, from ../null.h:4, from ../ColData.h:8, from Date.h:6, from Date.cc:1: ../exceptions/ex_base.h:26: error: 'string' is used as a type, but is not defined as a type. ../exceptions/ex_base.h:21: error: looser throw specifier for `virtual mysqlcppapi::ex_base::~ex_base()' /usr/include/c++/3.3.2/exception:56: error: overriding `virtual std::exception::~exception() throw ()' ../exceptions/ex_base.h:21: error: looser throw specifier for `virtual mysqlcppapi::ex_base::~ex_base()' /usr/include/c++/3.3.2/exception:56: error: overriding `virtual std::exception::~exception() throw ()' ../exceptions/ex_base.h:21: error: looser throw specifier for `virtual mysqlcppapi::ex_base::~ex_base()' /usr/include/c++/3.3.2/exception:56: error: overriding `virtual std::exception::~exception() throw ()' make[3]: *** [Date.lo] Error 1 make[3]: Leaving directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0/mysqlcppapi/datetime' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0/mysqlcppapi' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/creus/mysqlcppapi-1.9.0/mysqlcppapi-1.9.0' make: *** [all-recursive-am] Error 2 Any suggestions? -Neil |