List:General Discussion« Previous MessageNext Message »
From:Ruben Safir Date:March 5 2011 9:21pm
Subject:C++ Connect Installation
View as plain text  

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

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
In member function ‘std::string sql::mysql::MyVal::getString()’:
error: ‘snprintf’ was not declared in this scope
error: ‘snprintf’ was not declared in this scope
error: ‘snprintf’ was not declared in this scope
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.

-- - Interesting Stuff - 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  DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002

"Yeah - I write Free 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
C++ Connect InstallationRuben Safir5 Mar