<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - Source, Builds, Binaries</title>
        <description>Forum for building directly from the source code.</description>
        <link>http://forums.mysql.com/list.php?117</link>
        <lastBuildDate>Sat, 25 May 2013 20:24:38 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?117,586622,586622#msg-586622</guid>
            <title>Problem linking (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,586622,586622#msg-586622</link>
            <description><![CDATA[ I'm trying to use C++ and SQL in Visual Studio, and trying to load a SQL example to make sure it's working.<br />
<br />
This is the example project taken from [url=&quot;[url]http://www.nitecon.com/tutorials-articles/develop/cpp/c-mysql-beginner-tutorial/&quot[/url];]link[/url]<br />
<br />
[code]<br />
<br />
#include &quot;my_global.h&quot; // Include this file first to avoid problems<br />
#include &quot;mysql.h&quot; // MySQL Include File<br />
#define SERVER &quot;localhost&quot;<br />
#define USER &quot;username&quot;<br />
#define PASSWORD &quot;password&quot;<br />
#define DATABASE &quot;databasename&quot;<br />
<br />
#include &lt;iostream&gt;<br />
using namespace std;<br />
<br />
#include &quot;my_global.h&quot; // Include this file first to avoid problems<br />
#include &quot;mysql.h&quot; // MySQL Include File<br />
#define SERVER &quot;localhost&quot;<br />
#define USER &quot;username&quot;<br />
#define PASSWORD &quot;password&quot;<br />
#define DATABASE &quot;databasename&quot;<br />
 <br />
int main()<br />
{<br />
    MYSQL *connect; // Create a pointer to the MySQL instance<br />
    connect=mysql_init(NULL); // Initialise the instance<br />
    /* This If is irrelevant and you don't need to show it. I kept it in for Fault Testing.*/<br />
    if(!connect)    /* If instance didn't initialize say so and exit with fault.*/<br />
    {<br />
        fprintf(stderr,&quot;MySQL Initialization Failed&quot;);<br />
        return 1;<br />
    }<br />
    /* Now we will actually connect to the specific database.*/<br />
 <br />
    connect=mysql_real_connect(connect,SERVER,USER,PASSWORD,DATABASE,0,NULL,0);<br />
    /* Following if statements are unneeded too, but it's worth it to show on your<br />
    first app, so that if your database is empty or the query didn't return anything it<br />
    will at least let you know that the connection to the mysql server was established. */<br />
 <br />
    if(connect){<br />
        printf(&quot;Connection Succeeded\n&quot;);<br />
    }<br />
    else{<br />
        printf(&quot;Connection Failed!\n&quot;);<br />
    }<br />
    MYSQL_RES *res_set; /* Create a pointer to recieve the return value.*/<br />
    MYSQL_ROW row;  /* Assign variable for rows. */<br />
    mysql_query(connect,&quot;SELECT * FROM TABLE&quot;);<br />
    /* Send a query to the database. */<br />
    unsigned int i = 0; /* Create a counter for the rows */<br />
 <br />
    res_set = mysql_store_result(connect); /* Receive the result and store it in res_set */<br />
 <br />
    unsigned int numrows = mysql_num_rows(res_set); /* Create the count to print all rows */<br />
 <br />
    /* This while is to print all rows and not just the first row found, */<br />
 <br />
    while ((row = mysql_fetch_row(res_set)) != NULL){<br />
        printf(&quot;%s\n&quot;,row<i> != NULL ?<br />
        row<i> : &quot;NULL&quot;); /* Print the row data */<br />
    }<br />
    mysql_close(connect);   /* Close and shutdown */<br />
<br />
	system(&quot;pause&quot;);<br />
	return 0;<br />
}<br />
<br />
[/code]<br />
<br />
Errors:<br />
<pre class="bbcode">
1&gt;------ Build started: Project: connectSQL, Configuration: Debug Win32 ------
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_close@4 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_fetch_row@4 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_num_rows@4 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_store_result@4 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_query@8 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_real_connect@32 referenced in function _main
1&gt;main.obj : error LNK2019: unresolved external symbol _mysql_init@4 referenced in function _main
1&gt;C:\Users\Shawn\Documents\Visual Studio 2010\Projects\connectSQL\Debug\connectSQL.exe : fatal error LNK1120: 7 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========</pre>
<br />
Include/Headers/Libs:<br />
<pre class="bbcode">
VC++ Directories-&gt;Include Directory-&gt;C:\Program Files\MySQL\MySQL Server 5.6\include
VC++ Directories-&gt;Library Directory-&gt;C:\Program Files\MySQL\MySQL Server 5.6\lib
VC++ Directories-&gt;Bin Directory-&gt;C:\Program Files\MySQL\MySQL Server 5.6\bin

Linker-&gt;Input-&gt;Additional Dependencies-&gt;libmysql.lib</pre>
<br />
And I put <i>libmysql.lib</i> in <i>Program Files(x86)-&gt;Microsoft Visual Studio 10.0-&gt;VC-&gt;lib</i> which is where I believe i'm supposed to put it.</i></i>]]></description>
            <dc:creator>shawn andrews</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 17 May 2013 16:13:52 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,585832,585832#msg-585832</guid>
            <title>Compiling 5.6.11 from Source (5 replies)</title>
            <link>http://forums.mysql.com/read.php?117,585832,585832#msg-585832</link>
            <description><![CDATA[ Hello everyone,<br />
i am trying to compile 5.6.11 from Source on a Raspberry Pi with Raspian Linux (optimised version of Debian)<br />
<br />
ncurses 5.9 and cmake 2.8.10 are allready compiled<br />
<br />
<br />
I used this command:<br />
sudo cmake . -DCMAKE_INSTALL_PREFIX=/data/mysql -DWITH_INNOBASE_STORAGE_ENGINE=1<br />
<br />
And when i use the sudo make command i get this error:<br />
<br />
[ 63%] Building CXX object sql/CMakeFiles/sql.dir/unireg.cc.o<br />
[ 63%] Building C object sql/CMakeFiles/sql.dir/__/libmysql/errmsg.c.o<br />
[ 63%] Building C object sql/CMakeFiles/sql.dir/__/sql-common/client.c.o<br />
[ 63%] Building C object sql/CMakeFiles/sql.dir/__/sql-common/client_plugin.c.o<br />
/work/mysql-5.6.11/sql-common/client_plugin.c: In function âmysql_client_plugin_initâ:<br />
/work/mysql-5.6.11/sql-common/client_plugin.c:252:5: error: incompatible type for argument 5 of âadd_pluginâ<br />
/work/mysql-5.6.11/sql-common/client_plugin.c:120:1: note: expected âva_listâ but argument is of type âintâ<br />
/work/mysql-5.6.11/sql-common/client_plugin.c: In function âmysql_client_register_pluginâ:<br />
/work/mysql-5.6.11/sql-common/client_plugin.c:310:5: error: incompatible type for argument 5 of âadd_pluginâ<br />
/work/mysql-5.6.11/sql-common/client_plugin.c:120:1: note: expected âva_listâ but argument is of type âintâ<br />
make[2]: *** [sql/CMakeFiles/sql.dir/__/sql-common/client_plugin.c.o] Error 1<br />
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2<br />
make: *** [all] Error 2<br />
<br />
<br />
I was unable to find something about this on the internet. I hope you can help me<br />
Thanks]]></description>
            <dc:creator>Frank Malens</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 24 May 2013 19:42:33 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,585361,585361#msg-585361</guid>
            <title>libmysql.dll 5.6.11 failed to load in windows 8 (64bits) (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,585361,585361#msg-585361</link>
            <description><![CDATA[ Hello. I'm trying to use this DLL but it seems to have a problem.<br />
My software used to work with the previous versions of this DLL.<br />
<br />
Problem: Failed to load library (Microsoft's function getLastError() returns error code 193).<br />
<br />
Then I tried to see what the TDUMP returns and it returns: Error: Internal Error at 0x42213f with base 0x400000.<br />
<br />
Steps to reproduce:<br />
1. Download the MySQL 5.6 for windows (installer or zip package).<br />
2. Install/uncompress (I've a 64bits windows 8).<br />
3. Open Windows Command Prompt (cmd).<br />
4. Access the libmysql folder (cd C:\Mysql...).<br />
5. Run tdump (tdump libmysql.dll)]]></description>
            <dc:creator>Fernando Pereira</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 03 May 2013 00:04:27 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,585132,585132#msg-585132</guid>
            <title>Unable to download MySQL 5.6.11 (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,585132,585132#msg-585132</link>
            <description><![CDATA[ I have gone to <a href="http://dev.mysql.com/downloads/installer/"  rel="nofollow">http://dev.mysql.com/downloads/installer/</a> from IE, Chrome and Firefox and for the life of me can't get a download to initiate. Is anyone else having that problem? <br />
<br />
It takes me to a page that shows only: Begin Your Download - mysql-installer-community-5.6.11.0.msi<br />
<br />
Yet there are no links, buttons, anything other than the menus on the left. I just want to know if I'm going crazy or something.]]></description>
            <dc:creator>Jason S</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Mon, 29 Apr 2013 19:40:28 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,583689,583689#msg-583689</guid>
            <title>What are the steps I have to take after compilation and installation? (5 replies)</title>
            <link>http://forums.mysql.com/read.php?117,583689,583689#msg-583689</link>
            <description><![CDATA[ It was pretty straight-forward to compile and install MySQL to my home directory. I used this command:<br />
<br />
    cmake -D MYSQL_DATADIR=/home/tomas/mysql/data -D SYSCONFDIR=/home/tomas/mysql/etc -D CMAKE_INSTALL_PREFIX=/home/tomas/mysql .<br />
<br />
Now I have MySQL installed in the folder '/home/tomas/mysql'. What now? The server refuses to start because I'm lacking the tables in the mysql database, and mysql_install_db is refusing to work without giving me any reason as far as I can tell.<br />
<br />
If anybody could spell the process out for me that would help a lot, and I'm sure future visitors would be grateful as well!<br />
<br />
Thanks<br />
<br />
---<br />
<br />
More details about my specific problem: <a href="http://serverfault.com/questions/498380/how-do-i-install-the-initial-mysql-tables-after-a-compilation-from-source"  rel="nofollow">http://serverfault.com/questions/498380/how-do-i-install-the-initial-mysql-tables-after-a-compilation-from-source</a>]]></description>
            <dc:creator>Tomas Sandven</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 12 Apr 2013 14:35:56 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,583430,583430#msg-583430</guid>
            <title>MySQL Embedded server on Windows hang in mysql_init with INFINITE WaitForSingleObject (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,583430,583430#msg-583430</link>
            <description><![CDATA[ Hi.<br />
<br />
I'm trying build a program with MinGW (4.7), using libmysqld, but it enter in a loop in mysql_init and never get out of this function. I debuged it and this is the call stack:<br />
<br />
myslq_init<br />
mysql_server_init<br />
init_embedded_server<br />
init_server_components<br />
plugin_init<br />
plugin_initialize<br />
int (** plugin_type_initialize)(st_plugin_int *)<br />
innobase_start_or_create_for_mysql<br />
recv_recovery_from_checkpoint_start_func<br />
recv_synchronize_groups<br />
rw_lock_s_lock_spin<br />
sync_array_wait_event<br />
os_event_wait_low<br />
WaitForSingleObject - with a wait time of INFINITE<br />
<br />
What is the problem?<br />
<br />
This is the program:<br />
<br />
#include &lt;stdio.h&gt;<br />
#include &lt;stdlib.h&gt;<br />
#include &lt;stdarg.h&gt;<br />
#include &lt;mysql.h&gt;<br />
<br />
MYSQL *mysql;                         <br />
MYSQL_RES *results;                   <br />
MYSQL_ROW record;                     <br />
<br />
static char *server_options[] = {&quot;mysql_test&quot;,<br />
  &quot;--defaults-file=c:\\mysql_embedded\\my.ini&quot;,<br />
  NULL };<br />
int num_elements = (sizeof(server_options) / sizeof(char *)) - 1;<br />
static char *server_groups[] = {&quot;embedded&quot;, &quot;server&quot;, NULL };<br />
<br />
int main(void)<br />
{<br />
  mysql_library_init(num_elements, server_options, (char **)server_groups);<br />
<br />
  mysql = mysql_init(mysql);<br />
   <br />
  mysql_library_end();<br />
<br />
  return 0;<br />
} <br />
 <br />
This is my.ini:<br />
<br />
[embedded]<br />
basedir=C:/mysql_embedded<br />
datadir=C:/mysql_embedded/data<br />
language=C:/mysql_embedded/share/english<br />
<br />
[server]<br />
basedir=C:/mysql_embedded<br />
datadir=C:/mysql_embedded/data<br />
language=C:/mysql_embedded/share/english<br />
<br />
I compile with:<br />
<br />
g++ -o test test.cpp -Id:\MySQLServer5.6.10\include -Ld:\MySQLServer5.6.10\lib -l libmysqld -D__LCC__<br />
<br />
I have tried with different version of libmysqld: MySQL 5.1.68, 5.5.30, 5.6.10 but all hangs in myslq_init.<br />
<br />
I'm running it in VMware. <br />
<br />
What's the problem?]]></description>
            <dc:creator>Ismael Briones Vilar</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Mon, 08 Apr 2013 21:05:43 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,582395,582395#msg-582395</guid>
            <title>Setting MySQL_PROTOCOL_TCP in C or Objective C (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,582395,582395#msg-582395</link>
            <description><![CDATA[ I built a MySQL client library for iOS 6 on a Mac.  It worked perfectly on a local database because the MAC OS uses the Unix socket.  I then added port forward libraries to a remote database.  The client fails because it is attempting to use the /tmp/mysql.sock.  I do not want it to use sockets, I want it to use TCP protocols.  Going through the source, I found MYSQL_PROTOCOL_TCP and MYSQL_PROTOCOL_DEFAULT.<br />
<br />
These are easy to set from the command line with --protocol=TCP.<br />
<br />
How would I set these programatically in the code when invoking the connection object which inits mysql?<br />
<br />
Thanks in advance.]]></description>
            <dc:creator>Ken Bodnar</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Tue, 26 Mar 2013 22:49:34 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,582286,582286#msg-582286</guid>
            <title>Cross Compile Connector/C(libmysql) for Linux/PowerPC architecture (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,582286,582286#msg-582286</link>
            <description><![CDATA[ I want to cross compiling libmysql for Linux/PowerPC. Hence I downloaded the source code, made changes to CMake so that the compiler in my tool chain is used (ppc_4xx-gcc and ppc_4xx-g++). Then when I start to build I get problems because of collision in my toolchain and libmysql wrt openssl.<br />
<br />
openssl header files are present both in libmysql source and my toolchain as shown below<br />
<br />
libmysql -  /extlib/yassl/include/openssl<br />
toolchain - /opt/ELDK/4.2/ppc_4xx/usr/include/openssl<br />
<br />
Hence when the files in libmysql are being compiled I get collisions because of my toolchain. How should I proceed ? I guess I shoule use files present in libmysql rather my toolchain wrt openssl.<br />
<br />
I provide the include path /opt/ELDK/4.2/ppc_4xx/usr/include to CMake as it contains all the standard libraries, but this enables files in openssl being used for compilation. How can I make sure files for openssl from my toolchain are not used ?<br />
<br />
Or am I missing something elementary ? Has anyone done something similar ?<br />
<br />
PS: CMAKE Version 2.8.10.2]]></description>
            <dc:creator>Niranjan Mahabaleshwar</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 05 Apr 2013 06:08:23 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,582008,582008#msg-582008</guid>
            <title>Error compiling 5.5.9 on Snow Leopard with cmake (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,582008,582008#msg-582008</link>
            <description><![CDATA[ Hi, first time compiler here... I'm attempting to compile mysql 5.5.9 on Snow Leopard so that I can get the header files to copy into my MAMP directory so that the mysql2 gem will install so that I can start learning Rails. :)  The compilation fails because it thinks my compiler is broken, and I'm not sure what to do.  Relevant information below.  Can anyone help me resolve this?<br />
<br />
Oh, and I found this thread with the same problem, and tried Casey's fix, but it didn't work:  <a href="http://forums.mysql.com/read.php?117,389447,389478#msg-389478"  rel="nofollow">http://forums.mysql.com/read.php?117,389447,389478#msg-389478</a><br />
<br />
-----------------------------------------------<br />
<br />
I got the source for mysql out of the MAMP components zip file available at:<br />
<br />
<a href="http://sourceforge.net/projects/mamp/files/mamp/2.0.2/MAMP_components_2.0.2.zip/download"  rel="nofollow">http://sourceforge.net/projects/mamp/files/mamp/2.0.2/MAMP_components_2.0.2.zip/download</a><br />
<br />
-----------------------------------------------<br />
<br />
REDACTED:mysql-5.5.9 REDACTED$ gcc -v<br />
Using built-in specs.<br />
Target: i686-apple-darwin10<br />
Configured with: /var/tmp/gcc/gcc-5666.3~6/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin10 --program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10 --target=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1<br />
Thread model: posix<br />
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)<br />
<br />
-------------------------------------------------<br />
<br />
cmake version 2.8.7<br />
<br />
-------------------------------------------------<br />
<br />
REDACTED:mysql-5.5.9 REDACTED$ cmake . -DMYSQL_UNIX_ADDR=/Applications/MAMP/tmp/mysql/mysql.sock -DCMAKE_INSTALL_PREFIX=/Applications/MAMP/Library &gt; log.txt<br />
CMake Error at /usr/local/Cellar/cmake/2.8.7/share/cmake/Modules/CMakeTestCCompiler.cmake:52 (MESSAGE):<br />
  The C compiler &quot;/usr/bin/cc&quot; is not able to compile a simple test program.<br />
<br />
  It fails with the following output:<br />
<br />
   Change Dir: /tmp/mysql-5.5.9/CMakeFiles/CMakeTmp<br />
<br />
<br />
<br />
  Run Build Command:/usr/bin/make &quot;cmTryCompileExec/fast&quot;<br />
<br />
  /usr/bin/make -f CMakeFiles/cmTryCompileExec.dir/build.make<br />
  CMakeFiles/cmTryCompileExec.dir/build<br />
<br />
  /usr/local/Cellar/cmake/2.8.7/bin/cmake -E cmake_progress_report<br />
  /tmp/mysql-5.5.9/CMakeFiles/CMakeTmp/CMakeFiles 1<br />
<br />
  Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o<br />
<br />
  /usr/bin/cc -isysroot -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o<br />
  -c /tmp/mysql-5.5.9/CMakeFiles/CMakeTmp/testCCompiler.c<br />
<br />
  i686-apple-darwin10-gcc-4.2.1:<br />
  CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o: No such file or<br />
  directory<br />
<br />
  make[1]: *** [CMakeFiles/cmTryCompileExec.dir/testCCompiler.c.o] Error 1<br />
<br />
  make: *** [cmTryCompileExec/fast] Error 2<br />
<br />
<br />
<br />
<br />
<br />
  CMake will not be able to correctly generate this project.<br />
Call Stack (most recent call first):<br />
  CMakeLists.txt:83 (PROJECT)<br />
<br />
---------------------------------------------------------<br />
<br />
If anyone could help, I'd appreciate it.  This is really annoying.]]></description>
            <dc:creator>Tony Sherwood</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Thu, 21 Mar 2013 21:09:37 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,581407,581407#msg-581407</guid>
            <title>Build fails Mysql 5.6.10 CMake 2.8.10.2 Centos 5.7 (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,581407,581407#msg-581407</link>
            <description><![CDATA[ I get the following error when I build Mysql5.6.10<br />
<br />
plane Centos 5.7 x86_64<br />
CMake 2.8.10.2<br />
<br />
Scanning dependencies of target sql<br />
[ 52%] Building CXX object sql/CMakeFiles/sql.dir/sql_yacc.cc.o<br />
c++: Internal error: Killed (program cc1plus)<br />
Please submit a full bug report.<br />
See &lt;URL:<a href="http://bugzilla.redhat.com/bugzilla&gt"  rel="nofollow">http://bugzilla.redhat.com/bugzilla&gt</a>; for instructions.<br />
make[2]: *** [sql/CMakeFiles/sql.dir/sql_yacc.cc.o] Error 1<br />
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2<br />
make: *** [all] Error 2<br />
<br />
Any advice would be appreciated.<br />
Thank you]]></description>
            <dc:creator>dingling liu</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Sun, 24 Mar 2013 01:45:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,580812,580812#msg-580812</guid>
            <title>BUILD/autorun.sh not found (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,580812,580812#msg-580812</link>
            <description><![CDATA[ Hello, I just downloaded a fresh install of Mysql v.5.1.68 on Linux.<br />
<br />
I am now trying to run the following command to get SphinxSE installed:<br />
<br />
# sh BUILD/autorun.sh<br />
<br />
I am entering that from within my mysql folder, and received the following error:<br />
<br />
&quot;No such file or directory&quot;<br />
<br />
Naturally, I checked within the folder to see, and nope, no BUILD directory there (or autorun.sh file, either).<br />
<br />
Can anybody advise?  I downloaded this version of MySQL straight from mysql.com.  I am not quite ready to update at this time, hence my needing to download a (relatively) older version (5.1.68).<br />
<br />
Any ideas on how to get that directory/file into the build?  Or, a possible workaround?<br />
<br />
Here are the instructions I've been following to install SphinxSE onto my system (I'm now stuck at the part about running # sh BUILD/autorun.sh):<br />
<br />
<a href="http://sphinxsearch.com/wiki/doku.php?id=sphinx_sphinxse_on_rhel"  rel="nofollow">http://sphinxsearch.com/wiki/doku.php?id=sphinx_sphinxse_on_rhel</a><br />
<br />
(possible workaround?)]]></description>
            <dc:creator>Dennis Rodman</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Sat, 09 Mar 2013 02:12:38 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,580669,580669#msg-580669</guid>
            <title>Build fails &quot;st_mysql_const_lex_string&quot; undefined (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,580669,580669#msg-580669</link>
            <description><![CDATA[ Trying to compile mysql-5.6.10 fails for me. <br />
<br />
I'm compiling on a gentoo based system on which many development tools (including cmake) are hand-rolled i.e. do not originate from the distro but are compiled from scratch. &quot;cmake .&quot; works without trouble but a &quot;make &quot; gives me<br />
<br />
.../include/m_string.h:283:10: error: dereferencing pointer to incomplete type<br />
<br />
It seems   st_mysql_const_lex_string is not known and the cpmpiler doesn't have a clue what to make with LEX_STRING. On a Fedora 18 everything works just fine<br />
<br />
Any help will be highly appreciated <br />
<br />
Sebastian]]></description>
            <dc:creator>Sebastian Kloska</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Wed, 06 Mar 2013 11:50:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,579167,579167#msg-579167</guid>
            <title>CPack errors when building Connector/C 6.0.2 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,579167,579167#msg-579167</link>
            <description><![CDATA[ I get the following two errors when I try to generate the Visual Studio 2010 build files for MySQL Connector/C 6.0.2 with CMake 2.8.10.2 on Windows 7 x64.<br />
<br />
CMake Error at /usr/share/cmake-2.8/Modules/CPack.cmake:395 (message):<br />
  CPack package description file: &quot;README&quot; could not be found.<br />
Call Stack (most recent call first):<br />
  /usr/share/cmake-2.8/Modules/CPack.cmake:399 (cpack_check_file_exists)<br />
  CMakeLists.txt:371 (INCLUDE)<br />
<br />
<br />
CMake Error at /usr/share/cmake-2.8/Modules/CPack.cmake:395 (message):<br />
  CPack license resource file: &quot;LICENSE.mysql&quot; could not be found.<br />
Call Stack (most recent call first):<br />
  /usr/share/cmake-2.8/Modules/CPack.cmake:400 (cpack_check_file_exists)<br />
  CMakeLists.txt:371 (INCLUDE)<br />
<br />
I also get the same errors when trying to generate Unix Makefiles in Debian Wheezy with CMake 2.8.9]]></description>
            <dc:creator>Robert Hegner</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 15 Feb 2013 12:26:47 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,578987,578987#msg-578987</guid>
            <title>Segmentation Fault after MySQL login (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,578987,578987#msg-578987</link>
            <description><![CDATA[ I'm trying to install MySQL 5.5.18 on a Linux Redhat environment.  I've compile and install the binaries using cmake but when I try to connect to the database I get a segmentation fault error rather than the sql prompt.<br />
<br />
Ex error: <br />
<br />
mysql -u root -p<br />
password:<br />
<br />
Segmentation Fault]]></description>
            <dc:creator>Jim Anderson</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Mon, 25 Feb 2013 04:05:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,578267,578267#msg-578267</guid>
            <title>When MySQL 5.6 GA release available (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,578267,578267#msg-578267</link>
            <description><![CDATA[ Anybody know if there is a timeline for MySQL community server 5.6 GA release?<br />
<br />
We are looking at 'Fractional Seconds in Time Values' feature that MySQL added in 5.6.4. Currently, MySQL 5.6 is still in Development Release.<br />
<br />
Thanks a lot!<br />
Ben]]></description>
            <dc:creator>Ben Zhou</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Sun, 17 Feb 2013 00:16:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,578249,578249#msg-578249</guid>
            <title>Build from Source on Windows 7 Ultimate x64 (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,578249,578249#msg-578249</link>
            <description><![CDATA[ I have downloaded the zip package of source code for Windows. I created an install directory naming it 'MySQL' under the Program Files folder and tried to run mysqld.exe, then mysql.exe only to get the results below:<br />
<br />
130131 22:30:30 [Warning] Can't create test file c:\program files\mysql\data\tyo<br />
dev001.lower-test<br />
130131 22:30:30 [Warning] Can't create test file c:\program files\mysql\data\tyo<br />
dev001.lower-test<br />
130131 22:30:30 [Note] Plugin 'FEDERATED' is disabled.<br />
130131 22:30:30 InnoDB: The InnoDB memory heap is disabled<br />
130131 22:30:30 InnoDB: Mutexes and rw_locks use Windows interlocked functions<br />
130131 22:30:30 InnoDB: Compressed tables use zlib 1.2.3<br />
130131 22:30:30 InnoDB: Initializing buffer pool, size = 128.0M<br />
130131 22:30:30 InnoDB: Completed initialization of buffer pool<br />
130131 22:30:30  InnoDB: Operating system error number 5 in a file operation.<br />
InnoDB: The error means mysqld does not have the access rights to<br />
InnoDB: the directory. It may also be you have created a subdirectory<br />
InnoDB: of the same name as a data file.<br />
InnoDB: File name .\ibdata1<br />
InnoDB: File operation call: 'open'.<br />
InnoDB: Cannot continue operation.<br />
<br />
C:\Windows\system32&gt;&quot;c:\program files\mysql\bin\mysql.exe&quot;<br />
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061)<br />
<br />
I researched the error message on the web but could not work out whether there is something to perform before successfully launching mysql. Any advice would be appreciated.<br />
<br />
Thank you,<br />
<br />
Ead]]></description>
            <dc:creator>Dai Nishikawa</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Thu, 31 Jan 2013 13:46:08 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,577766,577766#msg-577766</guid>
            <title>How to get old Mysql version binaries ( zip archives ) for Linux . (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,577766,577766#msg-577766</link>
            <description><![CDATA[ Hi,<br />
<br />
I am looking for mysql-5.5.20 GA Linux binaries in order to install it on my Linux system. Can someone please help me out from where I can get the binary distribution of old Mysql packages. I don't want to use rpm or source distribution.<br />
<br />
Regards,<br />
Sandeep Thakur]]></description>
            <dc:creator>sandeep thakur</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Tue, 05 Feb 2013 16:26:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,577647,577647#msg-577647</guid>
            <title>reducing MySQL footprint (Disk space) (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,577647,577647#msg-577647</link>
            <description><![CDATA[ Hi Everyone,<br />
<br />
I am working on a project whereby the system has limited disk space.<br />
I am trying to reduce the physical on disk space of MySQL and have removed unneeded files, (documentation, debug, test, etc.) and found that I can compile the source and further reduce the size.<br />
<br />
I have looked at the &quot;MySQL Source-Configuration Options&quot; page found here: <a href="http://dev.mysql.com/doc/refman/5.1/en/source-configuration-options.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/source-configuration-options.html</a><br />
Can someone tell me about their experience, steps they have taken to reduce the footprint of MySQL on disk.  I am not too concerned about in memory usage at this time as I will address that at a later time.<br />
<br />
Thanks,<br />
Keith]]></description>
            <dc:creator>keith sutton</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Mon, 21 Jan 2013 15:40:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,577379,577379#msg-577379</guid>
            <title>WiX Installer Package with Instance Configuration Wizard (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,577379,577379#msg-577379</link>
            <description><![CDATA[ Hello,<br />
<br />
I have built the community-server version 5.5.29 from source with Visual Studio MSI projekt. The msi package installs all needed folders, but does not start the instance configuration wizard.<br />
Is this wizard not included with the sources, or have I done an error in the build settings?<br />
<br />
Thanks a lot for your help.]]></description>
            <dc:creator>Elmar Teitge</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Tue, 15 Jan 2013 15:56:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,577336,577336#msg-577336</guid>
            <title>Where to get MYSQL ODBC 5.2w driver (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,577336,577336#msg-577336</link>
            <description><![CDATA[ Where can I download the MySQL ODBC 5.2w driver?  I have a datasource in MS-Windows 7 64-bit computer that uses it but apparently the driver is not installed.  When I try to remove the dsn I get the error message that it can not find the driver.  I've done several google searches and can find anywhere to download the driver.]]></description>
            <dc:creator>Melvin Stober</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Wed, 16 Jan 2013 22:09:26 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,577017,577017#msg-577017</guid>
            <title>Building ODBC connector on Windows : &quot;Apparently odbc headers could not be found.&quot; (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,577017,577017#msg-577017</link>
            <description><![CDATA[ Hi,<br />
<br />
Attempting to build 64bits ODBC connector on Windows (debug version).<br />
<br />
Cmake execution is raising this message :<br />
&quot;Apparently odbc headers could not be found. 2nd and 3rd parameters assumed to be (*)SQLULEN by default&quot;<br />
<br />
Full output :<br />
&quot;-- Configuring to build Unicode driver<br />
-- MySQL Include dir: C:/Program Files/MySQL/MySQL Server 5.5/include  library dir: C:/Program Files/MySQL/MySQL Server .5/lib/debug<br />
-- MySQL client libraries: mysqlclient;ws2_32<br />
-- Checking if SQLColAttribute last arg is compatible with SQLLEN* - FALSE<br />
-- Checking if SQLColAttribute last arg is compatible with SQLPOINTER - FALSE<br />
-- Checking if SQLParamOptions() 2nd and 3rd arg is compatible with SQLULEN - FALSE<br />
-- Checking if SQLParamOptions() 2nd and 3rd arg is compatible with SQLUINTEGER - FALSE<br />
-- Apparently odbc headers could not be found. 2nd and 3rd parameters assumed to be (*)SQLULEN by default<br />
-- Enabling threads support<br />
-- MySQL client lib(version 50529) requires Secure32.lib - TRUE<br />
-- Configuring done<br />
-- Generating done<br />
-- Build files have been written to:&quot;<br />
<br />
Command line is :  <br />
cmake -G &quot;Visual Studio 9 2008 Win64&quot; -DCMAKE_BUILD_TYPE=Debug<br />
<br />
Build finally succeeds, so should I ignore ? How do I feed Cmake the Windows SDK include / lib folders location ?<br />
<br />
Thanks.<br />
<br />
Guillaume]]></description>
            <dc:creator>Guillaume F</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Tue, 08 Jan 2013 10:41:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,576353,576353#msg-576353</guid>
            <title>UDF question (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,576353,576353#msg-576353</link>
            <description><![CDATA[ I like to create UDF in MySQL to make some functions run faster. I understand that they can be written in C or C++. Out web page goes between MysQL and MSSQL database depending on the customer.<br />
<br />
Problem is that I don't know C or C++, instead I can do VB (or C#) .NET. Is it possible to create the code in VB, compile the binary and load it up as a UDF in MySQL?<br />
<br />
Didn't find examples, which is a bit of a sign...]]></description>
            <dc:creator>Pieter Huiberts</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Thu, 20 Dec 2012 14:15:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,575671,575671#msg-575671</guid>
            <title>abort cmake of Mysql 5.6.8 (2 replies)</title>
            <link>http://forums.mysql.com/read.php?117,575671,575671#msg-575671</link>
            <description><![CDATA[ can i Modify the “OPTION(WITH_INNODB_MEMCACHED &quot;&quot; OFF)” to  ”OPTION(WITH_INNODB_MEMCACHED &quot;Enable InnoDB Memcache&quot; ON)“ in the CMakeLists.txt. Because i want to using innodb+memcache 。Anybody can help me ？]]></description>
            <dc:creator>mickey vle</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 21 Dec 2012 10:52:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,575127,575127#msg-575127</guid>
            <title>CAn we edit Mysql login screen (4 replies)</title>
            <link>http://forums.mysql.com/read.php?117,575127,575127#msg-575127</link>
            <description><![CDATA[ HI Everyone,<br />
    I need your help. Can we edit the mysql login screen page.( linux)<br />
**************************************************************<br />
Welcome to the MySQL monitor.  Commands end with ; or \g.<br />
Your MySQL connection id is 2<br />
Server version: 5.1.66 Source distribution<br />
<br />
Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.<br />
<br />
Oracle is a registered trademark of Oracle Corporation and/or its<br />
affiliates. Other names may be trademarks of their respective<br />
owners.<br />
<br />
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.<br />
<br />
********************************************************************<br />
<br />
 PLeas help me in this reg]]></description>
            <dc:creator>ADITYA PULIKANTI</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Sun, 16 Dec 2012 14:25:00 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,574805,574805#msg-574805</guid>
            <title>When replacing storage engine, how is mysql_declare_plugin read? (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,574805,574805#msg-574805</link>
            <description><![CDATA[ I'm building mysql on Windows under cygwin (I'm taking over the code for someone else). We have a custom storage engine I have the source code for. It uses the<br />
<br />
mysql_declare_plugin<br />
<br />
call to declare our storage engine. I'm statically linking this code into mysqld.exe but it isn't finding our storage engine. How are the storage engines registered? I assume that there is a struct somewhere I'm not populating correctly. Thanks.]]></description>
            <dc:creator>Scott Simpson</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Wed, 28 Nov 2012 01:51:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,574116,574116#msg-574116</guid>
            <title>Add new file to a project, via cmake (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,574116,574116#msg-574116</link>
            <description><![CDATA[ Hello,<br />
<br />
I'm using mysql as GPL project, and I must add a few functions and export them, using Visual Studio 2010. I must do that inside libmysqld project. I must add a new file, that must compile using c++ compiler, and also add the exported functions to the .def file. I can do that at once in Visual Studio. Now, the problem is that I will have to make the source code available to others. That won't be a problem. The problem is that I would rather add the code to the new file, and modify cmake scripts in order to add that file to the project, and compile it with C++. I found out on how to set a file to be compiled with c++, but how do I add a new file to libmysqld project?<br />
I tried inside libmysqld\CMakeLists.txt, I added myfile.cpp inside the SET(SQL_EMBEDDED_SOURCES ...) and I copied the file inside libmysqld\ folder also. Still, after running cmake . -G &quot;Visual Studio 10&quot;, I can't find my file in the project. The same must happen to a .def file that contains the function names that I export from the new libmysqld.dll.<br />
Anybody could tell me how to add a file to libmysqld project, using cmake scripts?<br />
I would appreciate it very much!<br />
<br />
Thank you,<br />
V.]]></description>
            <dc:creator>F. Vlad</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Sun, 25 Nov 2012 02:32:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,572853,572853#msg-572853</guid>
            <title>issues with configuring cmake options and OpenSSL (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,572853,572853#msg-572853</link>
            <description><![CDATA[ Any ideas on how to pass the MYSQL_CHECK_SSL tests?<br />
<br />
I've tried setting variables for OPENSSL_ROOT_DIR, OPENSSL_LIBRARIES and OPENSSL_INCLUDE_DIR, but still no joy ...<br />
<br />
solaris-build# cmake -DCMAKE_C_FLAGS=-m64 -DCMAKE_CXX_FLAGS=-m64 -DWITH_SSL=system .<br />
-- MySQL 5.5.27-ndb-7.2.8<br />
-- Packaging as: mysql-cluster-7.2.8-solaris10-x86_64<br />
CMake Error at cmake/ssl.cmake:83 (MESSAGE):<br />
  Cannot find appropriate system libraries for SSL.  Use WITH_SSL=bundled to<br />
  enable SSL support<br />
Call Stack (most recent call first):<br />
  CMakeLists.txt:266 (MYSQL_CHECK_SSL)<br />
<br />
<br />
What am I missing here?]]></description>
            <dc:creator>Jim Rice</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 02 Nov 2012 19:29:53 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,572615,572615#msg-572615</guid>
            <title>Cross compile woes (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,572615,572615#msg-572615</link>
            <description><![CDATA[ I'm trying to cross compile 5.5.28 to ARM. I've followed the various articles on the net and cmake runs fine. However when I run make, I notice:<br />
<br />
[  7%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/np/vis.c.o<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/vis.c: In function `isnvis':<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/vis.c:311: warning: implicit declaration of function `_DIAGASSERT'<br />
[  7%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/np/unvis.c.o<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/unvis.c: In function `unvis':<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/unvis.c:220: warning: implicit declaration of function `_DIAGASSERT'<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/unvis.c:449: warning: implicit declaration of function `__arraycount'<br />
[  7%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/np/strlcpy.c.o<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/strlcpy.c: In function `strlcpy':<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/strlcpy.c:60: warning: implicit declaration of function `_DIAGASSERT'<br />
[  7%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/np/strlcat.c.o<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/strlcat.c: In function `strlcat':<br />
/home/keith.mcrae/src/mysql-5.5.28-Linux-arm/cmd-line-utils/libedit/np/strlcat.c:63: warning: implicit declaration of function `_DIAGASSERT'<br />
<br />
Everything else builds ok, but then:<br />
<br />
Linking CXX executable mysql<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x600): In function `isnvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x60c): In function `isnvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x7d0): In function `istrsnvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x7dc): In function `istrsnvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x7e8): In function `istrsnvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(vis.c.o)(.text+0x998): more undefined references to `_DIAGASSERT' follow<br />
../cmd-line-utils/libedit/libedit.a(el.c.o)(.text+0x868): In function `el_source':<br />
: undefined reference to `libedit_fgetln'<br />
../cmd-line-utils/libedit/libedit.a(historyn.c.o)(.text+0xb04): In function `history_load':<br />
: undefined reference to `libedit_fgetln'<br />
../cmd-line-utils/libedit/libedit.a(historyn.c.o)(.text+0xbf8): In function `history_load':<br />
: undefined reference to `libedit_fgetln'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x1c): In function `unvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x28): In function `unvis':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x678): In function `unvis':<br />
: undefined reference to `__arraycount'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x690): In function `unvis':<br />
: undefined reference to `__arraycount'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x760): In function `strnunvisx':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x76c): In function `strnunvisx':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(unvis.c.o)(.text+0x7ec): In function `strnunvisx':<br />
: undefined reference to `_DIAGASSERT'<br />
../cmd-line-utils/libedit/libedit.a(history.c.o)(.text+0xb08): In function `history_load':<br />
: undefined reference to `libedit_fgetln'<br />
../cmd-line-utils/libedit/libedit.a(history.c.o)(.text+0xc08): In function `history_load':<br />
: undefined reference to `libedit_fgetln'<br />
collect2: ld returned 1 exit status<br />
make[2]: *** [client/mysql] Error 1<br />
make[1]: *** [client/CMakeFiles/mysql.dir/all] Error 2<br />
make: *** [all] Error 2<br />
<br />
I found _DIAGASSERT in cmd-line-utils/libedit/sys.h as:<br />
#ifndef _DIAGASSERT<br />
#define _DIAGASSERT(x)<br />
<br />
My theory is that GCC (version 3.3.2 for ARM) is including the sys.h from /usr/local/arm-linux/include (which doesn't define _DIAGASSERT) rather than the one from cmd-line-utils/libedit/ ?<br />
If this is the case, how do I tell cmake to use the one from libedit rather than /usr/local/arm-linux please?<br />
<br />
As I read it, _DIAGASSERT is an empty function, so as a 'last resort' I could just comment out the calls in the affected .c files. Any thoughts on this?<br />
<br />
Thanks in advance<br />
Keith]]></description>
            <dc:creator>Keith McRae</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Wed, 31 Oct 2012 16:45:29 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,568170,568170#msg-568170</guid>
            <title>Mysql Enterprise Edition 1-4 Socket Server (1 reply)</title>
            <link>http://forums.mysql.com/read.php?117,568170,568170#msg-568170</link>
            <description><![CDATA[ Hi Folks,<br />
<br />
When I check for price tags for Mysql, I see a clause called &quot;1-4 socket server&quot; or &quot;5+ Socket Server&quot;.. what does it means? Socket in generic term means Inter Communication Protocol. And for Mysql a socket unix file helps to communicate Mysql server and Mysql client within local server. And that exists only one as far as I know for one mysql server instance. Please correct me if my understanding is wrong. Kindly shed some light what is meant by 4, 5+ sockets as I see cost increases as socket numbers rises and advantages of it. <br />
<br />
Thanks!!]]></description>
            <dc:creator>Mannoj Kumar</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Wed, 12 Sep 2012 12:00:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?117,565273,565273#msg-565273</guid>
            <title>Compiling a driver for Qt (no replies)</title>
            <link>http://forums.mysql.com/read.php?117,565273,565273#msg-565273</link>
            <description><![CDATA[ Hi,<br />
<br />
I came here from Qt Center and Qt Project forums because there is nobody who gave me reasonable answer so far.<br />
<br />
My question is if there is anybody here who develops applications using QtSDK? I recently wanted to connect my brand new application made in the framework Qt to MySql server but I found that a file/driver called QMYSQL is missing. The documentations says that I need to compile this module by myself.<br />
<br />
In their website, I found that I would need mysql libraries. Those libraries are used by a C++ compiler. They are supposed to be installed along with main program if I am to choose custom installation with them. The documentation on this webiste:<br />
<a href="http://doc.qt.nokia.com/4.7-snapshot/sql-driver.html#qmysql"  rel="nofollow">http://doc.qt.nokia.com/4.7-snapshot/sql-driver.html#qmysql</a><br />
in section regarding windows states that I can find the libraries in the folder &lt;path to mysql&gt;\lib\opt. However when I inspect the mysql folder in my machine, there is not such folder. I installed any possible file from setup. Was this folder &quot;lib\opt&quot; there in previous versions of mysql?<br />
<br />
I though it could be changed so I tried to specify the folder &lt;path to mysql&gt;\lib instead and the compilation began. However, after a while, make found a missing file mysql.lib. There is nowhere I can see this file!!! Can someone help with this issue please?<br />
<br />
The procedure is that, essentially, to make this module, I need to run the command:<br />
qmake &quot;INCLUDEPATH+=include&quot; &quot;LIBS+=libmysql.lib&quot; mysql.pro<br />
<br />
that produces a Makefile. include and libmysql.lib are the folder and the file  copied from the mysql folder. Then I can run make. When make is executed, after a while the error appears that there is no file mysql.lib. PLease if you want to see logs from the compilation, they are here:<br />
<a href="http://www.qtcentre.org/threads/50581-Huge-problems-while-installing-QMYSQL-driver?p=227313&amp;highlight=#post227313"  rel="nofollow">http://www.qtcentre.org/threads/50581-Huge-problems-while-installing-QMYSQL-driver?p=227313&amp;highlight=#post227313</a><br />
quite long. In Qt, nobody can help, I have hope perhaps someone here can help.<br />
<br />
Regards<br />
<br />
PS. I m sorry. Probably the English is not very good and I did not expressed things I should have. I hope you can understand the problem.]]></description>
            <dc:creator>Zenn Celdor</dc:creator>
            <category>Source, Builds, Binaries</category>
            <pubDate>Fri, 17 Aug 2012 00:41:19 +0000</pubDate>
        </item>
    </channel>
</rss>
