[Maria-developers] Two 10.0-related things.
Hi, Sergei. I'd like to share my recently obtained knowledge :) 1. Mac OS X and sockets. As you know there on Labrador machine that mysql-test-run.pl failed if not run with --tmpdir=/tmp. The problem apparently is that the /Users directory has the access restrictions that /tmp doesn't. I still don't know what exactly was that, but it helps if we revoke all the ACLs with 'chmod -R -N /Users/mariadb'. 2. The 10.0 fails building on my machine, with linking errors in the extra/yassl/, about missing 'operator new[]' and similar. I fixed it locally with that patch: === modified file 'extra/yassl/CMakeLists.txt' --- extra/yassl/CMakeLists.txt 2014-02-26 14:28:07 +0000 +++ extra/yassl/CMakeLists.txt 2014-03-25 07:45:46 +0000 @@ -33,9 +33,10 @@ SET(YASSL_SOURCES src/buffer.cpp src/ce ADD_CONVENIENCE_LIBRARY(yassl ${YASSL_SOURCES}) RESTRICT_SYMBOL_EXPORTS(yassl) +TARGET_LINK_LIBRARIES(stdc++) + INSTALL_DEBUG_SYMBOLS(yassl) Best regards. HF
Hi, Alexey! On Mar 25, Alexey Botchkov wrote:
Hi, Sergei.
I'd like to share my recently obtained knowledge :)
1. Mac OS X and sockets. As you know there on Labrador machine that mysql-test-run.pl failed if not run with --tmpdir=/tmp. The problem apparently is that the /Users directory has the access restrictions that /tmp doesn't. I still don't know what exactly was that, but it helps if we revoke all the ACLs with 'chmod -R -N /Users/mariadb'.
I don't understand. Do you mean, you did that chmod and it helped? Or that it needs to be done? Or you did it but it needs to be repeated on a constant basis? The only acls that I see (find . -acl|xargs ls -le) are from spotlight, so I suppose they will reappear eventually, and the permanent solution would be to disable spotlight. At least for /Users/mariadb Or, let's see if this issue will happen again - perhaps there were other acls and, once removed, they won't reappear. Still, spotlight serves no useful purpose on labrador, only slows it down and takes the disk space. Can certainly be disabled, acls or not.
2. The 10.0 fails building on my machine, with linking errors in the extra/yassl/, about missing 'operator new[]' and similar. I fixed it locally with that patch: === modified file 'extra/yassl/CMakeLists.txt' --- extra/yassl/CMakeLists.txt 2014-02-26 14:28:07 +0000 +++ extra/yassl/CMakeLists.txt 2014-03-25 07:45:46 +0000 @@ -33,9 +33,10 @@ SET(YASSL_SOURCES src/buffer.cpp src/ce ADD_CONVENIENCE_LIBRARY(yassl ${YASSL_SOURCES}) RESTRICT_SYMBOL_EXPORTS(yassl)
+TARGET_LINK_LIBRARIES(stdc++)
Weird, I've never seen it before. Why could that be? Regards, Sergei
participants (2)
-
Alexey Botchkov
-
Sergei Golubchik