maybe the fact that mariadb packages built correctly made me blind enough 
to forget about any other package  that might depend on mysql and not mariadb
libraries, and curiously enough p5-DBD-mysql was one of them, which I modified
it to suport mariadb


i was excited to use mariadb on my OpenBSD machines.
i'll clean'em up and i'll  switch back to mysql-5.1 packages.

i have a some
remaining bits, though left in the dark namely, concerning that cryptic
message from cvs :

"Revert back to using MySQL 5.1 for the time being.
MariaDB 5.5 introduces
a new libmysqlclient non-blocking API which utilizes
co-routines. The X86
specific GCC ASM co-routine support hid the fact that
there was an issue.
The only fallback code so far is POSIX user contexts which
OpenBSD does not
support."

Please if someone can shed more light upon this
comment, because it seems that it has impact on linux also
and based on this
comment, which seems to me very important, I want to know if it is safe to run
mariadb server
on linux also, as I do currently on an Ubuntu 13.04 linux
x86_64 .

Thank you all , for your comments,

Bogdan
________________________________
 From: Stuart Henderson <s...@spacehopper.org>
To: Bogdan Andu <bo...@yahoo.com>; Bogdan Andu <bo...@yahoo.com>;
"misc@openbsd.org" <misc@openbsd.org> 
Sent: Monday, July 1, 2013 10:01 AM
Subject: Re: MariaDB and OpenBSD
 

You are trying to use a -current ports
tree on 5.3 which is not supported and you can have various problems as a
result of this.

Also mariadb is not currently enabled in the ports tree. It
is setup to use mysql not mariadb so you're going to have to modify the port
for anything you're installing which uses mysql.


Bogdan Andu
<bo...@yahoo.com> wrote:

>on that machine I have imported mariadb in 
>/usr/ports/databases/mariadb, via cvs, which compiled ok.
>
>The problem was
with p5-DBD-mysql needed by mariadb-server-5.5.31p0,
>which refuses to install
without it, and for that reason I had to
>generate a p5-DBD-mysql for mariadb,
using the Makefile rev. 1.36 for
>that package.
>
>I took the following steps:
>1. checkout mariadb from cvs repository into
> /usr/ports/databases/mariadb
>2. compiled and generated the packages  mariadb-server-5.5.31p0 and
>mariadb-client-5.5.31p0;
>3. removed mysql* packages (client and server)
because of conflicts
>4. when tried to install newlly generated 
mariadb-server-5.5.31p0 it
>required
> p5-DBD-mysql, but p5-DBD-mysql depends
on mysql-* stuff;
>5. I removed p5-DBD-mysql;
>6. I update the Makefile with
rev. 1.36 in
>/usr/ports/databases/p5-DBD-mysql/Makefile to make it mariadb
>compatible
>7. I did sudo make install for p5-DBD-mysql
>8. sudo pkg_add
mariadb-server-5.5.31p0
>9. sudo pkg_add mariadb-client-5.5.31p0
>
>
>both
client and server are working, but programmaticaly I encountered
>that error
which seems to be solved, as Stefan Sperling suggested, via
>LD_PRELOAD env,
var.
>
>what I am doing wrong?
>
>
>
>________________________________
> From:
Stuart Henderson <s...@spacehopper.org>
>To: misc@openbsd.org 
>Sent: Saturday,
June 29, 2013 1:19 AM
>Subject: Re: MariaDB and OpenBSD
> 
>
>On 2013-06-28,
Bogdan Andu <bo...@yahoo.com> wrote:
>> Hello,
>>
>> I have installed
mariadb-server-5.5.31p0 and mariadb-client-5.5.31p0
>> on an OpenBSD 5.3 amd64
machine.
>
>http://www.openbsd.org/faq/faq15.html#NoFun

Reply via email to