Hi, It does not work. - Can it be a problem with the versions of the latest packages I added to the system? Detail of some of the installed packages: — Package: libpam0g-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 307 Maintainer: Steve Langasek <vorlon@debian.org> Architecture: i386 Multi-Arch: same Source: pam Version: 1.1.8-3.1+deb8u2 Provides: libpam-dev Depends: libpam0g (= 1.1.8-3.1+deb8u2), libc6-dev | libc-dev — Package: liblz4-dev Status: install ok installed Priority: extra Section: libdevel Installed-Size: 60 Maintainer: Nobuhiro Iwamatsu <iwamatsu@debian.org> Architecture: i386 Multi-Arch: same Source: lz4 Version: 0.0~r122-2 Depends: liblz4-1 (= 0.0~r122-2) — Package: liblzma-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 554 Maintainer: Jonathan Nieder <jrnieder@gmail.com> Architecture: i386 Multi-Arch: same Source: xz-utils (5.1.1alpha+20120614-2) Version: 5.1.1alpha+20120614-2+b3 Depends: liblzma5 (= 5.1.1alpha+20120614-2+b3) — Package: liblzo2-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 751 Maintainer: Peter Eisentraut <petere@debian.org> Architecture: i386 Multi-Arch: same Source: lzo2 Version: 2.08-1.2 Replaces: liblzo-dev Depends: liblzo2-2 (= 2.08-1.2), libc6-dev — Package: lzma-dev Status: install ok installed Priority: optional Section: utils Installed-Size: 186 Maintainer: Mohammed Adnène Trojette <adn+deb@diwi.org> Architecture: all Source: lzma Version: 9.22-2 Depends: zlib1g-dev — Package: libzmq-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 801 Maintainer: Laszlo Boszormenyi (GCS) <gcs@debian.org> Architecture: i386 Multi-Arch: same Source: zeromq Version: 2.2.0+dfsg-6 Depends: libzmq1 (= 2.2.0+dfsg-6) — Package: libcrack2-dev Status: install ok installed Priority: extra Section: libdevel Installed-Size: 61 Maintainer: Jan Dittberner <jandd@debian.org> Architecture: i386 Source: cracklib2 Version: 2.9.2-1 Depends: libcrack2 (= 2.9.2-1) — Package: libstemmer-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 455 Maintainer: Stefano Rivera <stefanor@debian.org> Architecture: i386 Multi-Arch: same Source: snowball Version: 0+svn585-1 Depends: libstemmer0d (= 0+svn585-1) — Package: libbsd-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 397 Maintainer: Guillem Jover <guillem@debian.org> Architecture: i386 Multi-Arch: same Source: libbsd Version: 0.7.0-2 Replaces: libfreebsd-dev (<< 0.0-8) Depends: libbsd0 (= 0.7.0-2) — Package: valgrind Status: install ok installed Priority: optional Section: devel Installed-Size: 50051 Maintainer: Alessandro Ghedini <ghedo@debian.org> Architecture: i386 Version: 1:3.10.0-4 Replaces: valgrind-dev Depends: libc6 (>= 2.16), libc6-dbg Recommends: valgrind-dbg, gdb Suggests: valgrind-mpi, kcachegrind, alleyoop, valkyrie (>> 1.3.0) Breaks: valgrind-dev Conffiles: /etc/bash_completion.d/valgrind d6c26aad24178788893042949d053999 — Package: kytea Status: install ok installed Priority: optional Section: misc Installed-Size: 24 Maintainer: Koichi Akabe <vbkaisetsu@gmail.com> Architecture: i386 Version: 0.4.6+dfsg-2 Depends: libc6 (>= 2.1.3), libgcc1 (>= 1:4.1.1), libkytea0, libstdc++6 (>= 4.1.1) — Package: libkytea-dev Status: install ok installed Priority: optional Section: libdevel Installed-Size: 85 Maintainer: Koichi Akabe <vbkaisetsu@gmail.com> Architecture: i386 Source: kytea Version: 0.4.6+dfsg-2 Depends: libkytea0 (= 0.4.6+dfsg-2) — # grep HAVE_LZ4 CMakeCache.txt HAVE_LZ4_COMPRESS_DEFAULT:INTERNAL= HAVE_LZ4_H:INTERNAL=1 HAVE_LZ4_SHARED_LIB:INTERNAL=1 — # grep NOTFOUND CMakeCache.txt AWS_CPP_SDK_CORE:FILEPATH=AWS_CPP_SDK_CORE-NOTFOUND AWS_CPP_SDK_INCLUDE_DIR:PATH=AWS_CPP_SDK_INCLUDE_DIR-NOTFOUND AWS_CPP_SDK_KMS:FILEPATH=AWS_CPP_SDK_KMS-NOTFOUND Boost_DIR:PATH=Boost_DIR-NOTFOUND Boost_INCLUDE_DIR:PATH=Boost_INCLUDE_DIR-NOTFOUND CHECKMODULE:FILEPATH=CHECKMODULE-NOTFOUND CURSES_EXTRA_LIBRARY:FILEPATH=CURSES_EXTRA_LIBRARY-NOTFOUND DTRACE:FILEPATH=DTRACE-NOTFOUND GRN_MECAB_CONFIG_ABSOLUTE_PATH:FILEPATH=GRN_MECAB_CONFIG_ABSOLUTE_PATH-NOTFOUND GTAR_EXECUTABLE:FILEPATH=GTAR_EXECUTABLE-NOTFOUND ICONV_LIBRARIES:FILEPATH=ICONV_LIBRARIES-NOTFOUND JAVA_AWT_INCLUDE_PATH:PATH=JAVA_AWT_INCLUDE_PATH-NOTFOUND JAVA_AWT_LIBRARY:FILEPATH=JAVA_AWT_LIBRARY-NOTFOUND JAVA_INCLUDE_PATH:PATH=JAVA_INCLUDE_PATH-NOTFOUND JAVA_INCLUDE_PATH2:PATH=JAVA_INCLUDE_PATH2-NOTFOUND JAVA_JVM_LIBRARY:FILEPATH=JAVA_JVM_LIBRARY-NOTFOUND Java_JAR_EXECUTABLE:FILEPATH=Java_JAR_EXECUTABLE-NOTFOUND Java_JAVAC_EXECUTABLE:FILEPATH=Java_JAVAC_EXECUTABLE-NOTFOUND Java_JAVADOC_EXECUTABLE:FILEPATH=Java_JAVADOC_EXECUTABLE-NOTFOUND Java_JAVAH_EXECUTABLE:FILEPATH=Java_JAVAH_EXECUTABLE-NOTFOUND Java_JAVA_EXECUTABLE:FILEPATH=Java_JAVA_EXECUTABLE-NOTFOUND LIBEDIT_INCLUDE_DIR:PATH=LIBEDIT_INCLUDE_DIR-NOTFOUND LIBEDIT_LIBRARY:FILEPATH=LIBEDIT_LIBRARY-NOTFOUND LIBXML2_XMLLINT_EXECUTABLE:FILEPATH=LIBXML2_XMLLINT_EXECUTABLE-NOTFOUND ODBC_INCLUDE_DIR:PATH=ODBC_INCLUDE_DIR-NOTFOUND ODBC_LIBRARY:FILEPATH=ODBC_LIBRARY-NOTFOUND RUBY:FILEPATH=RUBY-NOTFOUND SEMODULE_PACKAGE:FILEPATH=SEMODULE_PACKAGE-NOTFOUND Thrift_INCLUDE_DIRS:PATH=Thrift_INCLUDE_DIRS-NOTFOUND Thrift_LIBS:FILEPATH=Thrift_LIBS-NOTFOUND _Boost_INCLUDE_DIR_LAST:INTERNAL=Boost_INCLUDE_DIR-NOTFOUND Multiple errors, in files and functions that do not exist. Attached log file. Guillermo Céspedes Full Stack Developer
El 23 jun. 2017, a las 12:07, Guillermo Céspedes Tabárez <dev.dertin@gmail.com> escribió:
Hi,
I need to install the following packages:
liblz4-dev liblzma-dev libcrack2-dev
I try again.
2017-06-22 19:26 GMT-03:00 Guillermo Cespedes <dev.dertin@gmail.com>: Hi,
It seems that they are missing these files or can not find them.
#include <lz4.h> #include <lzma.h> #include <crack.h>
Guillermo Céspedes Full Stack Developer
El 22 jun. 2017, a las 19:04, Guillermo Cespedes <dev.dertin@gmail.com> escribió:
Hi,
I share information about the error when compiling MariaDB 10.2.6 on Debian 8.8 i686
The problem occurs when adding any of these packages: uuid-dev libc6-dev libc-dbg libpam0g-dev liblzo2-dev lzma-dev libzmq-dev libmsgpack-dev libstemmer-dev libbsd-dev valgrind kytea libkytea-dev
I have not had time to try it but I suspect it's because of the package: liblzo2-dev
Similar bug: https://mariadb.atlassian.net/browse/MDEV-9000
- Linux framework 3.16.0-4-686-pae #1 SMP Debian 3.16.43-2+deb8u1 (2017-06-18) i686 GNU/Linux
# apt-get -y install build-essential libpcre3 libpcre3-dev zlib1g-dev golang libssl-dev \ cmake-data cmake libtiffxx5 libexpat1-dev libpng12-dev libfreetype6-dev \ pkg-config libfontconfig1-dev libjpeg62-turbo-dev libjpeg-dev xorg-sgml-doctools \ x11proto-core-dev libxau-dev libxdmcp-dev needrestart g++ make binutils autoconf automake autotools-dev libtool \ zlib1g-dev libcunit1-dev libxml2-dev libev-dev libevent-dev libjansson-dev \ libjemalloc-dev cython python3-dev python-setuptools libaio-dev libncurses5-dev \ m4 libunistring-dev libgmp-dev trousers libidn2-0 libunbound-dev \ bison libbz2-dev libmcrypt-dev libicu-dev libltdl-dev libjpeg-dev libpng-dev libpspell-dev libreadline-dev \ uuid-dev libc6-dev libc-dbg libpam0g-dev liblzo2-dev lzma-dev libzmq-dev libmsgpack-dev libstemmer-dev \ libbsd-dev valgrind kytea libkytea-dev cron
# cmake . -DBUILD_CONFIG=mysql_release -DWITH_ZLIB=system -DWITH_SSL=system -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_spanish_ci
# make
# make install
Error:
[ 25%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc: In function ‘byte* fil_compress_page(fil_space_t*, byte*, byte*, ulint, ulint, ulint, bool, ulint*, byte*)’: /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc:176:54: error: invalid conversion from ‘ulint* {aka unsigned int*}’ to ‘lzo_uint* {aka long unsigned int*}’ [-fpermissive] buf, len, out_buf+header_len, &write_size, lzo_mem); ^ In file included from /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc:65:0: /usr/include/lzo/lzo1x.h:105:1: note: initializing argument 4 of ‘int lzo1x_1_15_compress(const unsigned char*, lzo_uint, unsigned char*, lzo_uint*, void*)’ lzo1x_1_15_compress ( const lzo_bytep src, lzo_uint src_len, ^ /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc: In function ‘void fil_decompress_page(byte*, byte*, ulong, ulint*, bool)’: /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc:520:52: error: invalid conversion from ‘ulint* {aka unsigned int*}’ to ‘lzo_uint* {aka long unsigned int*}’ [-fpermissive] actual_size,(unsigned char *)in_buf, &olen, NULL); ^ In file included from /var/tmp/mariadb_build/mariadb_src/storage/innobase/fil/fil0pagecompress.cc:65:0: /usr/include/lzo/lzo1x.h:56:1: note: initializing argument 4 of ‘int lzo1x_decompress(const unsigned char*, lzo_uint, unsigned char*, lzo_uint*, void*)’ lzo1x_decompress ( const lzo_bytep src, lzo_uint src_len, ^ storage/innobase/CMakeFiles/innobase.dir/build.make:721: recipe for target 'storage/innobase/CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o' failed make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/fil/fil0pagecompress.cc.o] Error 1 CMakeFiles/Makefile2:7019: recipe for target 'storage/innobase/CMakeFiles/innobase.dir/all' failed make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2 Makefile:147: recipe for target 'all' failed make: *** [all] Error 2
regards.