国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > 建站經驗 > 正文

Ubuntu常見錯誤問題的解決方法小結

2019-11-02 16:30:59
字體:
來源:轉載
供稿:網友

一、下載 http://www.tcpdump.org/#latest-release,下載libcap-1.8.1.tar.gz, 解壓縮之后

錯誤1: ./configure

checking for getifaddrs... yes checking ifaddrs.h usability... yes checking ifaddrs.h presence... yes checking for ifaddrs.h... yes checking for socklen_t... yes checking for getaddrinfo... yes checking whether to build optimizer debugging code... no checking whether to build parser debugging code... no checking whether we have DAG API headers... no checking whether we have Septel API headers... no checking whether we have Myricom Sniffer API... no checking whether TurboCap is supported... no checking for flex... no checking for lex... no configure: error: Neither flex nor lex was found.

核心錯誤信息為: 

error: Neither flex nor lex was found. 

解決辦法: sudo apt-get install flex bison

Reading package lists... Done Building dependency tree     Reading state information... Done The following package was automatically installed and is no longer required:  linux-image-extra-4.4.0-34-generic Use 'sudo apt autoremove' to remove it. The following additional packages will be installed:  libbison-dev libfl-dev Suggested packages:  bison-doc The following NEW packages will be installed:  bison flex libbison-dev libfl-dev 0 upgraded, 4 newly installed, 0 to remove and 7 not upgraded. Need to get 900 kB of archives. After this operation, 2,692 kB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libfl-dev amd64 2.6.0-11 [12.5 kB] Get:2 http://mirrors.aliyun.com/ubuntu xenial/main amd64 flex amd64 2.6.0-11 [290 kB] Get:3 http://mirrors.aliyun.com/ubuntu xenial/main amd64 libbison-dev amd64 2:3.0.4.dfsg-1 [338 kB] Get:4 http://mirrors.aliyun.com/ubuntu xenial/main amd64 bison amd64 2:3.0.4.dfsg-1 [259 kB] Fetched 900 kB in 1s (518 kB/s) Selecting previously unselected package libfl-dev:amd64. 

然后輸入==>   sudo make install , 進行安裝

錯誤2:

checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables...  checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for pcap_open_live in -lpcap... no error: pcap library not found! 

問題解決:

sudo apt-get install libsqlite3-dev libpcap-dev 

然后重新嘗試新的命令,即可解決上述錯誤

二、中文模式下切換回英文模式?

修改/etc/default/locale文件的語言值。

將LANG zh_CN.UTF-8修改為en_US.UTF-8  , LANGUAGE zh_CN:zh修改為en_US:en

三、英文模式下開機自動啟動IBUS中文輸入法。

英文模式下,ibus不能自動啟動。每次輸入中文都得手動啟動。這個讓人不能接受。google一下,兩種方法。

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 仁怀市| 西峡县| 吉林市| 四子王旗| 太白县| 柏乡县| 樟树市| 昭觉县| 文成县| 荥阳市| 安多县| 汝州市| 昌宁县| 西贡区| 股票| 丘北县| 海口市| 乐清市| 鄱阳县| 阿图什市| 舞钢市| 边坝县| 阳原县| 陇川县| 滦平县| 藁城市| 通化县| 建德市| 乐安县| 武夷山市| 沈丘县| 镇平县| 苍南县| 武山县| 鄂尔多斯市| 鄢陵县| 洛隆县| 宝鸡市| 黔西县| 河池市| 保靖县|