enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #03590
[Bug 1341141] [NEW] Cannot build static mysql server
Public bug reported:
I try to cpmpile mysql-with no shared, but have an error when
configuring:
mkdir -p ~/src/mysql/bld && \
cd ~/src/mysql/bld && \
(make clean; rm ~/src/mysql/bld/CMakeCache.txt; echo 1) && \
cmake .. -DCMAKE_INSTALL_PREFIX=/opt/mysql -DBUILD_CONFIG=mysql_release -DMYSQL_DATADIR=data -DSYSCONFDIR=etc \
-DWITH_LIBWRAP=on -DIGNORE_AIO_CHECK=on \
-DWITH_ZLIB=bundled -DENABLE_GCOV=on -DENABLE_GPROF=yes -DWITH_PIC=on \
-DENABLED_LOCAL_INFILE=on -DMYSQL_UNIX_ADDR=/tmp/mysql.sock -DINSTALL_LAYOUT=STANDALONE \
-DWITH_EDITLINE=bundled -DENABLED_PROFILING=ON -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci \
-DWITH_EMBEDDED_SERVER=on -DWITH_INNOBASE_STORAGE_ENGINE=on -DWITH_ARCHIVE_STORAGE_ENGINE=on \
-DWITH_BLACKHOLE_STORAGE_ENGINE=on -DWITH_PERFSCHEMA_STORAGE_ENGINE=on -DWITH_FEDERATED_STORAGE_ENGINE=on \
-DWITH_PARTITION_STORAGE_ENGINE=on -DWITHOUT_EXAMPLE_STORAGE_ENGINE=on -DWITH_EXTRA_CHARSETS=all \
-DWITH_INNODB_MEMCACHED=on -DWITH_LIBEVENT=bundled -DCPACK_MONOLITHIC_INSTALL=on \
-DWITH_SSL=bundled -DWITH_PIC=on -DCMAKE_BUILD_TYPE=MinSizeRel -DENABLE_DEBUG_SYNC=off \
-DENABLE_MEMCACHED_SASL=on -DENABLE_MEMCACHED_SASL_PWDB=on -DFEATURE_SET=community \
-DCMAKE_SKIP_RPATH=on -DCMAKE_USE_RELATIVE_PATHS=on -DDISABLE_SHARED=on \
-DWITH_MYSQLD_LDFLAGS="-L/opt/cyrus-sasl/lib" \
-DCMAKE_C_FLAGS="-fPIC -fPIE -static-libgcc -static-libstdc++" \
-DCMAKE_CXX_FLAGS="-fPIC -fPIE -I/opt/cyrus-sasl/include"
The error is:
-- LIBEVENT_LIBRARY event
CMake Error at plugin/innodb_memcached/daemon_memcached/CMakeLists.txt:87 (TARGET_LINK_LIBRARIES):
Cannot specify link libraries for target "libmemcached" which is not built
by this project.
Of I specify -DWITH_INNODB_MEMCACHED=off, then configure passes and can
compile the project.
What is the problem?
** Affects: gearman-mysql-udf
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1341141
Title:
Cannot build static mysql server
To manage notifications about this bug go to:
https://bugs.launchpad.net/gearman-mysql-udf/+bug/1341141/+subscriptions
Follow ups
References