<div dir="ltr">Hi<br><div class="gmail_extra"><br><br><div class="gmail_quote">On 1 April 2013 21:13, Guillaume Membré <span dir="ltr"><<a href="mailto:guillaume.ml@gmail.com" target="_blank">guillaume.ml@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks for your update. I tried it and I got the following error :<br>
$ ./<a href="http://osx-packager-qtsdk.pl" target="_blank">osx-packager-qtsdk.pl</a> -gitrev fixes/0.26 -qtsrc 4.8.4 -universal<br>
-verbose -nohead -force -noparallel<br>
[...]<br>
[ 66%] Built target partition<br>
Scanning dependencies of target sql<br>
[ 67%] Building C object sql/CMakeFiles/sql.dir/__/sql-common/client.c.o<br>
/Users/jumper/Workspace/MythTV/build/.osx-packager/src/mysql-5.5.24/sql-common/client.c:1433:1:<br>
error: conflicting types for 'unpack_fields'<br>
unpack_fields(MYSQL_DATA *data,MEM_ROOT *alloc,uint fields,<br>
^<br>
/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include/sql_common.h:76:14:<br>
note: previous declaration is here<br>
MYSQL_FIELD *unpack_fields(MYSQL *mysql, MYSQL_DATA *data,MEM_ROOT *alloc,<br>
^<br>
/Users/jumper/Workspace/MythTV/build/.osx-packager/src/mysql-5.5.24/sql-common/client.c:3820:35:<br>
error: too few arguments to function call, expected 6, have 5<br>
mysql->server_capabilities)))<br>
^<br>
/Users/jumper/Workspace/MythTV/build/.osx-packager/build/include/sql_common.h:76:1:<br>
note: 'unpack_fields' declared here<br>
MYSQL_FIELD *unpack_fields(MYSQL *mysql, MYSQL_DATA *data,MEM_ROOT *alloc,<br>
^<br>
2 errors generated.<br>
make[2]: *** [sql/CMakeFiles/sql.dir/__/sql-common/client.c.o] Error 1<br>
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2<br>
make: *** [all] Error 2<br>
[osx-pkg] Failed system call: " /usr/bin/make all " with error code 2<br>
Died at ./<a href="http://osx-packager-qtsdk.pl" target="_blank">osx-packager-qtsdk.pl</a> line 1389.<br>
./<a href="http://osx-packager-qtsdk.pl" target="_blank">osx-packager-qtsdk.pl</a> -gitrev fixes/0.26 -qtsrc 4.8.4 -universal<br>
-verbose 413,56s user 104,56s system 89% cpu 9:36,42 total<br>
<br>
I solved this problem by upgrading mysql from 5.5.24 to 5.5.30<br></blockquote><div><br></div><div>you're issue was because you tried to build a newer version of mysql when you still had the older (5.1) headers in build/include.<br>
<br></div><div>The build script was never designed for incremental upgrades on the dependencies. It's designed to build from a clean slate.<br><br></div><div>So either manually cleanup the bits that are going to be upgraded; or delete the build script alltogether and clean up the .osx-packager/src folders. You can safely delete all folders but the git one<br>
</div><div> <br></div></div></div></div>