[QtonPi] Bakeqtpi for osx updated

Michael Taubert info at arachnodroid.de
Thu Oct 18 16:15:55 CEST 2012


Thanks for this advice, but still no luck.

I've updated to Mountain Lion to prevent compatibility problems. But it still fails with undefined references to mysql.

Which MySQL packages do you have installed? Maybe I've got the wrong package installed?

Actually, I've installed the official MySQL disk image and also with 'brew'.

Any ideas left? I've got a working environment on my linux box built with the same script, but I would like to use my mac.

Thanks in advance.
- Michael

Am 12.10.2012 um 17:13 schrieb Pablo Rogina <pablojr at gmail.com>:

> Symlink under ~/opt/rasp-pi-rootfs/usr/local/ to the rescue?
> 
> On Fri, Oct 12, 2012 at 12:05 PM, Michael Taubert <info at arachnodroid.de> wrote:
>> Hi!
>> 
>> Though I've got mysql installed, I still got undefined references to mysql.
>> 
>> According to the manpage, gcc's --sysroot option cause gcc to search for
>> these headers and libs inside the rasp-pi-rootfs/, doesn't it? But there is
>> no mysql in ~/opt/rasp-pi-rootfs/usr/local/.
>> 
>> There would be no chance to get /usr/local/mysql/... to be recognized even.
>> 
>> Any ideas?
>> 
>> - Michael
>> 
>> Am 11.10.2012 um 15:03 schrieb Laszlo Papp:
>> 
>> On Thu, Oct 11, 2012 at 2:00 PM, Michael Taubert <info at arachnodroid.de>
>> wrote:
>>> 
>>> Hi!
>>> 
>>> I've got undefined references to mysql when compiling QtBase.
>> 
>> 
>> From Thiago Macieira:
>> 
>> "please do not capitalise qtbase: it's the name of the Git repository, not
>> the name of a module or product."
>> 
>> 
>> "Make failed for QTBase" as stated by bakeqtpi.bash. ;)
>> 
>> 
>> 
>>> 
>>> qsql_mysql.cpp:(.text+0x3530): undefined reference to `mysql_init'
>>> 
>>> Anybody confirm that I just need to install mysql with 'brew mysql'?
>> 
>> 
>> You have to have the development files installed and recognized for sure.
>> 
>> Laszlo
>> 
>> 
>> 
>> _______________________________________________
>> QtonPi mailing list
>> QtonPi at qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/qtonpi
>> 
> _______________________________________________
> QtonPi mailing list
> QtonPi at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtonpi



More information about the QtonPi mailing list