C++ Connect Installation

C++ Connect Installation

am 05.03.2011 22:21:33 von Ruben I Safir

Hello

I'm trying to install the C++ connector as outlined on this URL:

http://dev.mysql.com/tech-resources/articles/mysql-connector -cpp.html#install

and it fails misserably.

I have installed 5.5.0-m2 Source distribution

It fails right away on the make after doing the cmake

[ 1%] Building CXX object
driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_r esultset.cpp:
In member function ‘std::string sql::mysql::MyVal::getString()’:
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_r esultset.cpp:57:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_r esultset.cpp:63:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_r esultset.cpp:69:
error: ‘snprintf’ was not declared in this scope
/home/ruben/src/mysql-connector-c++-1.0.5/driver/mysql_art_r esultset.cpp:75:
error: ‘snprintf’ was not declared in this scope
make[2]: *** [driver/CMakeFiles/mysqlcppconn.dir/mysql_art_resultset.o]
Error 1
make[1]: *** [driver/CMakeFiles/mysqlcppconn.dir/all] Error 2


I'm obviously clueless about what to do.

Ruben
--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software

So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998

http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free Software...so SUE ME"

"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."

"> I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."

© Copyright for the Digital Millennium

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=gcdmg-mysql-2@m.gmane.org