Re: DBD::mysql against mariadb client

Paul DuBois <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.general
Message-ID <[email protected]>
Hi Patrick,

On Oct 18, 2013, at 6:07 AM, Patrick Galbraith wrote:

> Hi Paul!
> 
> Long time no see -- I miss the good old days! 
> 
> Your concern we discussed just the other day and in fact yes, we would certainly make it simple for users to specify a system-installed client. The idea being we want more options for the user to be able to choose how they wan t to build the perl driver.

That's good. Thanks very much.

> One of the biggest source of bugs or issues as a maintainer of the past almost 10 years is people having problems compiling, compiler flags that the binaries were built with that the host OS's compiler doesn't have, etc. This is one more means to be able to get the driver to build when that is the case.
> 
> The good work of Georg Richter made it possible for this to compile, as well as Michael working with him -- thank you!
> 
> I spoke with Georg and my next step is to get an auto tools setup for the Maria client.
> 
> Now, for building, it worked just fine, though I did notice that the Maria client must be compiled with -Wunused_value  which exposed some things in the C code for DBD::mysql that may be work cleaning (or not), particularly hv_delete() calls and the D_imp_xxh() macro.
> 
> For me, on Ubuntu raring, the cmake line was:
> 
> cmake -G "Unix Makefiles'
> 
> And the client library seemed to default to looking for the socket file in /tmp, so I had to use
> 
> perl Makefile.PL --testuser=xxx --testpassword=xxx --testsocket=/var/run/mysqld/mysqld.sock --mysql_config=/usr/local/bin/mariadb_config 
> 
> Regards,
> 
> Patrick
> 
> 
> On Oct 15, 2013, at 2:32 AM, Michiel Beijen <[email protected]> wrote:
> 
>> perl Makefile.PL --mysql_config=/
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.