想在manjaro中玩下msp430单片机,当然是安装ccs了,在安装过程中出现了缺失libtinfo.so.5的提示,后来在:
https://archlinux.pkgs.org/rolling/andontie-aur-x86_64/ncurses5-compat-libs-6.2-1-x86_64.pkg.tar.xz.html找到了需要的包和安装的方法,不能下载,只好到
https://aur.andontie.net/index.html,按照页面要求,
1、sudo pacman-key --recv-key B545E9B7CD906FE3
sudo pacman-key --lsign-key B545E9B7CD906FE3
2、修改配置文件:sudo vim /etc/pacman.conf 在最后两行添加:
[andontie-aur]
Server = https://aur.andontie.net/$arch
3、更新仓库
sudo pacman -Syu
4、安装软件包
pacman -Syu ncurses5-compat-libs
https://software-dl.ti.com/ccs/esd/documents/users_guide/ccs_troubleshooting.html?keyMatch=Proxy%25252520information&tisearch=Search-CN-Everything
5、安装软件包
pacman -S gconf
貌似搞定了,不知道,具体如何,等下晚上到实验室验证下吧
9.4.6. “Failed to create the part’s controls” Errors (for CCS Linux)
This error may appear when opening one of the jxbrowser based views (Resource Explorer, Getting Started, App Center, etc). The most common cause of this error is some missing dependencies by the jxbrowser libraries. Try running ldd
on the libaries in [CCS INSTALL DIR]/ccs/eclipse/configuration/.jxbrowser-chromium-lib
to find any missing dependencies that must be resolved.
5、根据ccs的官方文档:cd /home/nication/ti/ccs1020/ccs/eclipse/configuration/.jxbrowser-chromium-lib,对几个库执行ldd命令
ldd libcrypto.so.1.0.0 linux-vdso.so.1 (0x00007ffc3be8d000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f67ac242000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f67ac220000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f67ac057000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f67ac584000) ldd libgcrypt.so.11 linux-vdso.so.1 (0x00007ffd5bf4b000) libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f92c9c3e000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f92c9a75000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f92c9de4000) ldd libudev.so.0 linux-vdso.so.1 (0x00007fff5fb19000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f55cfcde000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f55cfb15000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f55cfd86000) ldd libawt-helper.so ldd: 警告:你没有执行权限 `./libawt-helper.so' linux-vdso.so.1 (0x00007ffd1d1fc000) libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f4c28070000) libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f4c2806a000) librt.so.1 => /usr/lib/librt.so.1 (0x00007f4c2805f000) libjawt.so => not found libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f4c27f1e000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f4c27dea000) libm.so.6 => /usr/lib/libm.so.6 (0x00007f4c27ca2000) libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f4c27c88000) libc.so.6 => /usr/lib/libc.so.6 (0x00007f4c27abf000) /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4c28179000) libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f4c27a95000) libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f4c27a23000) libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f4c27a1e000) libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f4c27a14000)
根据提示是缺失了libjawt.so,但是就是存在的啊
后来在ccs的安装目录:/home/nication/ti/ccs1020/ccs/eclipse/jre/lib/amd64,结果:
ls -l | grep awt -rwxr-xr-x 1 nication nication 37420 1月 8 05:33 libawt_headless.so -rwxr-xr-x 1 nication nication 772804 1月 8 05:33 libawt.so -rwxr-xr-x 1 nication nication 442404 1月 8 05:33 libawt_xawt.so -rwxr-xr-x 1 nication nication 7013 1月 8 05:33 libjawt.so
实际上显示缺失的有3个:
1 .jxbrowser-chromium-lib/browsercore64: 2 linux-vdso.so.1 (0x00007ffe85ff6000) 3 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f4048f14000) 4 libbrowsercore64.so => not found 5 libc.so.6 => /usr/lib/libc.so.6 (0x00007f4048d4b000) 6 /lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f4048f94000) 7 .jxbrowser-chromium-lib/chrome_100_percent.pak: 8 .jxbrowser-chromium-lib/chrome_200_percent.pak: 9 .jxbrowser-chromium-lib/icudtl.dat: 10 .jxbrowser-chromium-lib/libaswtlog.txt: 11 .jxbrowser-chromium-lib/libawt-helper.so: 12 linux-vdso.so.1 (0x00007ffde8d77000) 13 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f155577a000) 14 libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f1555774000) 15 librt.so.1 => /usr/lib/librt.so.1 (0x00007f1555769000) 16 libjawt.so => not found 17 libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f1555628000) 18 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f15554f4000) 19 libm.so.6 => /usr/lib/libm.so.6 (0x00007f15553ac000) 20 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f1555392000) 21 libc.so.6 => /usr/lib/libc.so.6 (0x00007f15551c9000) 22 /usr/lib64/ld-linux-x86-64.so.2 (0x00007f1555883000) 23 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f155519f000) 24 libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f155512d000) 25 libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f1555128000) 26 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f155511e000) 27 .jxbrowser-chromium-lib/libbrowsercore64.so: 28 linux-vdso.so.1 (0x00007ffd9f30d000) 29 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa531884000) 30 libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa53187e000) 31 librt.so.1 => /usr/lib/librt.so.1 (0x00007fa531873000) 32 libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fa53181b000) 33 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fa5316e7000) 34 libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007fa53128b000) 35 libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007fa5311ce000) 36 libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fa5311bd000) 37 libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fa531194000) 38 libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fa531075000) 39 libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fa531050000) 40 libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fa530e94000) 41 libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fa530e40000) 42 libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fa530df5000) 43 libnss3.so => /usr/lib/libnss3.so (0x00007fa530cbd000) 44 libnssutil3.so => /usr/lib/libnssutil3.so (0x00007fa530c8a000) 45 libsmime3.so => /usr/lib/libsmime3.so (0x00007fa530c60000) 46 libnspr4.so => /usr/lib/libnspr4.so (0x00007fa530c1d000) 47 libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fa530bec000) 48 libgconf-2.so.4 => not found 49 libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa530aab000) 50 libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007fa530aa6000) 51 libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fa530a7c000) 52 libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fa530a77000) 53 libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fa530a69000) 54 libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fa530a64000) 55 libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa530a4f000) 56 libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fa530a46000) 57 libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fa530a33000) 58 libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fa530a26000) 59 libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007fa530a1c000) 60 libXss.so.1 => /usr/lib/libXss.so.1 (0x00007fa530a17000) 61 libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fa530a0a000) 62 libcups.so.2 => /usr/lib/libcups.so.2 (0x00007fa53096d000) 63 libasound.so.2 => /usr/lib/libasound.so.2 (0x00007fa53088e000) 64 libm.so.6 => /usr/lib/libm.so.6 (0x00007fa530748000) 65 libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fa5306f1000) 66 libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007fa5306bb000) 67 libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007fa52ff13000) 68 libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007fa52fe14000) 69 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fa52fdfa000) 70 libc.so.6 => /usr/lib/libc.so.6 (0x00007fa52fc31000) 71 /usr/lib64/ld-linux-x86-64.so.2 (0x00007fa5398d3000) 72 libffi.so.7 => /usr/lib/libffi.so.7 (0x00007fa52fc23000) 73 libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fa52fbb1000) 74 libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fa52fbac000) 75 libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fa52fb90000) 76 libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fa52fb8b000) 77 libz.so.1 => /usr/lib/libz.so.1 (0x00007fa52fb6f000) 78 libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007fa52fb38000) 79 libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fa52fa64000) 80 libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007fa52fa54000) 81 libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007fa52fa4f000) 82 libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fa52f9a7000) 83 libmount.so.1 => /usr/lib/libmount.so.1 (0x00007fa52f948000) 84 libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fa52f92e000) 85 libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007fa52f90f000) 86 libthai.so.0 => /usr/lib/libthai.so.0 (0x00007fa52f904000) 87 libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fa52f830000) 88 libplds4.so => /usr/lib/libplds4.so (0x00007fa52f82b000) 89 libplc4.so => /usr/lib/libplc4.so (0x00007fa52f822000) 90 libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa52f81d000) 91 libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa52f815000) 92 libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x00007fa52f7c0000) 93 libavahi-common.so.3 => /usr/lib/libavahi-common.so.3 (0x00007fa52f7b2000) 94 libavahi-client.so.3 => /usr/lib/libavahi-client.so.3 (0x00007fa52f79c000) 95 libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007fa52f599000) 96 libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007fa52f4e3000) 97 libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007fa52f4ac000) 98 libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007fa52f4a0000) 99 libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007fa52f36f000) 100 libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007fa52f355000) 101 libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007fa52f310000) 102 libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fa52f2ff000) 103 libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007fa52f2f6000) 104 libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007fa52f2f1000) 105 libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fa52f2dc000) 106 libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007fa52f28b000) 107 libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007fa52f281000) 108 libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fa52f25c000) 109 libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00007fa52f176000) 110 libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00007fa52f143000) 111 libcom_err.so.2 => /usr/lib/libcom_err.so.2 (0x00007fa52f13d000) 112 libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00007fa52f12e000) 113 libkeyutils.so.1 => /usr/lib/libkeyutils.so.1 (0x00007fa52f127000) 114 libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007fa52eff2000) 115 libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007fa52efd1000) 116 libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007fa52ee4d000) 117 libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007fa52ee37000) 118 libnettle.so.8 => /usr/lib/libnettle.so.8 (0x00007fa52edef000) 119 libhogweed.so.6 => /usr/lib/libhogweed.so.6 (0x00007fa52eda6000) 120 libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007fa52ed06000) 121 liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fa52ecde000) 122 libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007fa52ec01000) 123 liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fa52ebde000) 124 libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007fa52eabd000) 125 libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fa52ea96000) 126 .jxbrowser-chromium-lib/libbrowsercore-common64.so: 127 linux-vdso.so.1 (0x00007ffcf6572000) 128 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fc86358d000) 129 libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fc863587000) 130 librt.so.1 => /usr/lib/librt.so.1 (0x00007fc86357c000) 131 libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fc863448000) 132 libm.so.6 => /usr/lib/libm.so.6 (0x00007fc863302000) 133 libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007fc8632e8000) 134 libc.so.6 => /usr/lib/libc.so.6 (0x00007fc86311d000) 135 /usr/lib64/ld-linux-x86-64.so.2 (0x00007fc86369a000) 136 libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fc8630ab000) 137 .jxbrowser-chromium-lib/libcrypto.so.1.0.0: 138 linux-vdso.so.1 (0x00007fff7f374000) 139 libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f01d099a000) 140 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f01d0978000) 141 libc.so.6 => /usr/lib/libc.so.6 (0x00007f01d07af000) 142 /usr/lib64/ld-linux-x86-64.so.2 (0x00007f01d0cdc000) 143 .jxbrowser-chromium-lib/libgcrypt.so.11: 144 linux-vdso.so.1 (0x00007fff9c3c9000) 145 libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f7faf578000) 146 libc.so.6 => /usr/lib/libc.so.6 (0x00007f7faf3af000) 147 /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7faf71e000) 148 .jxbrowser-chromium-lib/libudev.so.0: 149 linux-vdso.so.1 (0x00007ffef4f89000) 150 libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fbf2db6f000) 151 libc.so.6 => /usr/lib/libc.so.6 (0x00007fbf2d9a6000) 152 /usr/lib64/ld-linux-x86-64.so.2 (0x00007fbf2dc17000) 153 .jxbrowser-chromium-lib/locales: 154 .jxbrowser-chromium-lib/natives_blob.bin: 155 .jxbrowser-chromium-lib/resources.pak: 156 .jxbrowser-chromium-lib/snapshot_blob.bin: 157 .jxbrowser-chromium-lib/swiftshader:
发现第4、16、48行显示都有库缺失 sudo pacman -S gconf