mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] MySQL on phyCORE-AM335x
@ 2014-05-22 15:35 Koldo iribarren
  2014-05-23  7:36 ` Juergen Borleis
  0 siblings, 1 reply; 4+ messages in thread
From: Koldo iribarren @ 2014-05-22 15:35 UTC (permalink / raw)
  To: oselas.phytec, ptxdist

[-- Attachment #1: Type: text/plain, Size: 981 bytes --]

Hi everyone,

I’m trying to update MySQL in my phyCORE-AM335x, as the version installed by
default (v5.1.14-beta) with PTXdist dates from 2006, and I need a newer one (the
latest currently, v5.6.17), but I have some troubles with its cross-compilation.

I made my own version of the rule files (see appended files) to include MySQL in
the kernel's compilation and images, but it doesn’t work.

I made them from scratch using the tools available from ptxdist in order to
enable them to work with cmake and then I complemented them with some info I
found on a couple of webpages (I’ve put both links below) so that the
compilation worked.

However, when it comes to the part of the compilation, it stops with an error
(see the appended too), although the first part, the preparation, works.

Can you give me some help?

Links:
http://www.cmake.org/Wiki/CMake_Cross_Compiling
http://dp.nonoo.hu/cross-compiling-mysql/

Thanks and regards,
Koldo Iribarren

[-- Attachment #2: toolchain-arm-cortexa8-linux.cmake.txt --]
[-- Type: text/plain, Size: 1164 bytes --]

SET(CMAKE_SYSTEM_NAME Linux)
SET(CMAKE_SYSTEM_PROCESSOR arm)
SET(CMAKE_SYSTEM_VERSION 1)
SET(CMAKE_CROSSCOMPILING 1)

SET(CMAKE_C_COMPILER /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc)
SET(CMAKE_CXX_COMPILER /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-g++)

SET(CMAKE_FIND_ROOT_PATH /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/)
# These are set to never because we will add library dependency paths
# using CMAKE_LIBRARY_PATH below.
SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM BOTH)
SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY BOTH)
SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)

#SET(CMAKE_LIBRARY_PATH ${CMAKE_LIBRARY_PATH} /home/koldo/Desktop/mysql/libncurses-compiled/usr/lib)

SET(CMAKE_INSTALL_PREFIX /usr)

# MySQL specific settings
SET(STACK_DIRECTION 1)
SET(WITH_UNIT_TESTS OFF)
SET(WITH_EMBEDDED_SERVER TRUE)
SET(DEFAULT_CHARSET utf8)
SET(DEFAULT_COLLATION utf8_general_ci)

[-- Attachment #3: ErrorCompilation.txt --]
[-- Type: text/plain, Size: 25512 bytes --]

---------------------
target: mysql.compile
---------------------

make[1]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -H/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 -B/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build --check-build-system CMakeFiles/Makefile.cmake 0
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_start /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[2]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f CMakeFiles/INFO_BIN.dir/build.make CMakeFiles/INFO_BIN.dir/depend
make -f CMakeFiles/INFO_SRC.dir/build.make CMakeFiles/INFO_SRC.dir/depend
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles/INFO_BIN.dir/DependInfo.cmake --color=
make -f CMakeFiles/abi_check.dir/build.make CMakeFiles/abi_check.dir/depend
make -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/depend
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles/abi_check.dir/DependInfo.cmake --color=
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles/INFO_SRC.dir/DependInfo.cmake --color=
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/zlib /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/zlib /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/zlib/CMakeFiles/zlib.dir/DependInfo.cmake --color=
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f CMakeFiles/INFO_BIN.dir/build.make CMakeFiles/INFO_BIN.dir/build
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f CMakeFiles/abi_check.dir/build.make CMakeFiles/abi_check.dir/build
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -P /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmake/info_bin.cmake
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -DCOMPILER=/opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc -DSOURCE_DIR=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 -DBINARY_DIR=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build "-DABI_HEADERS=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/plugin_audit.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/plugin_ftparser.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/psi/psi_abi_v0.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/psi/psi_abi_v1.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/psi/psi_abi_v2.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/client_plugin.h;/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include/mysql/plugin_auth.h" -P /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmake/do_abi_check.cmake
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f CMakeFiles/INFO_SRC.dir/build.make CMakeFiles/INFO_SRC.dir/build
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f zlib/CMakeFiles/zlib.dir/build.make zlib/CMakeFiles/zlib.dir/build
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -P /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmake/info_src.cmake
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
make[3]: Nothing to be done for `zlib/CMakeFiles/zlib.dir/build'.
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles  100
[  0%] [  1%] Built target INFO_SRC
make -f extra/yassl/CMakeFiles/yassl.dir/build.make extra/yassl/CMakeFiles/yassl.dir/depend
Built target zlib
make -f extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/build.make extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/depend
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/extra/yassl /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra/yassl /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra/yassl/CMakeFiles/yassl.dir/DependInfo.cmake --color=
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/extra/yassl/taocrypt /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra/yassl/taocrypt /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/DependInfo.cmake --color=
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
[  1%] Built target INFO_BIN
make -f cmd-line-utils/libedit/CMakeFiles/edit.dir/build.make cmd-line-utils/libedit/CMakeFiles/edit.dir/depend
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f extra/yassl/CMakeFiles/yassl.dir/build.make extra/yassl/CMakeFiles/yassl.dir/build
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/build.make extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/build
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit/CMakeFiles/edit.dir/DependInfo.cmake --color=
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[3]: Nothing to be done for `extra/yassl/CMakeFiles/yassl.dir/build'.
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles  99
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[3]: Nothing to be done for `extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/build'.
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles  96 97
[  2%] [  4%] Built target yassl
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f cmd-line-utils/libedit/CMakeFiles/edit.dir/build.make cmd-line-utils/libedit/CMakeFiles/edit.dir/build
Built target taocrypt
make -f extra/CMakeFiles/GenError.dir/build.make extra/CMakeFiles/GenError.dir/depend
make -f sql/CMakeFiles/gen_lex_hash.dir/build.make sql/CMakeFiles/gen_lex_hash.dir/depend
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/extra /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra/CMakeFiles/GenError.dir/DependInfo.cmake --color=
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build && /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_depends "Unix Makefiles" /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17 /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/sql /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/sql /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/sql/CMakeFiles/gen_lex_hash.dir/DependInfo.cmake --color=
[  4%] make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f extra/CMakeFiles/GenError.dir/build.make extra/CMakeFiles/GenError.dir/build
make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit && /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc  -DHAVE_CONFIG_H -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit    -fPIC -o CMakeFiles/edit.dir/terminal.c.o   -c /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit/terminal.c
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make -f sql/CMakeFiles/gen_lex_hash.dir/build.make sql/CMakeFiles/gen_lex_hash.dir/build
[  4%] make[3]: Entering directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[3]: Nothing to be done for `sql/CMakeFiles/gen_lex_hash.dir/build'.
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
Generating ../include/mysqld_error.h, ../sql/share/english/errmsg.sys
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/extra && comp_err --charset=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/sql/share/charsets --out-dir=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/sql/share/ --header_file=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include/mysqld_error.h --name_file=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include/mysqld_ername.h --state_file=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include/sql_state.h --in_file=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/sql/share/errmsg-utf8.txt
[  4%] /bin/sh: 1: comp_err: not found
make[3]: *** [include/mysqld_error.h] Error 127
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[2]: *** [extra/CMakeFiles/GenError.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
Built target gen_lex_hash
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
[  4%] [  4%] Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/filecomplete.c.o
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit && /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc  -DHAVE_CONFIG_H -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit    -fPIC -o CMakeFiles/edit.dir/filecomplete.c.o   -c /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit/filecomplete.c
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/help.c.o
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit && /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc  -DHAVE_CONFIG_H -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit    -fPIC -o CMakeFiles/edit.dir/help.c.o   -c /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit/help.c
[  4%] Built target abi_check
/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/sysroot-host/bin/cmake -E cmake_progress_report /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/CMakeFiles 
[  4%] /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit/terminal.c:60:20: fatal error: curses.h: No such file or directory
compilation terminated.
Building C object cmd-line-utils/libedit/CMakeFiles/edit.dir/fcns.c.o
cd /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit && /opt/OSELAS.Toolchain-2012.12.1/arm-cortexa8-linux-gnueabihf/gcc-4.7.3-glibc-2.16.0-binutils-2.22-kernel-3.6-sanitized/bin/arm-cortexa8-linux-gnueabihf-gcc  -DHAVE_CONFIG_H -Wall -O3 -g -fabi-version=2 -fno-omit-frame-pointer -fno-strict-aliasing -DDBUG_OFF -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/cmd-line-utils/libedit -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17/include -I/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit    -fPIC -o CMakeFiles/edit.dir/fcns.c.o   -c /opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build/cmd-line-utils/libedit/fcns.c
make[3]: *** [cmd-line-utils/libedit/CMakeFiles/edit.dir/terminal.c.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[2]: *** [cmd-line-utils/libedit/CMakeFiles/edit.dir/all] Error 2
make[2]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/build-target/mysql-5.6.17-build'
make: *** [/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/platform-phyCORE-AM335x/state/mysql.compile] Error 2


[-- Attachment #4: mysql.in.txt --]
[-- Type: text/plain, Size: 525 bytes --]

## SECTION=system_libraries

config MYSQL
	bool
	prompt "mysql"
	select HOST_CMAKE
	help
	  MySQL database server binaries
          
          Updated version 5.6.17

	  MySQL is a fast, stable and true multi-user, multi-threaded
	  SQL database server. SQL (Structured Query Language) is the
	  most popular database query language in the world. The main
	  goals of MySQL are speed, robustness and ease of use.

if MYSQL

config MYSQL_TRUNK
	bool
	prompt "use trunk"
	help
	  Build trunk instead of latest release.

endif

[-- Attachment #5: mysql.make.txt --]
[-- Type: text/plain, Size: 2421 bytes --]

# -*-makefile-*-
#
# Copyright (C) 2014 by Koldo Iribarren Azcarate <kibarren@greenwave.es>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_MYSQL) += mysql

#
# Paths and names
#
#ifdef PTXCONF_MYSQL_TRUNK
#MYSQL_VERSION	:= trunk
#else
MYSQL_VERSION	:= 5.6.17
MYSQL_MD5	:= 82114fa7c13fa3ca897b34666577d9f4
#endif
MYSQL_SUFFIX	:= tar.gz
MYSQL		:= mysql-$(MYSQL_VERSION)
MYSQL_URL	:= http://dev.mysql.com/get/Downloads/MySQL-5.6/$(MYSQL).$(MYSQL_SUFFIX)
MYSQL_SOURCE	:= $(SRCDIR)/$(MYSQL).$(MYSQL_SUFFIX)
MYSQL_DIR	:= $(BUILDDIR)/$(MYSQL)
MYSQL_LICENSE	:= GPLv2

# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------

#$(MYSQL_SOURCE):
#	@$(call targetinfo)
#	@$(call get, MYSQL)

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#MYSQL_CONF_ENV	:= $(CROSS_ENV)

#
# cmake
#
MYSQL_CONF_TOOL	:= cmake
#MYSQL_CONF_OPT	:= $(CROSS_CMAKE_USR)
MYSQL_CONF_OPT	:= -DCMAKE_TOOLCHAIN_FILE=/opt/PHYTEC_BSPs/phyCORE-AM335x-PD13.1.2/toolchain-arm-cortexa8-linux.cmake

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/mysql.targetinstall:
	@$(call targetinfo)

	@$(call install_init, mysql)
	@$(call install_fixup, mysql, PRIORITY, optional)
	@$(call install_fixup, mysql, SECTION, base)
	@$(call install_fixup, mysql, AUTHOR, "Koldo Iribarren Azcarate <kibarren@greenwave.es>”)
	@$(call install_fixup, mysql, DESCRIPTION, missing)

#	#
#	# example code:; copy all binaries
#	#

	@for i in $(shell cd $(MYSQL_PKGDIR) && find bin sbin usr/bin usr/sbin -type f); do \
		$(call install_copy, mysql, 0, 0, 0755, -, /$$i); \
	done

#	#
#	# FIXME: add all necessary things here
#	#

	@$(call install_finish, mysql)

	@$(call touch)

# ----------------------------------------------------------------------------
# Clean
# ----------------------------------------------------------------------------

#$(STATEDIR)/mysql.clean:
#	@$(call targetinfo)
#	@$(call clean_pkg, MYSQL)

# vim: syntax=make

[-- Attachment #6: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] MySQL on phyCORE-AM335x
  2014-05-22 15:35 [ptxdist] MySQL on phyCORE-AM335x Koldo iribarren
@ 2014-05-23  7:36 ` Juergen Borleis
  2014-05-26  8:14   ` Koldo iribarren
  0 siblings, 1 reply; 4+ messages in thread
From: Juergen Borleis @ 2014-05-23  7:36 UTC (permalink / raw)
  To: ptxdist, Koldo iribarren

Hi Koldo,

On Thursday 22 May 2014 17:35:02 Koldo iribarren wrote:
> [...]
> Can you give me some help?

Just a shot into the dark: parallel compiling issue?
Try "MYSQL_MAKE_PAR  := NO".

Regards,
Jürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] MySQL on phyCORE-AM335x
  2014-05-23  7:36 ` Juergen Borleis
@ 2014-05-26  8:14   ` Koldo iribarren
  2014-05-26  8:54     ` Juergen Borleis
  0 siblings, 1 reply; 4+ messages in thread
From: Koldo iribarren @ 2014-05-26  8:14 UTC (permalink / raw)
  To: ptxdist

Hi Jürgen,

> El 23 de mayo de 2014 a las 9:36 Juergen Borleis <jbe@pengutronix.de>
> escribió:
>
> Just a shot into the dark: parallel compiling issue?
> Try "MYSQL_MAKE_PAR := NO".

First of all, thanks for answering.

I have some doubts about what you say:

I suppose I have to put that instruction in the prepare section, right?
However, as I am using cmake to compile this version of MySQL, none of the other
options are like "MYSQL_MAKE_*" but "MYSQL_CONF_*" instead, so, would the
instruction for avoiding parallel compiling be "MYSQL_CONF_PAR := NO" or is
there another option?
Anyhow, I have tried it in both ways and it hasn't worked, the same error as
before.

On the other hand, I have realised that there is another version of MySQL 5.1
recent enough (5.1.73, Dec. 2013) to fit my needs, so I'd rather install it
instead of the 5.6 which is too troublesome.
Nonetheless, it doesn't work either. It gives me a configure error which says
that it the compiler was unable to run the test program while cross compiling...
Any idea bout that?

Thanks again and regards,
Koldo

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] MySQL on phyCORE-AM335x
  2014-05-26  8:14   ` Koldo iribarren
@ 2014-05-26  8:54     ` Juergen Borleis
  0 siblings, 0 replies; 4+ messages in thread
From: Juergen Borleis @ 2014-05-26  8:54 UTC (permalink / raw)
  To: ptxdist, Koldo iribarren

On Monday 26 May 2014 10:14:01 Koldo iribarren wrote:
> > El 23 de mayo de 2014 a las 9:36 Juergen Borleis <jbe@pengutronix.de>
> > escribió:
> >
> > Just a shot into the dark: parallel compiling issue?
> > Try "MYSQL_MAKE_PAR := NO".
>
> First of all, thanks for answering.
>
> I have some doubts about what you say:
>
> I suppose I have to put that instruction in the prepare section, right?
> However, as I am using cmake to compile this version of MySQL, none of the
> other options are like "MYSQL_MAKE_*" but "MYSQL_CONF_*" instead, so, would
> the instruction for avoiding parallel compiling be "MYSQL_CONF_PAR := NO"
> or is there another option?

That means "a shot into the dark"... :)

I just did a look into the current PTXdist. We moved mysql to our staging 
section a few weeks ago, which means it's broken and will be removed in a few 
month if noone will fix it.

> On the other hand, I have realised that there is another version of MySQL
> 5.1 recent enough (5.1.73, Dec. 2013) to fit my needs, so I'd rather
> install it instead of the 5.6 which is too troublesome.
> Nonetheless, it doesn't work either. It gives me a configure error which
> says that it the compiler was unable to run the test program while cross
> compiling... Any idea bout that?

Only: its build system must be fixed. Sorry.

Regards,
Jürgen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-05-26  8:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-22 15:35 [ptxdist] MySQL on phyCORE-AM335x Koldo iribarren
2014-05-23  7:36 ` Juergen Borleis
2014-05-26  8:14   ` Koldo iribarren
2014-05-26  8:54     ` Juergen Borleis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox