Hi, I have 2 questions really which either could give me a solution. So normally I am trying to compile and install mysql 57.37 from the source tar, but eventually I run into this compile issue "error: no matching function for call to 'my_atomic_store64'" when Building CXX object sql/CMakeFiles/sql.dir/locks/shared_spin_lock.cc.o.
Now the reason I put this is the ports section is, if I start compiling from ports I don't face this issue? I had extracted the following cmake options from the port and run them the same, still same issue as above :-
I was wondering if anyone knows what specifically it is in the ports version that resolves this compile issue? I'm running FreeBSD 11.4.
My second question, if I was to install from ports - how do I control the final installation path? I have always had my mysql installation in /usr/local/mysql as the base for everything, how can I configure that in the port so it installs over the same location?
Now the reason I put this is the ports section is, if I start compiling from ports I don't face this issue? I had extracted the following cmake options from the port and run them the same, still same issue as above :-
Code:
-DINSTALL_LAYOUT=FREEBSD \
-DWITH_BOOST="/usr/local/src/mysql-5.7.37/boost" \
-DWITH_EDITLINE=system \
-DWITH_LIBEVENT=system \
-DWITH_LZ4=system \
-DWITH_ZLIB=system \
-DWITH_PROTOBUF=system \
-DWITH_CURL=system \
-DINSTALL_MYSQLTESTDIR=0 \
-DWITH_DEBUG=0 \
-DWITH_SSL=system \
-DWITH_AUTHENTICATION_LDAP=0 \
-DWITH_EMBEDDED_SERVER="ON"
I was wondering if anyone knows what specifically it is in the ports version that resolves this compile issue? I'm running FreeBSD 11.4.
My second question, if I was to install from ports - how do I control the final installation path? I have always had my mysql installation in /usr/local/mysql as the base for everything, how can I configure that in the port so it installs over the same location?