From: Date: May 3 2007 1:21pm Subject: ODBC C-tests commit: r86 - trunk List-Archive: http://lists.mysql.com/commits/26000 Message-Id: <200705031121.l43BLapj009287@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added: trunk/INSTALL Log: Add installation description Added: trunk/INSTALL =================================================================== --- trunk/INSTALL 2007-05-03 00:30:34 UTC (rev 85) +++ trunk/INSTALL 2007-05-03 11:21:36 UTC (rev 86) @@ -0,0 +1,51 @@ +Requirements: + + 1. CMake + 2. Driver Manager (unixODBC - recommended, libiodbc) + 3. MySQL Server + 4. ODBC driver + +********************************************************************* +********************************************************************* + +Make sure, that you unixODBC or libiodc is configured in the right way. +Normally, you can just intall one of them, either unixODBC or libiodbc. + +Installation Unix/Linux: + +$ cd c-tests/trunk/ + +If you use unixODBC: + +$ cmake CMakeLists.txt -Duse_unixodbc=on + +If you use libiodbc: + +$ cmake CMakeLists.txt -Duse_libiodbc=on + +$ make + +$ cd bin + +if you use the bash shell: + +$ export OT_DSN = YOUR_CONNECTION_NAME_FROM_THE_ODBC_CONFIGURATION + +if you use c-shell: + +$ setenv OT_DSN YOUR_CONNECTION_NAME_FROM_THE_ODBC_CONFIGURATION + +$ ./t_SUITENAME + +********************************************************************* +********************************************************************* + +Installation Windows: + +Using Visual Studio + +1. cmake CMakeLists.txt +2. Open the generated odbc_test_suites.sln solution in Visual Studio +3. Build->Build Solution (or F7) +4. cd bin/debug +5. run t_SUITENAME.exe