I have just notice, in the spec

        -DWITH_READLINE=ON

Which means, according to INSTALL-SOURCE :

     * -DWITH_READLINE=bool
       Whether to use the readline library bundled with the
       distribution.

Does this use of a bundled library is wanted ?

To use the system library, option should be

        -DWITH_READLINE=OFF \
        -DWITH_LIBEDIT=OFF \

With this :
ldd /usr/bin/client/mysql
        ...
        libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003530a00000)
        libncurses.so.5 => /lib64/libncurses.so.5 (0x0000003531600000)
        libtinfo.so.5 => /lib64/libtinfo.so.5 (0x0000003530e00000)
        ...

But, it's seems the readline.cmake is still buggy ...
(history feature not detected, readline/libedit choice...)

With readline-devel-6.1-2.fc14.x86_64:
-- Performing Test readline_HAVE_HIST_ENTRY
-- Performing Test readline_HAVE_HIST_ENTRY - Failed
-- Performing Test readline_USE_LIBEDIT_INTERFACE
-- Performing Test readline_USE_LIBEDIT_INTERFACE - Failed
-- Performing Test readline_USE_NEW_READLINE_INTERFACE
-- Performing Test readline_USE_NEW_READLINE_INTERFACE - Success

With only libedit-devel-3.0-2.20090923cvs.fc14.x86_64:
CMake Error at cmake/readline.cmake:223 (MESSAGE):
  Cannot find system readline or libedit libraries.Use WITH_READLINE or
  WITH_LIBEDIT
Call Stack (most recent call first):
  CMakeLists.txt:256 (MYSQL_CHECK_READLINE)


Best regards,
Remi.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to