logo       

how to install mysql++: msg#00063

db.mysql.c++

Subject: how to install mysql++

i am now using linux Suseversion is 2.6.5-7.151-smp andmysql server version is 5.0.26-standard-log.
which version of mysql++ should i download and install?

actually i already download MySQL++ v2.1 online. i install using the command given by README.unnix file. the first command is ./configure. after finish,i type second command which is "make", it shows an error message as follow:

make[1]: Entering directory `/nfs/png/home/wooi4/mysql++-2.1.1/lib'
.././bk-deps g++ -c -o mysqlpp_connection.o -I.. -fPIC -DPIC -I/usr/intel/pkgs/mysql/5.0.21/include/mysql -g -O2 ./connection.cpp
In file included from fields.h:32,
from result.h:34,
from query.h:37,
from ./connection.cpp:32:
resiter.h:120: no class template named `iterator' in `std'
In file included from result.h:35,
from query.h:37,
from ./connection.cpp:32:
field_names.h: In method `class string & mysqlpp::FieldNames::operator [](int)':
field_names.h:78: implicit declaration of function `int mysqlpp::at(...)'
field_names.h:78: conversion from `int' to non-scalar type `basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >' requested
field_names.h: In method `const class string & mysqlpp::FieldNames::operator [](int) const':
field_names.h:85: conversion from `int' to non-scalar type `basic_string<char,string_char_traits<char>,__default_alloc_template<true,0> >' requested
make[1]: *** [mysqlpp_connection.o] Error 1
make[1]: Leaving directory `/nfs/png/home/wooi4/mysql++-2.1.1/lib'
make: *** [lib] Error 2


so what should i do?which version should i install and where should i install to?how to install it?

_________________________________________________________________
Get FREE company branded e-mail accounts and business Web site from Microsoft Office Live http://clk.atdmt.com/MRT/go/mcrssaub0050001411mrt/direct/01/


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:
http://lists.mysql.com/plusplus?unsub=gcdmc-plusplus@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise