MySQL Lists are EOL. Please join:

List:Packagers« Previous MessageNext Message »
From:Davi Arnaut Date:November 9 2010 6:28pm
Subject:Re: Removal of the autotools-based build system
View as plain text  
Hi Robin,

Thanks for your feedback.

On 11/9/10 4:20 PM, Robin H. Johnson wrote:
> On Fri, Nov 05, 2010 at 10:39:07AM -0200, Davi Arnaut wrote:
>> - Do you maintain tools/scripts that rely on autotools-specific files?
>  From the Gentoo perspective, all the prime thing we need is a good set of
> mappings from the old --with and --enable options to the new CMake
> declarations. All of the stock cmake support we have ready to go.

For 5.5, we are shipping with a ./configure emulator that translates 
some of the configure arguments to their CMake equivalents. We are also 
hopeful that we can remove this emulator in later versions. In any case, 
we are available to help with the transition.

Nonetheless, certain things will need manual intervention. For example:

> Here's one of the possible complete configure calls for Gentoo:
> ./configure --prefix=/usr --build=x86_64-pc-linux-gnu
> --host=x86_64-pc-linux-gnu --mandir=/usr/share/man
> --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
> --localstatedir=/var/lib --libexecdir=/usr/sbin --sysconfdir=/etc/mysql
> --localstatedir=/var/lib/mysql --sharedstatedir=/usr/share/mysql
> --libdir=/usr/lib64/mysql --includedir=/usr/include/mysql

Those have different names in CMake. We are working on documenting them.

> --with-low-memory --with-client-ldflags=-lstdc++
> --enable-thread-safe-client --with-comment='Gentoo Linux mysql-5.1.51-r1'

We decided to drop non-thread safe client, so the option is not 
necessary anymore.

> --without-docs --without-big-tables --enable-local-infile
> --with-extra-charsets=all --with-mysqld-user=mysql --with-server
> --with-unix-socket-path=/var/run/mysqld/mysqld.sock --without-libwrap
> --enable-shared --enable-static --without-debug --with-charset=utf8
> --with-collation=utf8_general_ci --with-embedded-privilege-control
> --with-embedded-server --with-ssl=/usr --enable-assembler
> --with-geometry --with-readline --with-zlib-dir=/usr/ --without-pstack
> --with-plugindir=/usr/lib64/mysql/plugin --enable-community-features

There is no separation of community features anymore. Always integrated.

I'm CCing Vladislav, he can provide a more detailed analysis.

Regards,

Davi
Thread
Removal of the autotools-based build systemDavi Arnaut5 Nov
  • Re: Removal of the autotools-based build systemAlex Esterkin8 Nov
    • Re: Removal of the autotools-based build systemDavi Arnaut8 Nov
      • Re: Removal of the autotools-based build systemMARK CALLAGHAN8 Nov
      • Re: Removal of the autotools-based build systemAlex Esterkin9 Nov
        • Re: Removal of the autotools-based build systemDavi Arnaut9 Nov
  • Re: Removal of the autotools-based build systemMichal Hrusecky9 Nov
  • Re: Removal of the autotools-based build systemRobin H. Johnson9 Nov
    • Re: Removal of the autotools-based build systemDavi Arnaut9 Nov
      • Re: Removal of the autotools-based build systemRobin H. Johnson9 Nov