Open hlx1996 opened 6 years ago
Hi @hlx1996 , the symbolic link of the mysql.m4 file is broken. You have to delete it and create a new one pointing out to the correct path. First at all, check out whether the target file is in: /usr/local/mysql-5.7.13-osx10.11-x86_64/share/aclocal/ , if so:
cd /usr/local/share/aclocal/
rm mysql.m4
ln -s /usr/local/mysql-5.7.13-osx10.11-x86_64/share/aclocal/mysql.m4 mysql.m4
after that, you should be able to install the gtest dependency without problem.
Cheers, Jorge
Could you please kindly tell me why it happens and how to solve the problem? Mac OS: 10.13 (17A405)
❯ rosdep install --from-paths src --ignore-src --rosdistro kinetic -y --skip-keys "libqt5-core libqt5-gui libqt5-opengl libqt5-opengl-dev libqt5-widgets qt5-qmake qtbase5-dev" executing command [brew install gtest] Updating Homebrew... ==> Installing gtest from ros/deps ==> Downloading https://github.com/google/googletest/archive/release-1.7.0.tar.g Already downloaded: /Users/loli/Library/Caches/Homebrew/gtest-1.7.0.tar.gz ==> Patching patching file include/gtest/gtest.h ==> glibtoolize ==> aclocal Last 15 lines from /Users/loli/Library/Logs/Homebrew/gtest/02.aclocal: 2017-11-02 23:32:24 +0800
aclocal
aclocal: error: aclocal: file '/usr/local/share/aclocal/mysql.m4' does not exist
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/ros/homebrew-deps/issues
These open issues may also help: Gtest URL error https://github.com/ros/homebrew-deps/issues/21 ERROR: the following rosdeps failed to install homebrew: command [brew install gtest] failed