Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 4 Sep 2013 17:53:57 +0400
From: gremlin@...mlin.ru
To: owl-users@...ts.openwall.com
Subject: Re: MySQL w/cmake: anyone tried packaging for Owl?

On 04-Sep-2013 12:18:18 +0200, John Spencer wrote:

 >>>> /home/gremlin/RPM/BUILD/mysql-5.6.13/sql/rpl_gtid_set.cc:
 >>>> In function 'rpl_gno parse_gno(const char**)':
 >>>> /home/gremlin/RPM/BUILD/mysql-5.6.13/sql/rpl_gtid_set.cc:396:25:
 >>>> error: 'LLONG_MAX' was not declared in this scope I didn't
 >>>> investigate that thoroughly yet.

 >>> that looks as if rpl_gtid_set.cc should include limits.h

 >> Obviously, that was the first thing I tried. And, of course,
 >> it didn't help.

 > in my owl install here, the header only defines LLONG_MAX when
 > __USE_ISOC99 is defined. seems that's due to the ancient versions
 > owl uses.  so you either have to add this directly to CFLAGS or
 > use -std=c99 (but then it will probably fail elsewhere unless
 > you add -D_GNU_SOURCE to CFLAGS...)

The final solution is even more simple: s/LLONG_MAX/LONGLONG_MAX/

So, here it is:
ftp://gremlin.people.openwall.com/pub/linux/Owl/SRPMS/mysql-5.6.13-g1.src.rpm
(size: 34809983 sha1: c562581de3f9d7c9360d96fd1260f8bb91009bfc)

More modifications will follow, but for now this package at least can
be tested.


-- 
Alexey V. Vissarionov aka Gremlin from Kremlin <gremlin ПРИ gremlin ТЧК ru>
GPG: 8832FE9FA791F7968AC96E4E909DAC45EF3B1FA8 @ hkp://keys.gnupg.net

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ