Boost logo

Boost :

Subject: [boost] compiling mysql-5.7.12, cannot use DTRACE
From: Mariano Apilado (miapilado_at_[hidden])
Date: 2016-05-25 15:06:32


Hi,
I get the following error when compiling mysql-5.7.12 on Nexenta 4.0.4 OS ( Formerly known as Open Solaris / Illumos ).

To temporarily bypass this problem, I chose not to use DTRACE with the compiler options. However, it should be fixed to use DTRACE.

# cmake   -DENABLE_DTRACE=0

Thanks and Regards,Mariano

[ 15%] Linking CXX static library libmysys_ssl.a
cd /usr/local/mysql-5.7.12/mysys_ssl && /usr/local/bin/cmake -P CMakeFiles/mysys_ssl.dir/cmake_clean_target.cmake
cd /usr/local/mysql-5.7.12/mysys_ssl/CMakeFiles/mysys_ssl.dir && /usr/local/bin/cmake -DDTRACE=/usr/sbin/dtrace -DOUTFILE=/usr/local/mysql-5.7.12/mysys_ssl/CMakeFiles/mysys_ssl.dir/mysys_ssl_dtrace.o -DDFILE=/usr/local/mysql-5.7.12/include/probes_mysql.d -DDTRACE_FLAGS=-64 -DDIRS=. -DTYPE=STATIC_LIBRARY -P /usr/local/mysql-5.7.12/cmake/dtrace_prelink.cmake
dtrace: failed to link script /usr/local/mysql-5.7.12/include/probes_mysql.d: No probe sites found for declared provider
cd /usr/local/mysql-5.7.12/mysys_ssl && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mysys_ssl.dir/link.txt --verbose=1
/usr/bin/ar qc libmysys_ssl.a  CMakeFiles/mysys_ssl.dir/crypt_genhash_impl.cc.o CMakeFiles/mysys_ssl.dir/mf_tempdir.cc.o CMakeFiles/mysys_ssl.dir/my_default.cc.o CMakeFiles/mysys_ssl.dir/my_getopt.cc.o CMakeFiles/mysys_ssl.dir/my_aes.cc.o CMakeFiles/mysys_ssl.dir/my_sha1.cc.o CMakeFiles/mysys_ssl.dir/my_sha2.cc.o CMakeFiles/mysys_ssl.dir/my_md5.cc.o CMakeFiles/mysys_ssl.dir/my_rnd.cc.o CMakeFiles/mysys_ssl.dir/my_murmur3.cc.o CMakeFiles/mysys_ssl.dir/my_aes_yassl.cc.o
/usr/bin/ranlib libmysys_ssl.a
cd /usr/local/mysql-5.7.12/mysys_ssl && /usr/bin/ar r /usr/local/mysql-5.7.12/mysys_ssl/libmysys_ssl.a /usr/local/mysql-5.7.12/mysys_ssl/CMakeFiles/mysys_ssl.dir/mysys_ssl_dtrace.o
ar: cannot open /usr/local/mysql-5.7.12/mysys_ssl/CMakeFiles/mysys_ssl.dir/mysys_ssl_dtrace.o: No such file or directory
ar: /usr/local/mysql-5.7.12/mysys_ssl/CMakeFiles/mysys_ssl.dir/mysys_ssl_dtrace.o not found
gmake[2]: *** [mysys_ssl/libmysys_ssl.a] Error 1
gmake[2]: *** Deleting file `mysys_ssl/libmysys_ssl.a'
gmake[2]: Leaving directory `/usr/local/mysql-5.7.12'
gmake[1]: *** [mysys_ssl/CMakeFiles/mysys_ssl.dir/all] Error 2
gmake[1]: Leaving directory `/usr/local/mysql-5.7.12’

gmake: *** [all] Error 2


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk