[prev in list] [next in list] [prev in thread] [next in thread] 

List:       amarok
Subject:    Re: build problem on Windows
From:       "Ian Monroe" <ian () monroe ! nu>
Date:       2008-10-08 21:22:15
Message-ID: f680fec50810081422tdfb77cw54c33c6dcb4da737 () mail ! gmail ! com
[Download RAW message or body]

On Wed, Oct 8, 2008 at 2:25 PM, Andre Canrinus <andre@canrinus.nl> wrote:
> In an attempt to get amarok build on Windows the build process stops with
> an error message that MySQL Embedded can not be found.
>
> I installed MySLQ Embedded (Version 4.1, being the latest to my knowledge).>

The 5.1 rc has it as well. 4.1 might work OK, but its not supported.

> This didn't solve my problem.
> After digging further, I discovered the build process is unable to compile the
> following snippet (from
> \svn\trunk\extragear\multimedia\amarok\cmake\modules\FindMySQLAmarok.cmake).
>
> check_cxx_source_compiles( "#include <mysql.h>\nint main() { int i =
> MYSQL_OPT_USE_EMBEDDED_CONNECTION; }" HAVE_MYSQL_OPT_EMBEDDED_CONNECTION )
>
> Manually compiling this source reveiled an error message. After changing the
> snippet above in:
>
> check_cxx_source_compiles( "#ifdef _WIN32\n
> #       define __LCC__\n
> #endif\n

I have 0 clue what #defin __LCC__ does, so I can't really speak on the
correctness of this code. :D

> #include <mysql.h>\nint main() { int i = MYSQL_OPT_USE_EMBEDDED_CONNECTION; }"
> HAVE_MYSQL_OPT_EMBEDDED_CONNECTION )
>
> MySQL Embedded is detected successfully.
>
> Can you give me a clue whether the change above is correct ??
>
> thanks in advance.
>
> andre
_______________________________________________
Amarok mailing list
Amarok@kde.org
https://mail.kde.org/mailman/listinfo/amarok
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic