当前位置:   article > 正文

安装libtoolize ubuntu入门之十二

安装libtoolize ubuntu入门之十二

安装xenomai3.1上报如下错误

  1. rlk@ubuntu:xenomai-3.1$ ./scripts/
  2. bootstrap prepare-kernel.sh wrap-link.sh
  3. rlk@ubuntu:xenomai-3.1$ ./scripts/bootstrap
  4. Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
  5. autoreconf: failed to run libtoolize: No such file or directory
  6. autoreconf: libtoolize is needed because this package uses Libtool

解决方法

  1. rlk@ubuntu:xenomai-3.1$ sudo apt-get install libtoolize
  2. [sudo] password for rlk:
  3. Reading package lists... Done
  4. Building dependency tree
  5. Reading state information... Done
  6. E: Unable to locate package libtoolize
  7. rlk@ubuntu:xenomai-3.1$ sudo apt-get install aptitude
  8. Reading package lists... Done
  9. Building dependency tree
  10. Reading state information... Done
  11. The following additional packages will be installed:
  12. aptitude-common libcwidget3v5
  13. Suggested packages:
  14. aptitude-doc-en | aptitude-doc debtags tasksel libcwidget-dev
  15. The following NEW packages will be installed:
  16. aptitude aptitude-common libcwidget3v5
  17. 0 upgraded, 3 newly installed, 0 to remove and 722 not upgraded.
  18. Need to get 2,569 kB of archives.
  19. After this operation, 10.9 MB of additional disk space will be used.
  20. Do you want to continue? [Y/n] y
  21. Get:1 http://mirrors.cn99.com/ubuntu bionic/main amd64 aptitude-common all 0.8.10-6ubuntu1 [1,014 kB]
  22. Get:2 http://mirrors.cn99.com/ubuntu bionic/main amd64 libcwidget3v5 amd64 0.5.17-7 [286 kB]
  23. Get:3 http://mirrors.cn99.com/ubuntu bionic/main amd64 aptitude amd64 0.8.10-6ubuntu1 [1,269 kB]
  24. Fetched 2,569 kB in 2s (1,144 kB/s)
  25. Selecting previously unselected package aptitude-common.
  26. (Reading database ... 266136 files and directories currently installed.)
  27. Preparing to unpack .../aptitude-common_0.8.10-6ubuntu1_all.deb ...
  28. Unpacking aptitude-common (0.8.10-6ubuntu1) ...
  29. Selecting previously unselected package libcwidget3v5:amd64.
  30. Preparing to unpack .../libcwidget3v5_0.5.17-7_amd64.deb ...
  31. Unpacking libcwidget3v5:amd64 (0.5.17-7) ...
  32. Selecting previously unselected package aptitude.
  33. Preparing to unpack .../aptitude_0.8.10-6ubuntu1_amd64.deb ...
  34. Unpacking aptitude (0.8.10-6ubuntu1) ...
  35. Processing triggers for menu (2.1.47ubuntu2.1) ...
  36. Setting up aptitude-common (0.8.10-6ubuntu1) ...
  37. Processing triggers for libc-bin (2.27-3ubuntu1) ...
  38. Processing triggers for man-db (2.8.3-2) ...
  39. Setting up libcwidget3v5:amd64 (0.5.17-7) ...
  40. Setting up aptitude (0.8.10-6ubuntu1) ...
  41. update-alternatives: using /usr/bin/aptitude-curses to provide /usr/bin/aptitude (aptitude) in auto mode
  42. Processing triggers for libc-bin (2.27-3ubuntu1) ...
  43. Processing triggers for menu (2.1.47ubuntu2.1) ...
  44. rlk@ubuntu:xenomai-3.1$ sudo aptitude install libtool
  45. The following NEW packages will be installed:
  46. libltdl-dev{a} libtool
  47. 0 packages upgraded, 2 newly installed, 0 to remove and 722 not upgraded.
  48. Need to get 356 kB of archives. After unpacking 2,201 kB will be used.
  49. Do you want to continue? [Y/n/?] y
  50. Get: 1 http://mirrors.cn99.com/ubuntu bionic/main amd64 libltdl-dev amd64 2.4.6-2 [162 kB]
  51. Get: 2 http://mirrors.cn99.com/ubuntu bionic/main amd64 libtool all 2.4.6-2 [194 kB]
  52. Fetched 356 kB in 2s (196 kB/s)
  53. Selecting previously unselected package libltdl-dev:amd64.
  54. (Reading database ... 266269 files and directories currently installed.)
  55. Preparing to unpack .../libltdl-dev_2.4.6-2_amd64.deb ...
  56. Unpacking libltdl-dev:amd64 (2.4.6-2) ...
  57. Selecting previously unselected package libtool.
  58. Preparing to unpack .../libtool_2.4.6-2_all.deb ...
  59. Unpacking libtool (2.4.6-2) ...
  60. Setting up libtool (2.4.6-2) ...
  61. Setting up libltdl-dev:amd64 (2.4.6-2) ...
  62. Processing triggers for man-db (2.8.3-2) ...
  63. rlk@ubuntu:xenomai-3.1$

重新执行OK

  1. rlk@ubuntu:xenomai-3.1$ ./scripts/bootstrap
  2. libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'.
  3. libtoolize: copying file 'config/ltmain.sh'
  4. libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'.
  5. libtoolize: copying file 'config/libtool.m4'
  6. libtoolize: copying file 'config/ltoptions.m4'
  7. libtoolize: copying file 'config/ltsugar.m4'
  8. libtoolize: copying file 'config/ltversion.m4'
  9. libtoolize: copying file 'config/lt~obsolete.m4'
  10. configure.ac:80: installing 'config/compile'
  11. configure.ac:105: installing 'config/missing'
  12. demo/alchemy/Makefile.am: installing 'config/depcomp'

参考
Can't exec "libtoolize" on Ubuntu
https://blog.csdn.net/liuhuahan/article/details/38235607

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/2023面试高手/article/detail/198291
推荐阅读
相关标签
  

闽ICP备14008679号